source:
orxonox.OLD/branches/qt_gui/src/lib/gui/qt_gui/gui_saveable.h
@
7140
Last change on this file since 7140 was 7140, checked in by bensch, 18 years ago | |
---|---|
File size: 477 bytes |
Rev | Line | |
---|---|---|
[4838] | 1 | /*! |
[7140] | 2 | * @file gui_saveable.h |
[4838] | 3 | * @brief Definition of ... |
[3245] | 4 | */ |
[1853] | 5 | |
[7140] | 6 | #ifndef _GUI_SAVEABLE_H |
7 | #define _GUI_SAVEABLE_H | |
[1853] | 8 | |
[3543] | 9 | #include "base_object.h" |
[7140] | 10 | #include "multi_type.h" |
[1853] | 11 | |
[4838] | 12 | // FORWARD DECLARATION |
[3543] | 13 | |
[3955] | 14 | //! A class for ... |
[7140] | 15 | class GuiSaveable : virtual public BaseObject { |
[1853] | 16 | |
[1904] | 17 | public: |
[7140] | 18 | virtual void load(const MultiType& value) = 0; |
19 | virtual const MultiType& save() = 0; | |
[1853] | 20 | |
[3245] | 21 | |
[7140] | 22 | protected: |
23 | GuiSaveable(); | |
24 | virtual ~GuiSaveable(); | |
25 | ||
[3245] | 26 | private: |
[7140] | 27 | MultiType value; |
[1853] | 28 | }; |
29 | ||
[7140] | 30 | #endif /* _GUI_SAVEABLE_H */ |
Note: See TracBrowser
for help on using the repository browser.