Changeset 7595 in orxonox.OLD for branches/qt_gui/src/lib/gui/gui_saveable.cc
- Timestamp:
- May 11, 2006, 2:02:37 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/qt_gui/src/lib/gui/gui_saveable.cc
r7555 r7595 18 18 #include "gui_saveable.h" 19 19 #include "gui.h" 20 #include "preferences.h" 20 21 21 22 namespace OrxGui … … 30 31 this->bSaveable = false; 31 32 33 assert(group != NULL); 32 34 this->group = group; 33 35 this->group->addSaveable(this); … … 51 53 52 54 } 55 56 57 void Saveable::load(const MultiType& value) 58 { 59 Preferences::getInstance()->setMultiType(this->group->getName(), this->getName(), value); 60 } 61 62 const MultiType& Saveable::save() 63 { 64 Preferences::getInstance()->getMultiType(this->group->getName(), this->getName(), 0); 65 } 66 67 53 68 54 69 … … 98 113 */ 99 114 void SaveableGroup::load(const MultiType& value) 100 {} 115 { 116 } 101 117 102 118 /**
Note: See TracChangeset
for help on using the changeset viewer.