Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7743 in orxonox.OLD for trunk/src/lib/shell/shell_command_class.h


Ignore:
Timestamp:
May 20, 2006, 4:03:16 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: All the ShellCommands get Registered correctly again

File:
1 edited

Legend:

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

    r7742 r7743  
    2727  public:
    2828    /** @returns the CommandClassList */
    29     static const CmdClassList& getCommandClassList() { return ShellCommandClass::commandClassList; };
     29    static const CmdClassList& getCommandClassList() { return *ShellCommandClass::commandClassList; };
    3030
    3131    static bool getCommandListOfClass(const std::string& className, std::list<std::string>& stringList);
     
    5454    CmdList                                commandList;               //!< A list of Commands from this Class
    5555
    56     static CmdClassList                    commandClassList;          //!< A list of Classes
     56    static CmdClassList*                   commandClassList;          //!< A list of Classes
    5757  };
    58 
    5958}
    6059
Note: See TracChangeset for help on using the changeset viewer.