DriveSetup:

- File system is now only displayed when the partition actually has a filesystem.
- Now checks if the DiskSystem supports initializing.
- Updated the *ParamsPanels, as well as, the Disk System add-ons to use the new storage api changes (see below).

Storage Kit:
- Simplified the parameters editor system. Now all parameter editor requests go through a single function, GetParameterEditor, and pass a B_PARAMETER_EDITOR_TYPE to request a particular parameter editor.
- Moved DiskDeviceAddOnManager.h to the headers directory, as it is now required by InitParamsPanel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39115 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Bryce Groff
2010-10-24 03:39:19 +00:00
parent a8fcb885b0
commit 2f3ce2bf7e
21 changed files with 113 additions and 184 deletions
+7
View File
@@ -148,6 +148,13 @@ enum {
B_DISK_DEVICE_JOB_CAN_PAUSE = 0x08,
};
enum B_PARAMETER_EDITOR_TYPE {
B_CREATE_PARAMETER_EDITOR = 0x01,
B_INITIALIZE_PARAMETER_EDITOR = 0x04,
B_DELETE_PARAMETER_EDITOR = 0x08,
B_PROPERTIES_PARAMETER_EDITOR = 0x10
};
// string length constants, all of which include the NULL terminator
#define B_DISK_DEVICE_TYPE_LENGTH B_FILE_NAME_LENGTH
#define B_DISK_DEVICE_NAME_LENGTH B_FILE_NAME_LENGTH