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:
@@ -29,6 +29,8 @@ public:
|
|||||||
bool SupportsResizingChild() const;
|
bool SupportsResizingChild() const;
|
||||||
bool SupportsMoving(bool *whileMounted) const;
|
bool SupportsMoving(bool *whileMounted) const;
|
||||||
bool SupportsMovingChild() const;
|
bool SupportsMovingChild() const;
|
||||||
|
bool SupportsName() const;
|
||||||
|
bool SupportsContentName() const;
|
||||||
bool SupportsSettingName() const;
|
bool SupportsSettingName() const;
|
||||||
bool SupportsSettingContentName(bool *whileMounted) const;
|
bool SupportsSettingContentName(bool *whileMounted) const;
|
||||||
bool SupportsSettingType() const;
|
bool SupportsSettingType() const;
|
||||||
|
|||||||
@@ -140,6 +140,22 @@ BDiskSystem::SupportsMovingChild() const
|
|||||||
&& (fFlags & B_DISK_SYSTEM_SUPPORTS_MOVING_CHILD));
|
&& (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
|
// SupportsSettingName
|
||||||
bool
|
bool
|
||||||
BDiskSystem::SupportsSettingName() const
|
BDiskSystem::SupportsSettingName() const
|
||||||
|
|||||||
Reference in New Issue
Block a user