Changeset 7555 in orxonox.OLD for branches/qt_gui/src/lib/gui/gui_saveable.h
- Timestamp:
- May 7, 2006, 2:25:16 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/qt_gui/src/lib/gui/gui_saveable.h
r7549 r7555 15 15 { 16 16 class Gui; 17 class SaveableGroup; 17 18 18 //! A class for ...19 //! A class for Elements in the Gui that are Saveable. 19 20 class Saveable : public BaseObject 20 21 { … … 32 33 33 34 protected: 34 Saveable(const std::string& optionName );35 Saveable(const std::string& optionName, SaveableGroup* group); 35 36 virtual void makingElementSaveable() {}; 36 37 37 38 private: 39 SaveableGroup* group; 38 40 MultiType _value; 39 41 bool bSaveable; … … 42 44 43 45 44 class SaveableGroup : public Saveable46 class SaveableGroup : public BaseObject 45 47 { 46 48 public: … … 55 57 protected: 56 58 SaveableGroup(const std::string& name, OrxGui::Gui* gui); 57 virtual void makingElementSaveable();58 59 59 60 private: 61 OrxGui::Gui* gui; 60 62 std::vector<Saveable*> saveables; 61 static std::vector<SaveableGroup*> saveableGroups;62 63 }; 63 64
Note: See TracChangeset
for help on using the changeset viewer.