Changeset 1662 for code/branches/gui/src/core
- Timestamp:
- Aug 19, 2008, 8:12:15 PM (16 years ago)
- Location:
- code/branches/gui/src/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/core/ConsoleCommand.cc
r1505 r1662 31 31 namespace orxonox 32 32 { 33 ConsoleCommand::ConsoleCommand(Functor Static* functor, const std::string& name) : ExecutorStatic(functor, name)33 ConsoleCommand::ConsoleCommand(Functor* functor, const std::string& name) : Executor(functor, name) 34 34 { 35 35 this->accessLevel_ = AccessLevel::None; -
code/branches/gui/src/core/ConsoleCommand.h
r1549 r1662 70 70 } 71 71 72 class _CoreExport ConsoleCommand : public Executor Static72 class _CoreExport ConsoleCommand : public Executor 73 73 { 74 74 public: 75 ConsoleCommand(Functor Static* functor, const std::string& name = "");75 ConsoleCommand(Functor* functor, const std::string& name = ""); 76 76 77 77 inline ConsoleCommand& setDescription(const std::string& description) 78 { this->Executor Static::setDescription(description); return (*this); }78 { this->Executor::setDescription(description); return (*this); } 79 79 inline ConsoleCommand& setDescriptionParam(int param, const std::string& description) 80 { this->Executor Static::setDescriptionParam(param, description); return (*this); }80 { this->Executor::setDescriptionParam(param, description); return (*this); } 81 81 inline ConsoleCommand& setDescriptionReturnvalue(const std::string& description) 82 { this->Executor Static::setDescriptionReturnvalue(description); return (*this); }82 { this->Executor::setDescriptionReturnvalue(description); return (*this); } 83 83 inline ConsoleCommand& setDefaultValues(const MultiTypeMath& param1) 84 { this->Executor Static::setDefaultValues(param1); return (*this); }84 { this->Executor::setDefaultValues(param1); return (*this); } 85 85 inline ConsoleCommand& setDefaultValues(const MultiTypeMath& param1, const MultiTypeMath& param2) 86 { this->Executor Static::setDefaultValues(param1, param2); return (*this); }86 { this->Executor::setDefaultValues(param1, param2); return (*this); } 87 87 inline ConsoleCommand& setDefaultValues(const MultiTypeMath& param1, const MultiTypeMath& param2, const MultiTypeMath& param3) 88 { this->Executor Static::setDefaultValues(param1, param2, param3); return (*this); }88 { this->Executor::setDefaultValues(param1, param2, param3); return (*this); } 89 89 inline ConsoleCommand& setDefaultValues(const MultiTypeMath& param1, const MultiTypeMath& param2, const MultiTypeMath& param3, const MultiTypeMath& param4) 90 { this->Executor Static::setDefaultValues(param1, param2, param3, param4); return (*this); }90 { this->Executor::setDefaultValues(param1, param2, param3, param4); return (*this); } 91 91 inline ConsoleCommand& setDefaultValues(const MultiTypeMath& param1, const MultiTypeMath& param2, const MultiTypeMath& param3, const MultiTypeMath& param4, const MultiTypeMath& param5) 92 { this->Executor Static::setDefaultValues(param1, param2, param3, param4, param5); return (*this); }92 { this->Executor::setDefaultValues(param1, param2, param3, param4, param5); return (*this); } 93 93 inline ConsoleCommand& setDefaultValue(unsigned int index, const MultiTypeMath& param) 94 { this->Executor Static::setDefaultValue(index, param); return (*this); }94 { this->Executor::setDefaultValue(index, param); return (*this); } 95 95 96 96 inline ConsoleCommand& setAccessLevel(AccessLevel::Level level) … … 135 135 }; 136 136 137 inline ConsoleCommand* createConsoleCommand(Functor Static* functor, const std::string& name = "")137 inline ConsoleCommand* createConsoleCommand(Functor* functor, const std::string& name = "") 138 138 { 139 139 return new ConsoleCommand(functor, name);
Note: See TracChangeset
for help on using the changeset viewer.