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:
Ingo Weinhold 2007-10-07 14:52:54 +00:00
parent 11e9c3980c
commit 7ede8e4494
2 changed files with 20 additions and 0 deletions

View File

@ -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;

View File

@ -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