03fa4a4f9c
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2666 a95241bf-73f2-0310-859d-f6bbb57e9c96
26 lines
671 B
C++
26 lines
671 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
|
|
|
|
class BDiskDevice;
|
|
class BPartition;
|
|
class BSession;
|
|
|
|
// BDiskDeviceVisitor
|
|
class BDiskDeviceVisitor {
|
|
public:
|
|
BDiskDeviceVisitor();
|
|
virtual ~BDiskDeviceVisitor();
|
|
|
|
// return true to abort iteration
|
|
virtual bool Visit(BDiskDevice *device);
|
|
virtual bool Visit(BSession *session);
|
|
virtual bool Visit(BPartition *partition);
|
|
};
|
|
|
|
#endif _DISK_DEVICE_VISITOR_H
|