Changeset 9769 in orxonox.OLD for branches/new_class_id/src/lib/shell
- Timestamp:
- Sep 19, 2006, 9:35:11 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/shell/shell_command.h
r9742 r9769 40 40 */ 41 41 #define SHELL_COMMAND(command, class, function) \ 42 OrxShell::ShellCommand* shell_command_##class##_##command = OrxShell::ShellCommand::registerCommand(#command, #class, createExecutor<class >(&class::function))42 OrxShell::ShellCommand* shell_command_##class##_##command = OrxShell::ShellCommand::registerCommand(#command, #class, createExecutor<class, BaseObject>(&class::function)) 43 43 44 44 /** … … 56 56 */ 57 57 #define SHELL_COMMAND_STATIC(command, class, function) \ 58 OrxShell::ShellCommand* shell_command_##class##_##command = OrxShell::ShellCommand::registerCommand(#command, #class, createExecutor<class >(function))58 OrxShell::ShellCommand* shell_command_##class##_##command = OrxShell::ShellCommand::registerCommand(#command, #class, createExecutor<class, BaseObject>(function)) 59 59 60 60
Note: See TracChangeset
for help on using the changeset viewer.