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