Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 10, 2008, 3:35:50 PM (16 years ago)
Author:
landauf
Message:

moved Debug.h, OutputHandler and OutputBuffer to util, to make COUT(x) available everywhere

File:
1 moved

Legend:

Unmodified
Added
Removed
  • code/branches/core3/src/util/Debug.h

    r1585 r1586  
    3737#define _Debug_H__
    3838
    39 #include "CorePrereqs.h"
     39#include "UtilPrereqs.h"
    4040
    4141#include <stdio.h>
     
    4343#include "OutputHandler.h"
    4444
    45 extern "C" _CoreExport int getSoftDebugLevel();
     45
     46/**
     47    @brief Returns the soft debug level, stored in the only existing instance of the OutputHandler class, configured in the config-file.
     48    @return The soft debug level
     49*/
     50static inline int getSoftDebugLevel()
     51{
     52    return orxonox::OutputHandler::getSoftDebugLevel();
     53}
     54
    4655
    4756// DEFINE ERROR MODES
Note: See TracChangeset for help on using the changeset viewer.