3rdparty/licenseReport: Add seperate LGPL checks
[haiku.git] / src / add-ons / disk_systems / fat / InitializeParameterEditor.h
blob05e71f9ce42a1af9d9228fcf58815b3dd09df379
1 /*
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.
6 */
7 #ifndef _INITIALIZE_PARAMETER_EDITOR
8 #define _INITIALIZE_PARAMETER_EDITOR
11 #include <PartitionParameterEditor.h>
12 #include <String.h>
14 class BCheckBox;
15 class BMenuField;
16 class BTextControl;
17 class BView;
20 class InitializeFATEditor : public BPartitionParameterEditor {
21 public:
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);
37 private:
38 void _CreateViewControls();
40 BView* fView;
41 BTextControl* fNameControl;
42 BMenuField* fFatBitsMenuField;
44 BString fParameters;
48 #endif //_INITIALIZE_PARAMETER_EDITOR