Moved getting a partition's future mount point into a separate function, so it can be reused by mountvolume.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9712 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include <DiskDeviceVisitor.h>
|
||||
|
||||
class BMessenger;
|
||||
class BPath;
|
||||
|
||||
namespace BPrivate {
|
||||
|
||||
@@ -45,10 +46,14 @@ private:
|
||||
partition_id fID;
|
||||
};
|
||||
|
||||
status_t get_unique_partition_mount_point(BPartition *partition,
|
||||
BPath *mountPoint);
|
||||
|
||||
} // namespace BPrivate
|
||||
|
||||
using BPrivate::PartitionFilter;
|
||||
using BPrivate::PartitionFilterVisitor;
|
||||
using BPrivate::IDFinderVisitor;
|
||||
using BPrivate::get_unique_partition_mount_point;
|
||||
|
||||
#endif // _DISK_DEVICE_PRIVATE_H
|
||||
|
||||
Reference in New Issue
Block a user