Line | |
---|
1 | /*! |
---|
2 | * @file gui_saveable.h |
---|
3 | * @brief Definition of ... |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _GUI_SAVEABLE_H |
---|
7 | #define _GUI_SAVEABLE_H |
---|
8 | |
---|
9 | #include "base_object.h" |
---|
10 | #include "multi_type.h" |
---|
11 | #include <list> |
---|
12 | #include <string> |
---|
13 | |
---|
14 | // FORWARD DECLARATION |
---|
15 | |
---|
16 | |
---|
17 | //! A class for ... |
---|
18 | class GuiSaveable : virtual public BaseObject { |
---|
19 | |
---|
20 | public: |
---|
21 | virtual void load(const MultiType& value) = 0; |
---|
22 | virtual const MultiType& save() = 0; |
---|
23 | |
---|
24 | |
---|
25 | protected: |
---|
26 | GuiSaveable(); |
---|
27 | virtual ~GuiSaveable(); |
---|
28 | |
---|
29 | private: |
---|
30 | MultiType value; |
---|
31 | }; |
---|
32 | |
---|
33 | |
---|
34 | class GuiGroup |
---|
35 | { |
---|
36 | public: |
---|
37 | GuiGroup(const std::string& name); |
---|
38 | ~GuiGroup(); |
---|
39 | private: |
---|
40 | |
---|
41 | }; |
---|
42 | |
---|
43 | |
---|
44 | #endif /* _GUI_SAVEABLE_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.