Small changes.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2615 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2003-02-01 18:12:03 +00:00
parent 3e19fccb08
commit d8c074b218
4 changed files with 25 additions and 31 deletions
+1 -9
View File
@@ -7,6 +7,7 @@
#define _DISK_DEVICE_ROSTER_H
#include <DiskDeviceVisitor.h>
#include <Messenger.h>
#include <SupportDefs.h>
class BDiskDevice;
@@ -54,36 +55,27 @@ public:
bool VisitEachDevice(BDiskDeviceVisitor *visitor,
BDiskDevice *device = NULL);
// return true if terminated early
bool VisitEachPartition(BDiskDeviceVisitor *visitor,
BDiskDevice *device = NULL,
BPartition **partition = NULL);
// return true if terminated early
bool Traverse(BDiskDeviceVisitor *visitor);
// return true if terminated early
bool VisitEachMountedPartition(BDiskDeviceVisitor *visitor,
BDiskDevice *device = NULL,
BPartition **partition = NULL);
// return true if terminated early
bool VisitEachMountablePartition(BDiskDeviceVisitor *visitor,
BDiskDevice *device = NULL,
BPartition **partition = NULL);
// return true if terminated early
bool VisitEachInitializablePartition(BDiskDeviceVisitor *visitor,
BDiskDevice *device = NULL,
BPartition **partition = NULL);
// return true if terminated early
status_t GetDeviceWithID(int32 id, BDiskDevice *device) const;
status_t GetSessionWithID(int32 id, BDiskDevice *device,
BSession **session) const;
// inits device to the device containing the session
status_t GetPartitionWithID(int32 id, BDiskDevice *device,
BPartition **partition) const;
// inits device to the device containing the partition
status_t StartWatching(BMessenger target,
uint32 eventMask = B_DEVICE_REQUEST_ALL);