Changeset 1663 for code/branches/gui/src/core
- Timestamp:
- Aug 20, 2008, 10:30:28 PM (16 years ago)
- Location:
- code/branches/gui/src/core
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/core/CorePrereqs.h
r1638 r1663 102 102 class CommandEvaluation; 103 103 class CommandExecutor; 104 class CommandLine; 105 class BaseCommandLineArgument; 106 template <class T> 107 class CommandLineArgument; 104 108 class ConfigFile; 105 109 class ConfigFileEntry; -
code/branches/gui/src/core/Exception.h
r1660 r1663 59 59 General, 60 60 FileNotFound, 61 Argument, 61 62 PluginsNotFound, 62 63 InitialisationFailed, … … 119 120 RETURN_EXCEPTION_CODE(General) 120 121 RETURN_EXCEPTION_CODE(FileNotFound); 122 RETURN_EXCEPTION_CODE(Argument); 121 123 RETURN_EXCEPTION_CODE(PluginsNotFound); 122 124 RETURN_EXCEPTION_CODE(InitialisationFailed); … … 132 134 CREATE_ORXONOX_EXCEPTION(General); 133 135 CREATE_ORXONOX_EXCEPTION(FileNotFound); 136 CREATE_ORXONOX_EXCEPTION(Argument); 134 137 CREATE_ORXONOX_EXCEPTION(PluginsNotFound); 135 138 CREATE_ORXONOX_EXCEPTION(InitialisationFailed); … … 142 145 // define an assert macro that can display a message 143 146 #ifndef NDEBUG 144 #define OrxAssert( condition, errorMessage) \145 condition ? ((void)0) : (void)(orxonox::OutputHandler::getOutStream().setOutputLevel(ORX_ERROR) << errorMessage << std::endl); \146 assert( condition)147 #define OrxAssert(assertion, errorMessage) \ 148 assertion ? ((void)0) : (void)(orxonox::OutputHandler::getOutStream().setOutputLevel(ORX_ERROR) << errorMessage << std::endl); \ 149 assert(assertion) 147 150 #else 148 151 #define OrxAssert(condition, errorMessage) ((void)0)
Note: See TracChangeset
for help on using the changeset viewer.