Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 16, 2005, 7:23:40 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: ShellCommand availiable again, in orxonox-mode, but unavailiable in subproject Network

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/shell/shell_command.h

    r5391 r5619  
    3535 * $ ClassName [ObjectName] commandNameInShell [parameters]
    3636 */
     37#ifndef NO_SHELL_COMMAND
    3738#define SHELL_COMMAND(command, class, function) \
    3839        ShellCommandBase* shell_command_##class##_##command = ShellCommand<class>::registerCommand(#command, #class, &class::function)
     
    5253#define SHELL_COMMAND_STATIC(command, class, function) \
    5354                         ShellCommandBase* shell_command_##class##_##command = ShellCommandStatic<class>::registerCommand(#command, #class, function)
    54 
     55#else /* NO_SHELL_COMMAND */
     56#define SHELL_COMMAND(NO, NO2, NO3)
     57#define SHELL_COMMAND_STATIC(NO1, NO2, NO3)
     58#endif /* NO_SHELL_COMMAND */
    5559
    5660//! an enumerator for the definition of the Type.
Note: See TracChangeset for help on using the changeset viewer.