Changeset 5147 in orxonox.OLD for trunk/src/util/shell_command.h
- Timestamp:
- Aug 27, 2005, 2:51:14 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/shell_command.h
r5146 r5147 70 70 #define ShellCommandExecute1(t1) \ 71 71 else if (this->paramCount == 1 && this->parameters[0] == t1##_PARAM) \ 72 (dynamic_cast<T*>(object)->*functionPointer_1_##t1)( 0)//t1##_FUNC(parameters, 0))72 (dynamic_cast<T*>(object)->*functionPointer_1_##t1)(t1##_FUNC(parameters, 0)) 73 73 74 74 … … 159 159 virtual void executeCommand (BaseObject* object, const char* parameters) 160 160 { 161 SubString params(parameters, ','); 161 if (parameters != NULL) 162 SubString params(parameters, ','); 162 163 #define FUNCTOR_LIST(x) ShellCommandExecute ## x 163 164 //#include "functor_list.h"
Note: See TracChangeset
for help on using the changeset viewer.