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.
6 #ifndef _PARTITION_PARAMETER_EDITOR_H
7 #define _PARTITION_PARAMETER_EDITOR_H
18 class BPartitionParameterEditor
{
20 BPartitionParameterEditor();
21 virtual ~BPartitionParameterEditor();
23 virtual void SetTo(BPartition
* partition
);
25 void SetModificationMessage(BMessage
* message
);
26 BMessage
* ModificationMessage() const;
28 virtual BView
* View();
30 virtual bool ValidateParameters() const;
31 virtual status_t
ParameterChanged(const char* name
,
32 const BVariant
& variant
);
34 virtual status_t
GetParameters(BString
& parameters
);
37 BMessage
* fModificationMessage
;
41 #endif // _PARTITION_PARAMETER_EDITOR_H