Changeset 1452 for code/branches/network/src
- Timestamp:
- May 28, 2008, 3:09:33 PM (17 years ago)
- Location:
- code/branches/network/src/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/core/OutputHandler.cc
r1446 r1452 35 35 #include "CoreSettings.h" 36 36 #include "ConsoleCommand.h" 37 #include "Shell.h" 37 38 38 39 namespace orxonox … … 83 84 { 84 85 return CoreSettings::getSoftDebugLevel(device); 86 } 87 88 /** 89 @brief Returns the Shell's OutputBuffer. This is mere placed here to avoid 90 recompiling the entire project when Shell.h changes. 91 @return The OutputBuffer of the Shell 92 */ 93 OutputBuffer& OutputHandler::getShellOutputBuffer() 94 { 95 return Shell::getInstance().getOutputBuffer(); 85 96 } 86 97 -
code/branches/network/src/core/OutputHandler.h
r1446 r1452 44 44 #include <string> 45 45 46 #include " Shell.h"46 #include "OutputBuffer.h" 47 47 48 48 namespace orxonox … … 95 95 96 96 static int getSoftDebugLevel(OutputHandler::OutputDevice device); 97 98 OutputBuffer& getShellOutputBuffer(); 97 99 98 100 template <class T> … … 157 159 158 160 if (OutputHandler::getSoftDebugLevel(OutputHandler::LD_Shell) >= this->outputLevel_) 159 Shell::getInstance().getOutputBuffer() << output;161 OutputHandler::getOutStream().getShellOutputBuffer() << output; 160 162 161 163 return *this; … … 181 183 182 184 if (OutputHandler::getSoftDebugLevel(OutputHandler::LD_Shell) >= out.getOutputLevel()) 183 Shell::getInstance().getOutputBuffer() << output;185 OutputHandler::getOutStream().getShellOutputBuffer() << output; 184 186 185 187 return out;
Note: See TracChangeset
for help on using the changeset viewer.