Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2008, 3:09:33 PM (16 years ago)
Author:
rgrieder
Message:
  • removed Shell.h dependency from OutputHandler.h to avoid recompiling the entire project when InputBuffer.h changes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/core/OutputHandler.h

    r1446 r1452  
    4444#include <string>
    4545
    46 #include "Shell.h"
     46#include "OutputBuffer.h"
    4747
    4848namespace orxonox
     
    9595
    9696            static int getSoftDebugLevel(OutputHandler::OutputDevice device);
     97
     98            OutputBuffer& getShellOutputBuffer();
    9799
    98100            template <class T>
     
    157159
    158160        if (OutputHandler::getSoftDebugLevel(OutputHandler::LD_Shell) >= this->outputLevel_)
    159             Shell::getInstance().getOutputBuffer() << output;
     161            OutputHandler::getOutStream().getShellOutputBuffer() << output;
    160162
    161163        return *this;
     
    181183
    182184        if (OutputHandler::getSoftDebugLevel(OutputHandler::LD_Shell) >= out.getOutputLevel())
    183             Shell::getInstance().getOutputBuffer() << output;
     185            OutputHandler::getOutStream().getShellOutputBuffer() << output;
    184186
    185187        return out;
Note: See TracChangeset for help on using the changeset viewer.