1 /* 2 * Copyright 2013, Axel Dörfler, axeld@pinc-software.de. 3 * Copyright 2009, Bryce Groff, brycegroff@gmail.com. 4 * Distributed under the terms of the MIT License. 5 */ 6 #ifndef _PRIMARY_PARAMETER_EDITOR 7 #define _PRIMARY_PARAMETER_EDITOR 8 9 10 #include <PartitionParameterEditor.h> 11 12 #include <CheckBox.h> 13 #include <String.h> 14 #include <View.h> 15 16 17 class PrimaryPartitionEditor : public BPartitionParameterEditor { 18 public: 19 PrimaryPartitionEditor(); 20 virtual ~PrimaryPartitionEditor(); 21 22 virtual BView* View(); 23 24 virtual status_t ParameterChanged(const char* name, 25 const BVariant& variant); 26 27 virtual status_t GetParameters(BString& parameters); 28 29 private: 30 BView* fView; 31 BCheckBox* fActiveCheckBox; 32 }; 33 34 35 #endif // _PRIMARY_PARAMETER_EDITOR 36