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:
Ingo Weinhold
2004-11-01 17:02:12 +00:00
parent f260cedb5a
commit 419458bc96
3 changed files with 60 additions and 31 deletions
@@ -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