Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Apr 26, 2006, 11:19:29 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: fixed a notNULL definition

File:
1 edited

Legend:

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

    r7386 r7388  
    88
    99#include "base_object.h"
    10 #include <list>
     10#include <vector>
    1111
    1212
     
    4141    static void initCommandClassList();
    4242
     43    void registerCommand(ShellCommand* command);
     44    void unregisterCommand(ShellCommand* command);
     45
    4346  private:
    4447    const std::string                      className;                 //!< The Name of the Class. This should match the ClassName of the Commands Class.
    4548    long                                   classID;                   //!< The classID of this Class
    46     std::list<ShellCommand*>               commandList;               //!< A list of Commands from this Class
     49    std::vector<ShellCommand*>             commandList;               //!< A list of Commands from this Class
    4750    static std::list<ShellCommandClass*>*  commandClassList;          //!< A list of Classes
    48     static std::list<ShellCommandAlias*>*  aliasList;                 //!< An Alias to A Command. (only for classes with one Instance)
     51    static std::list<ShellCommandAlias*>*  aliasList;                 //!< A list of Aliases to A Commands.
    4952  };
    5053
Note: See TracChangeset for help on using the changeset viewer.