Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Sep 7, 2005, 1:08:21 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: some more implementation

File:
1 edited

Legend:

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

    r5170 r5171  
    4545    static const tList<ShellCommandClass>* getCommandClassList() { return ShellCommandClass::commandClassList; };
    4646    static ShellCommandClass* getCommandClass(const char* className);
     47    static void unregisterAllCommands();
    4748
    4849  private:
     
    5455
    5556  private:
    56   const char*                      className;
    57   ClassID                          classID;
    58   tList<ShellCommandBase>*         commandList;
    59   static tList<ShellCommandClass>* commandClassList;                     //!< A list of Classes
     57    const char*                      className;                 //!< The Name of the Class. This should match the ClassName of the Commands Class.
     58    long                             classID;                   //!< The classID of this Class
     59    tList<ShellCommandBase>*         commandList;               //!< A list of Commands from this Class
     60    static tList<ShellCommandClass>* commandClassList;          //!< A list of Classes
    6061};
    6162
     
    7273    /** @returns the CommandList of the Shell */
    7374
    74     static void unregisterAllCommands();
    7575    static void unregisterCommand(const char* commandName, const char* className);
    7676
Note: See TracChangeset for help on using the changeset viewer.