The beginning of the DiskDevice API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2609 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
// DiskDeviceIteration.h
|
||||
|
||||
#ifndef _DISK_DEVICE_VISITOR_H
|
||||
#define _DISK_DEVICE_VISITOR_H
|
||||
|
||||
class BDiskDevice;
|
||||
class BPartition;
|
||||
class BSession;
|
||||
|
||||
// BDiskDeviceVisitor
|
||||
class BDiskDeviceVisitor {
|
||||
BDiskDeviceVisitor();
|
||||
virtual ~BDiskDeviceVisitor();
|
||||
|
||||
// return true to abort iteration
|
||||
virtual bool Visit(BDiskDevice *device);
|
||||
virtual bool Visit(BSession *device);
|
||||
virtual bool Visit(BPartition *device);
|
||||
};
|
||||
|
||||
#endif _DISK_DEVICE_VISITOR_H
|
||||
Reference in New Issue
Block a user