/* * Copyright 2013, Axel Dörfler, axeld@pinc-software.de. * Copyright 2009-2010, Stephan Aßmus * Copyright 2009, Bryce Groff, brycegroff@gmail.com. * Distributed under the terms of the MIT License. */ #ifndef _INITIALIZE_PARAMETER_EDITOR #define _INITIALIZE_PARAMETER_EDITOR #include #include class BCheckBox; class BMenuField; class BTextControl; class BView; class InitializeNTFSEditor : public BPartitionParameterEditor { public: InitializeNTFSEditor(); virtual ~InitializeNTFSEditor(); virtual void SetTo(BPartition* partition); virtual bool ValidateParameters() const; virtual status_t ParameterChanged(const char* name, const BVariant& variant); virtual BView* View(); virtual status_t GetParameters(BString& parameters); private: void _CreateViewControls(); private: BView* fView; BTextControl* fNameControl; BString fParameters; }; #endif //_INITIALIZE_PARAMETER_EDITOR