Removed Identifier() and FileSystem() methods. ShortName() shall return the respective identifier.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2552 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2003-01-26 15:03:48 +00:00
parent 1f293937f5
commit 38f832c7eb
2 changed files with 8 additions and 24 deletions

View File

@ -21,7 +21,6 @@ public:
virtual const char *ShortName() = 0;
virtual const char *LongName() = 0;
virtual const char *Identifier() = 0;
virtual BDiskScannerParameterEditor *CreateEditor(
const session_info *sessionInfo, const char *parameters) = 0;
@ -44,7 +43,6 @@ public:
virtual const char *ShortName() = 0;
virtual const char *LongName() = 0;
virtual const char *FileSystem() = 0;
virtual BDiskScannerParameterEditor *CreateEditor(
const partition_info *partitionInfo, const char *parameters) = 0;

View File

@ -23,10 +23,13 @@ BDiskScannerPartitionAddOn::~BDiskScannerPartitionAddOn()
}
/*! \fn virtual const char *BDiskScannerPartitionAddOn::ShortName() = 0;
\brief Returns a user-readable short name for the add-on.
\brief Returns a short name for the add-on.
To be implemented by derived classes.
The returned string identifies the respective partition kernel module is
passed to partition_session().
\return A short name for the add-on.
*/
@ -38,16 +41,6 @@ BDiskScannerPartitionAddOn::~BDiskScannerPartitionAddOn()
\return A long name for the add-on.
*/
/*! \fn virtual const char *BDiskScannerPartitionAddOn::Identifier() = 0;
\brief Returns a string identifying the respective kernel module.
To be implemented by derived classes.
The returned identifier is passed to partition_session().
\return A string identifying the respective kernel module.
*/
/*! \fn virtual BDiskScannerPartitionAddOn::BDiskScannerParameterEditor *
CreateEditor(const session_info *sessionInfo,
const char *parameters) = 0;
@ -87,10 +80,13 @@ BDiskScannerFSAddOn::~BDiskScannerFSAddOn()
}
/*! \fn virtual const char *BDiskScannerFSAddOn::ShortName() = 0;
\brief Returns a user-readable short name for the add-on.
\brief Returns a short name for the add-on.
To be implemented by derived classes.
The returned name identifies the file system (the kernel add-on) and is
passed to initialize_volume().
\return A short name for the add-on.
*/
@ -102,16 +98,6 @@ BDiskScannerFSAddOn::~BDiskScannerFSAddOn()
\return A long name for the add-on.
*/
/*! \fn virtual const char *BDiskScannerFSAddOn::FileSystem() = 0;
\brief Returns a string identifying the respective kernel FS add-on.
To be implemented by derived classes.
The returned name is passed to initialize_volume().
\return A string identifying the respective kernel add-on.
*/
/*! \fn virtual BDiskScannerFSAddOn::BDiskScannerParameterEditor *CreateEditor(
const partition_info *partitionInfo, const char *parameters) = 0;
\brief Creates and returns an editor for editing initialization parameters