haiku/headers/private/kernel/disk_device_manager/KPartitionVisitor.h
Ingo Weinhold 7e4c7d4350 Added KPartitionVisitor class used for advanced partition tree traversal.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-03 18:23:53 +00:00

28 lines
540 B
C++

// KPartitionVisitor.h
#ifndef _K_DISK_DEVICE_PARTITION_VISITOR_H
#define _K_DISK_DEVICE_PARTITION_VISITOR_H
#include "disk_device_manager.h"
namespace BPrivate {
namespace DiskDevice {
class KPartition;
class KPartitionVisitor {
public:
KPartitionVisitor();
virtual ~KPartitionVisitor();
virtual bool VisitPre(KPartition *partition);
virtual bool VisitPost(KPartition *partition);
};
} // namespace DiskDevice
} // namespace BPrivate
using BPrivate::DiskDevice::KPartitionVisitor;
#endif // _K_DISK_DEVICE_PARTITION_VISITOR_H