1 // KPartitionVisitor.h 2 3 #ifndef _K_DISK_DEVICE_PARTITION_VISITOR_H 4 #define _K_DISK_DEVICE_PARTITION_VISITOR_H 5 6 #include "disk_device_manager.h" 7 8 namespace BPrivate { 9 namespace DiskDevice { 10 11 class KPartition; 12 13 class KPartitionVisitor { 14 public: 15 KPartitionVisitor(); 16 virtual ~KPartitionVisitor(); 17 18 virtual bool VisitPre(KPartition *partition); 19 virtual bool VisitPost(KPartition *partition); 20 }; 21 22 } // namespace DiskDevice 23 } // namespace BPrivate 24 25 using BPrivate::DiskDevice::KPartitionVisitor; 26 27 #endif // _K_DISK_DEVICE_PARTITION_VISITOR_H 28