Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5164 in orxonox.OLD for trunk/src/lib/shell/shell_command.h


Ignore:
Timestamp:
Sep 5, 2005, 11:02:09 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: ability to describe the presented options :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell_command.h

    r5163 r5164  
    2323
    2424#define SHELL_COMMAND(command, class, function) \
    25         ShellCommand<class>* shell_command_##class##_##command = ShellCommand<class>::registerCommand(#command, #class, &class::function)
     25        ShellCommandBase* shell_command_##class##_##command = ShellCommand<class>::registerCommand(#command, #class, &class::function)
    2626
    2727
     
    3535    static bool execute (const char* executionString);
    3636
     37    ShellCommandBase* describe(const char* description);
     38
    3739    static const tList<ShellCommandBase>* getCommandList() { return ShellCommandBase::commandList; };
    3840
     
    6567//    long                             classID;             //!< The ID of the Class associated to this Command
    6668    const char*                      className;                            //!< The Name of the Class associated to this Command
     69
     70    const char*                      description;
    6771
    6872    // STATIC MEMBERS
Note: See TracChangeset for help on using the changeset viewer.