Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7539 in orxonox.OLD for branches/qt_gui/src/lib/gui/gui_saveable.h


Ignore:
Timestamp:
May 5, 2006, 10:44:18 AM (18 years ago)
Author:
bensch
Message:

orxonox/qt_gui: elements defined

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/qt_gui/src/lib/gui/gui_saveable.h

    r7493 r7539  
    2222    void makeSaveable();
    2323
    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() {};
    2626
    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; };
    2929    bool             isSaveable() const { return this->bSaveable; };
    3030
     
    3434
    3535  private:
    36     MultiType       value;
     36    MultiType       _value;
    3737    bool            bSaveable;
    3838  };
Note: See TracChangeset for help on using the changeset viewer.