2 * Copyright 2015, François Revol <revol@free.fr>
3 * Copyright 2009-2010, Stephan Aßmus <superstippi@gmx.de>
4 * Copyright 2009, Bryce Groff, brycegroff@gmail.com.
5 * Distributed under the terms of the MIT License.
7 #ifndef _INITIALIZE_PARAMETER_EDITOR
8 #define _INITIALIZE_PARAMETER_EDITOR
11 #include <PartitionParameterEditor.h>
20 class InitializeFATEditor
: public BPartitionParameterEditor
{
22 InitializeFATEditor();
23 virtual ~InitializeFATEditor();
25 virtual void SetTo(BPartition
* partition
);
27 virtual bool ValidateParameters() const;
28 virtual status_t
ParameterChanged(const char* name
,
29 const BVariant
& variant
);
31 virtual BView
* View();
33 virtual status_t
GetParameters(BString
& parameters
);
35 // virtual status_t PartitionNameChanged(const char* name);
38 void _CreateViewControls();
41 BTextControl
* fNameControl
;
42 BMenuField
* fFatBitsMenuField
;
48 #endif //_INITIALIZE_PARAMETER_EDITOR