Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
May 7, 2006, 2:25:16 PM (19 years ago)
Author:
bensch
Message:

orxonox/qt_gui: more elaborate Saveables

File:
1 edited

Legend:

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

    r7549 r7555  
    1515{
    1616  class Gui;
     17  class SaveableGroup;
    1718
    18   //! A class for ...
     19  //! A class for Elements in the Gui that are Saveable.
    1920  class Saveable : public BaseObject
    2021  {
     
    3233
    3334  protected:
    34     Saveable(const std::string& optionName);
     35    Saveable(const std::string& optionName, SaveableGroup* group);
    3536    virtual void makingElementSaveable() {};
    3637
    3738  private:
     39    SaveableGroup*  group;
    3840    MultiType       _value;
    3941    bool            bSaveable;
     
    4244
    4345
    44   class SaveableGroup : public Saveable
     46  class SaveableGroup : public BaseObject
    4547  {
    4648  public:
     
    5557  protected:
    5658    SaveableGroup(const std::string& name, OrxGui::Gui* gui);
    57     virtual void makingElementSaveable();
    5859
    5960  private:
     61    OrxGui::Gui*                        gui;
    6062    std::vector<Saveable*>              saveables;
    61     static std::vector<SaveableGroup*>  saveableGroups;
    6263  };
    6364
Note: See TracChangeset for help on using the changeset viewer.