Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9577 for code/branches/core6


Ignore:
Timestamp:
Mar 25, 2013, 10:20:21 PM (11 years ago)
Author:
landauf
Message:

moved setConfigValues() from OrxonoxClass to Configurable. This new base class it pretty much useless at the moment, but inheriting from it rather than from OrxonoxClass expresses that you're only interested in the config value facilities

Location:
code/branches/core6/src/libraries/core
Files:
1 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/src/libraries/core/CorePrereqs.h

    r9572 r9577  
    140140    class ConfigFileManager;
    141141    class ConfigFileSection;
     142    class Configurable;
    142143    class ConfigValueContainer;
    143144    class Context;
  • code/branches/core6/src/libraries/core/class/CMakeLists.txt

    r9565 r9577  
    33  Identifier.cc
    44  IdentifierManager.cc
    5   OrxonoxClass.cc
    65)
  • code/branches/core6/src/libraries/core/class/OrxonoxClass.h

    r9572 r9577  
    4343#include "core/CorePrereqs.h"
    4444
    45 #include "core/object/Listable.h"
     45#include "core/config/Configurable.h"
    4646#include "core/object/Destroyable.h"
    4747
     
    4949{
    5050    /**
    51         @brief The class all objects and interfaces of the game-logic (not the engine) are derived from.
     51        @brief This is the class from which all objects and interfaces of the game-logic (not the engine) are derived from.
    5252
    5353        The BaseObject and Interfaces are derived with @c virtual @c public @c OrxonoxClass from OrxonoxClass.
    5454    */
    55     class _CoreExport OrxonoxClass : virtual public Listable, virtual public Destroyable
     55    class _CoreExport OrxonoxClass : virtual public Configurable, virtual public Destroyable
    5656    {
    57         public:
    58             OrxonoxClass();
    59             virtual ~OrxonoxClass();
    60 
    61             /// Function to collect the SetConfigValue-macro calls.
    62             void setConfigValues() {};
    6357    };
    6458}
Note: See TracChangeset for help on using the changeset viewer.