2ca1376080
No functional code altered. https://dev.haiku-os.org/ticket/17197 Change-Id: I75cc74f6be0ad968fd77c31fbe5b0f650a6fe9e0 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4364 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
26 lines
648 B
C++
26 lines
648 B
C++
//----------------------------------------------------------------------
|
|
// This software is part of the Haiku distribution and is covered
|
|
// by the MIT 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
|