Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Nov 18, 2005, 7:04:02 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: using Executor successfully (but with runtime-errors)

File:
1 edited

Legend:

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

    r5636 r5637  
    120120
    121121  protected:
    122     ShellCommand(const char* commandName, const char* className, unsigned int paramCount, ...);
     122    ShellCommand(const char* commandName, const char* className, Executor* executor);
    123123    ~ShellCommand();
    124124
     
    126126    inline ShellCommand_Type getType() { return this->functorType; };
    127127
    128     static bool isRegistered(const char* commandName, const char* className, unsigned int paramCount, ...);
     128    static bool isRegistered(const char* commandName, const char* className, Executor* executor);
    129129    static const char* paramToString(long parameter);
    130 
    131   private:
    132     /** executes a Command @param object the object to apply this to @param parameters the parameters the command takes */
    133     virtual void executeCommand (BaseObject* object, const char* parameters) = 0;
    134130
    135131  protected:
Note: See TracChangeset for help on using the changeset viewer.