1 //----------------------------------------------------------------------
2 // This software is part of the OpenBeOS distribution and is covered
4 //---------------------------------------------------------------------
6 #ifndef _DISK_DEVICE_VISITOR_H
7 #define _DISK_DEVICE_VISITOR_H
9 #include <SupportDefs.h>
15 class BDiskDeviceVisitor
{
18 virtual ~BDiskDeviceVisitor();
20 // return true to abort iteration
21 virtual bool Visit(BDiskDevice
*device
);
22 virtual bool Visit(BPartition
*partition
, int32 level
);
25 #endif // _DISK_DEVICE_VISITOR_H