Changed my mind. Now BPartition has a method to get the mount point of the partition, respectively a potential mount point, for partitions not yet mounted.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9713 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -46,14 +46,10 @@ 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
|
||||
|
||||
@@ -17,6 +17,7 @@ class BDiskDeviceParameterEditor;
|
||||
class BDiskDeviceVisitor;
|
||||
class BDiskSystem;
|
||||
class BPartitioningInfo;
|
||||
class BPath;
|
||||
class BVolume;
|
||||
struct user_partition_data;
|
||||
|
||||
@@ -52,6 +53,7 @@ public:
|
||||
virtual status_t GetPath(BPath *path) const;
|
||||
status_t GetVolume(BVolume *volume) const;
|
||||
status_t GetIcon(BBitmap *icon, icon_size which) const;
|
||||
status_t GetMountPoint(BPath *mountPoint) const;
|
||||
|
||||
status_t Mount(const char *mountPoint = NULL, uint32 mountFlags = 0,
|
||||
const char *parameters = NULL);
|
||||
|
||||
Reference in New Issue
Block a user