Files
haiku-beta6/headers/private/storage/DiskDeviceVisitor.h
T

24 lines
615 B
C++
Raw Normal View History

2003-01-31 22:05:09 +00:00
//----------------------------------------------------------------------
// This software is part of the OpenBeOS distribution and is covered
// by the OpenBeOS license.
//---------------------------------------------------------------------
2003-01-31 21:17:20 +00:00
#ifndef _DISK_DEVICE_VISITOR_H
#define _DISK_DEVICE_VISITOR_H
class BDiskDevice;
class BPartition;
// BDiskDeviceVisitor
class BDiskDeviceVisitor {
public:
2003-01-31 21:17:20 +00:00
BDiskDeviceVisitor();
virtual ~BDiskDeviceVisitor();
// return true to abort iteration
virtual bool Visit(BDiskDevice *device);
virtual bool Visit(BPartition *partition);
2003-01-31 21:17:20 +00:00
};
#endif _DISK_DEVICE_VISITOR_H