BTRFS: Implement BTree::Path and change _Find.
[haiku.git] / src / add-ons / disk_systems / bfs / InitializeParameterEditor.h
blob9f7abc32e9e5f97b65ce63f1d30fa3c500f024e0
1 /*
2 * Copyright 2013, Axel Dörfler, axeld@pinc-software.de.
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>
15 class BCheckBox;
16 class BMenuField;
17 class BTextControl;
18 class BView;
21 class InitializeBFSEditor : public BPartitionParameterEditor {
22 public:
23 InitializeBFSEditor();
24 virtual ~InitializeBFSEditor();
26 virtual void SetTo(BPartition* partition);
28 virtual bool ValidateParameters() const;
29 virtual status_t ParameterChanged(const char* name,
30 const BVariant& variant);
32 virtual BView* View();
34 virtual status_t GetParameters(BString& parameters);
36 private:
37 void _CreateViewControls();
39 private:
40 BView* fView;
41 BTextControl* fNameControl;
42 BMenuField* fBlockSizeMenuField;
43 BCheckBox* fUseIndicesCheckBox;
47 #endif //_INITIALIZE_PARAMETER_EDITOR