Should have waited a few more minutes... Renamed the methods {B,K}Partition::Is{Mountable,Partitionable}() to Contains{File,Partitioning}System(). Similar change for the respective flags (B_PARTITION_{MOUNTABLE,PARTITIONABLE}).

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3899 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2003-07-08 17:38:45 +00:00
parent 55bf93d80d
commit c54d68a84e
9 changed files with 35 additions and 32 deletions
@@ -68,8 +68,8 @@ public:
void SetFlags(uint32 flags); // comprises the ones below
uint32 Flags() const;
bool IsMountable() const;
bool IsPartitionable() const;
bool ContainsFileSystem() const;
bool ContainsPartitioningSystem() const;
bool IsReadOnly() const;
bool IsMounted() const;
+7 -7
View File
@@ -18,13 +18,13 @@ typedef int32 disk_job_id;
// partition flags
enum {
B_PARTITION_IS_DEVICE = 0x01,
B_PARTITION_MOUNTABLE = 0x02,
B_PARTITION_PARTITIONABLE = 0x04,
B_PARTITION_READ_ONLY = 0x08,
B_PARTITION_MOUNTED = 0x10, // needed?
B_PARTITION_BUSY = 0x20,
B_PARTITION_DESCENDANT_BUSY = 0x40,
B_PARTITION_IS_DEVICE = 0x01,
B_PARTITION_FILE_SYSTEM = 0x02,
B_PARTITION_PARTITIONING_SYSTEM = 0x04,
B_PARTITION_READ_ONLY = 0x08,
B_PARTITION_MOUNTED = 0x10, // needed?
B_PARTITION_BUSY = 0x20,
B_PARTITION_DESCENDANT_BUSY = 0x40,
};
// partition statuses
+2 -2
View File
@@ -29,8 +29,8 @@ public:
int32 Index() const; // 0 for devices
uint32 Status() const;
bool IsMountable() const;
bool IsPartitionable() const;
bool ContainsFileSystem() const;
bool ContainsPartitioningSystem() const;
bool IsDevice() const;
bool IsReadOnly() const;