Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 21, 2011, 4:23:19 AM (14 years ago)
Author:
rgrieder
Message:

Fixed a serious problem with the debug levels for the Shells by introducing DevModeListener and moving the debug levels to the Shell again..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/unity_build/src/libraries/core/Core.h

    r8519 r8524  
    5353namespace orxonox
    5454{
     55    //! Informs about changes in the Development Mode.
     56    class DevModeListener : virtual public OrxonoxClass
     57    {
     58    public:
     59        DevModeListener();
     60        virtual ~DevModeListener() {}
     61        virtual void devModeChanged(bool value) = 0;
     62    };
     63
    5564    /**
    5665    @brief
     
    130139            bool                      bGraphicsLoaded_;
    131140            int                       debugLevelLogFile_;          //!< The debug level for the log file (belongs to OutputHandler)
    132             int                       debugLevelIOConsole_;        //!< The debug level for the IO console (belongs to OutputHandler)
    133             int                       debugLevelInGameConsole_;    //!< The debug level for the in game console (belongs to OutputHandler)
    134141            std::string               language_;                   //!< The language
    135142            bool                      bInitRandomNumberGenerator_; //!< If true, srand(time(0)) is called
Note: See TracChangeset for help on using the changeset viewer.