Added Supports[Content]Name() methods.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22044 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
76a8ec23db
commit
2652981136
@ -29,6 +29,8 @@ public:
|
||||
bool SupportsResizingChild() const;
|
||||
bool SupportsMoving(bool *whileMounted) const;
|
||||
bool SupportsMovingChild() const;
|
||||
bool SupportsName() const;
|
||||
bool SupportsContentName() const;
|
||||
bool SupportsSettingName() const;
|
||||
bool SupportsSettingContentName(bool *whileMounted) const;
|
||||
bool SupportsSettingType() const;
|
||||
|
@ -140,6 +140,22 @@ BDiskSystem::SupportsMovingChild() const
|
||||
&& (fFlags & B_DISK_SYSTEM_SUPPORTS_MOVING_CHILD));
|
||||
}
|
||||
|
||||
// SupportsName
|
||||
bool
|
||||
BDiskSystem::SupportsName() const
|
||||
{
|
||||
return (InitCheck() == B_OK && IsPartitioningSystem()
|
||||
&& (fFlags & B_DISK_SYSTEM_SUPPORTS_NAME));
|
||||
}
|
||||
|
||||
// SupportsContentName
|
||||
bool
|
||||
BDiskSystem::SupportsContentName() const
|
||||
{
|
||||
return (InitCheck() == B_OK
|
||||
&& (fFlags & B_DISK_SYSTEM_SUPPORTS_CONTENT_NAME));
|
||||
}
|
||||
|
||||
// SupportsSettingName
|
||||
bool
|
||||
BDiskSystem::SupportsSettingName() const
|
||||
|
Loading…
Reference in New Issue
Block a user