Changeset 7539 in orxonox.OLD for branches/qt_gui/src/lib/gui/gui_saveable.h
- Timestamp:
- May 5, 2006, 10:44:18 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/qt_gui/src/lib/gui/gui_saveable.h
r7493 r7539 22 22 void makeSaveable(); 23 23 24 virtual void load(const MultiType& value) = 0;25 virtual const MultiType& save() = 0;24 virtual void load(const MultiType& value) {}; 25 virtual const MultiType& save() {}; 26 26 27 MultiType& getValue() { return this->value; };28 const MultiType& getValue() const { return this->value; };27 MultiType& value() { return this->_value; }; 28 const MultiType& value() const { return this->_value; }; 29 29 bool isSaveable() const { return this->bSaveable; }; 30 30 … … 34 34 35 35 private: 36 MultiType value;36 MultiType _value; 37 37 bool bSaveable; 38 38 };
Note: See TracChangeset
for help on using the changeset viewer.