* Moved to the private headers.
* The CreateEditor() methods now get a BSession* respectively BPartition* instead of the low-level structures. * Added EditingDone() hook to the editor class. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2796 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
dee42ee0e9
commit
d749688652
@ -7,10 +7,9 @@
|
||||
|
||||
#include <SupportDefs.h>
|
||||
|
||||
struct partition_info;
|
||||
struct session_info;
|
||||
|
||||
class BDiskScannerParameterEditor;
|
||||
class BPartition;
|
||||
class BSession;
|
||||
class BString;
|
||||
|
||||
// BDiskScannerPartitionAddOn
|
||||
@ -22,8 +21,8 @@ public:
|
||||
virtual const char *ShortName() = 0;
|
||||
virtual const char *LongName() = 0;
|
||||
|
||||
virtual BDiskScannerParameterEditor *CreateEditor(
|
||||
const session_info *sessionInfo, const char *parameters) = 0;
|
||||
virtual BDiskScannerParameterEditor *CreateEditor(const BSession *session,
|
||||
const char *parameters) = 0;
|
||||
|
||||
private:
|
||||
virtual void _ReservedDiskScannerPartitionAddOn1();
|
||||
@ -45,7 +44,7 @@ public:
|
||||
virtual const char *LongName() = 0;
|
||||
|
||||
virtual BDiskScannerParameterEditor *CreateEditor(
|
||||
const partition_info *partitionInfo, const char *parameters) = 0;
|
||||
const BPartition *partition, const char *parameters) = 0;
|
||||
|
||||
private:
|
||||
virtual void _ReservedDiskScannerFSAddOn1();
|
||||
@ -64,6 +63,7 @@ public:
|
||||
virtual ~BDiskScannerParameterEditor();
|
||||
|
||||
virtual BView *View();
|
||||
virtual bool EditingDone();
|
||||
virtual status_t GetParameters(BString *parameters);
|
||||
|
||||
private:
|
Loading…
Reference in New Issue
Block a user