The disk device manager now periodically checks for media changes - all it does
is dump its findings, but it's an (untested) start. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22598 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
// KDiskDevice.h
|
||||
|
||||
/*
|
||||
* Copyright 2003-2007, Ingo Weinhold, [email protected]. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _K_DISK_DEVICE_H
|
||||
#define _K_DISK_DEVICE_H
|
||||
|
||||
@@ -50,6 +52,8 @@ public:
|
||||
bool IsRemovable() const;
|
||||
bool HasMedia() const;
|
||||
|
||||
virtual status_t GetMediaStatus(status_t *mediaStatus);
|
||||
|
||||
status_t SetPath(const char *path);
|
||||
// TODO: Remove this method or make it private. Once initialized the
|
||||
// path must not be changed.
|
||||
@@ -77,7 +81,6 @@ public:
|
||||
virtual void Dump(bool deep = true, int32 level = 0);
|
||||
|
||||
protected:
|
||||
virtual status_t GetMediaStatus(status_t *mediaStatus);
|
||||
virtual status_t GetGeometry(device_geometry *geometry);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user