Added [Content]Parameters() getters.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22470 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
11e9c3980c
commit
7ede8e4494
@ -48,6 +48,9 @@ public:
|
||||
const char *ContentType() const; // See DiskDeviceTypes.h
|
||||
partition_id ID() const;
|
||||
|
||||
const char* Parameters() const;
|
||||
const char* ContentParameters() const;
|
||||
|
||||
status_t GetDiskSystem(BDiskSystem *diskSystem) const;
|
||||
|
||||
virtual status_t GetPath(BPath *path) const;
|
||||
|
@ -295,6 +295,23 @@ BPartition::ID() const
|
||||
return (fPartitionData ? fPartitionData->id : -1);
|
||||
}
|
||||
|
||||
|
||||
// Parameters
|
||||
const char*
|
||||
BPartition::Parameters() const
|
||||
{
|
||||
return fPartitionData ? fPartitionData->parameters : NULL;
|
||||
}
|
||||
|
||||
|
||||
// ContentParameters
|
||||
const char*
|
||||
BPartition::ContentParameters() const
|
||||
{
|
||||
return fPartitionData ? fPartitionData->content_parameters : NULL;
|
||||
}
|
||||
|
||||
|
||||
// GetDiskSystem
|
||||
status_t
|
||||
BPartition::GetDiskSystem(BDiskSystem *diskSystem) const
|
||||
|
Loading…
Reference in New Issue
Block a user