haiku/headers/private/storage/DiskDeviceVisitor.h
Jérôme Duval b12aab90c7 fixed typo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-12 18:11:11 +00:00

26 lines
657 B
C++

//----------------------------------------------------------------------
// This software is part of the OpenBeOS distribution and is covered
// by the OpenBeOS license.
//---------------------------------------------------------------------
#ifndef _DISK_DEVICE_VISITOR_H
#define _DISK_DEVICE_VISITOR_H
#include <SupportDefs.h>
class BDiskDevice;
class BPartition;
// BDiskDeviceVisitor
class BDiskDeviceVisitor {
public:
BDiskDeviceVisitor();
virtual ~BDiskDeviceVisitor();
// return true to abort iteration
virtual bool Visit(BDiskDevice *device);
virtual bool Visit(BPartition *partition, int32 level);
};
#endif // _DISK_DEVICE_VISITOR_H