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 | |
---|
12 | // FORWARD DECLARATION |
---|
13 | |
---|
14 | //! A class for ... |
---|
15 | class GuiSaveable : virtual public BaseObject { |
---|
16 | |
---|
17 | public: |
---|
18 | virtual void load(const MultiType& value) = 0; |
---|
19 | virtual const MultiType& save() = 0; |
---|
20 | |
---|
21 | |
---|
22 | protected: |
---|
23 | GuiSaveable(); |
---|
24 | virtual ~GuiSaveable(); |
---|
25 | |
---|
26 | private: |
---|
27 | MultiType value; |
---|
28 | }; |
---|
29 | |
---|
30 | #endif /* _GUI_SAVEABLE_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.