Debian Codegraph @

wxcrafter/src/bool_property.h

raw
1 #ifndef BOOLPROPERTY_H
2 #define BOOLPROPERTY_H
3
4 #include "property_base.h" // Base class: PropertyBase
5
6 class BoolProperty : public PropertyBase
7 {
8 bool m_value;
9
10 public:
11 BoolProperty(const wxString& label, bool checked, const wxString& tooltip);
12 BoolProperty();
13 virtual ~BoolProperty();
14
15 public:
16 virtual wxString GetValue() const;
17 virtual void SetValue(const wxString& value);
18 virtual JSONElement Serialize() const;
19 virtual void UnSerialize(const JSONElement& json);
20 virtual PropertyeType GetType() { return PT_BOOL; }
21 };
22
23 #endif // BOOLPROPERTY_H