Debian Codegraph @

wxcrafter/src/file_ficker_property.h

raw
1 #ifndef FILEFICKERPROPERTY_H
2 #define FILEFICKERPROPERTY_H
3
4 #include "property_base.h" // Base class: PropertyBase
5
6 class FilePickerProperty : public PropertyBase
7 {
8 protected:
9 wxString m_path;
10
11 public:
12 FilePickerProperty(const wxString& label, const wxString& path, const wxString& tooltip);
13 FilePickerProperty();
14 virtual ~FilePickerProperty();
15
16 public:
17 void FixPaths(const wxString& cwd);
18 virtual wxString GetValue() const;
19 virtual JSONElement Serialize() const;
20 virtual void SetValue(const wxString& value);
21 virtual void UnSerialize(const JSONElement& json);
22 virtual PropertyeType GetType() { return PT_FILE_PICKER; }
23 };
24
25 #endif // FILEFICKERPROPERTY_H