Debian Codegraph @

wxcrafter/src/multi_strings_property.h

raw
1 #ifndef MULTISTRINGSPROPERTY_H
2 #define MULTISTRINGSPROPERTY_H
3
4 #include "property_base.h" // Base class: PropertyBase
5
6 class MultiStringsProperty : public PropertyBase
7 {
8 wxString m_delim;
9 wxString m_msg;
10
11 protected:
12 wxString m_value;
13
14 public:
15 MultiStringsProperty(const wxString& label, const wxString& tooltip, const wxString& delim = wxT(";"),
16 const wxString& msg = wxT(""));
17 virtual ~MultiStringsProperty();
18
19 public:
20 virtual wxString GetValue() const;
21 virtual JSONElement Serialize() const;
22 virtual void SetValue(const wxString& value);
23 virtual void UnSerialize(const JSONElement& json);
24 virtual PropertyeType GetType() { return PT_MUTLI_STRING_PICKER; }
25 };
26
27 #endif // MULTISTRINGSPROPERTY_H