* Added missing name parameter to the partitioning system module child creation
and child creation validation hooks. Pass the name to them.
* Added BPartitionParameterEditor interface, which is/will be used for editing
disk system specific parameters.
* Implemented partition parameter editors for BFS initialization and Intel
partition map child creation.
* Fixed the incorrect supported child partition type iteration in the Intel
partition map add-on. It does now return actual types.
* Handle the "active" flag parameter in the Intel partitioning system module.
* DriveSetup:
- Replaced the "Create" submenu by a simple menu item. The type can now by
chosen in the dialog.
- Make use of initialization and child creation parameter editors. Some
non-generic code has been moved to the respective editor implementations
(BFS, intel partitioning system).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31658 a95241bf-73f2-0310-859d-f6bbb57e9c96
35 lines
861 B
C++
35 lines
861 B
C++
/*
|
|
* Copyright 2009, Bryce Groff, [email protected].
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _PARTITION_PARAMETER_EDITOR_H
|
|
#define _PARTITION_PARAMETER_EDITOR_H
|
|
|
|
|
|
#include <View.h>
|
|
|
|
|
|
// BPartitionParameterEditor
|
|
class BPartitionParameterEditor {
|
|
public:
|
|
BPartitionParameterEditor();
|
|
virtual ~BPartitionParameterEditor();
|
|
|
|
virtual bool FinishedEditing();
|
|
|
|
virtual BView* View();
|
|
|
|
virtual status_t GetParameters(BString* parameters);
|
|
|
|
// TODO: Those are child creation specific and shouldn't be in a generic
|
|
// interface. Something like a
|
|
// GenericPartitionParameterChanged(partition_parameter_type,
|
|
// const BVariant&)
|
|
// would be better.
|
|
virtual status_t PartitionTypeChanged(const char* type);
|
|
virtual status_t PartitionNameChanged(const char* name);
|
|
};
|
|
|
|
|
|
#endif //_PARTITION_PARAMETER_EDITOR_H
|