Changeset 1606
- Timestamp:
- Jun 16, 2008, 7:53:40 PM (17 years ago)
- Location:
- code/branches/core3
- Files:
-
- 9 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core3/src/audio/AudioIncludes.h
r1505 r1606 47 47 #include <vorbis/vorbisfile.h> 48 48 49 #include " core/Error.h"49 #include "util/Error.h" -
code/branches/core3/src/audio/AudioManager.cc
r1586 r1606 34 34 #include "AudioSource.h" 35 35 #include "AudioStream.h" 36 #include " core/Error.h"36 #include "util/Error.h" 37 37 #include "util/Debug.h" 38 38 -
code/branches/core3/src/audio/AudioStream.cc
r1586 r1606 29 29 30 30 #include "util/Debug.h" 31 #include " core/Error.h"31 #include "util/Error.h" 32 32 33 33 namespace audio -
code/branches/core3/src/core/CMakeLists.txt
r1586 r1606 3 3 ConfigValueContainer.cc 4 4 Core.cc 5 Error.cc6 5 Language.cc 7 6 ObjectListBase.cc -
code/branches/core3/src/core/CorePrereqs.h
r1591 r1606 111 111 class ConsoleCommand; 112 112 class Core; 113 class Error;114 113 class Executor; 115 114 template <class T> … … 158 157 class XMLPortParamContainer; 159 158 160 struct ObjectListBase::Export;161 162 159 // input 163 160 //class GUIInputHandler; -
code/branches/core3/src/util/CMakeLists.txt
r1586 r1606 2 2 ArgReader.cc 3 3 Clipboard.cc 4 Error.cc 4 5 ExprParser.cc 5 6 Math.cc -
code/branches/core3/src/util/Error.cc
r1605 r1606 33 33 34 34 #include "Error.h" 35 #include " util/Debug.h"35 #include "Debug.h" 36 36 37 37 namespace orxonox … … 39 39 Error::Error(std::string errorMsg, int errorCode) 40 40 { 41 COUT(1) << "############################ " << std::endl42 << "# Error "<<errorCode<< " #"<< std::endl43 << "############################ "<< std::endl44 << "An error occured in Orxonox: "<< std::endl;41 COUT(1) << "############################ " << std::endl 42 << "# Error " << errorCode << " #" << std::endl 43 << "############################ " << std::endl 44 << "An error occured in Orxonox: " << std::endl; 45 45 46 if (errorMsg =="")46 if (errorMsg == "") 47 47 { 48 48 switch (errorCode) … … 51 51 errorMsg = "Some error!"; 52 52 break; 53 53 54 default: 54 55 errorMsg = "Unknown error!"; 55 56 } 56 57 } 57 COUT(1) << errorMsg << std::endl << std::endl;58 COUT(1) << errorMsg << std::endl << std::endl; 58 59 } 59 60 } -
code/branches/core3/src/util/Error.h
r1605 r1606 35 35 #define _Error_H__ 36 36 37 #include " CorePrereqs.h"37 #include "UtilPrereqs.h" 38 38 39 39 #include <string> … … 41 41 namespace orxonox 42 42 { 43 class _ CoreExport Error43 class _UtilExport Error 44 44 { 45 45 public: -
code/branches/core3/src/util/UtilPrereqs.h
r1586 r1606 62 62 class ArgReader; 63 63 class Convert; 64 class ExprParser; 64 65 class MultiTypePrimitive; 65 66 class MultiTypeString; 66 67 class MultiTypeMath; 67 class OutputHandler;68 68 class SubString; 69 69 … … 72 72 class OutputBuffer; 73 73 class OutputBufferListener; 74 class Error; 75 class OutputHandler; 74 76 } 75 77 -
code/branches/core3/visual_studio/vc8/core.vcproj
r1603 r1606 161 161 </File> 162 162 <File 163 RelativePath="..\..\src\core\Error.cc"164 >165 </File>166 <File167 163 RelativePath="..\..\src\core\Language.cc" 168 164 > … … 347 343 </File> 348 344 <File 349 RelativePath="..\..\src\core\Error.h"350 >351 </File>352 <File353 345 RelativePath="..\..\src\core\Language.h" 354 346 > -
code/branches/core3/visual_studio/vc8/util.vcproj
r1603 r1606 157 157 </File> 158 158 <File 159 RelativePath="..\..\src\util\Error.cc" 160 > 161 </File> 162 <File 159 163 RelativePath="..\..\src\util\ExprParser.cc" 160 164 > … … 215 219 </File> 216 220 <File 221 RelativePath="..\..\src\util\Error.h" 222 > 223 </File> 224 <File 217 225 RelativePath="..\..\src\util\ExprParser.h" 218 226 >
Note: See TracChangeset
for help on using the changeset viewer.