Changeset 7282 for code/branches/consolecommands3/src/libraries
- Timestamp:
- Aug 31, 2010, 2:26:53 AM (14 years ago)
- Location:
- code/branches/consolecommands3/src/libraries/core/command
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/consolecommands3/src/libraries/core/command/CommandEvaluation.h
r7238 r7282 61 61 { return (this->execCommand_ != 0); } 62 62 63 inline ConsoleCommand* getConsoleCommand() const63 inline const ConsoleCommand* getConsoleCommand() const 64 64 { return this->execCommand_; } 65 65 … … 90 90 static std::string getCommonBegin(const ArgumentCompletionList& list); 91 91 92 ConsoleCommand* execCommand_;93 ConsoleCommand* hintCommand_;92 const ConsoleCommand* execCommand_; 93 const ConsoleCommand* hintCommand_; 94 94 SubString tokens_; 95 95 std::string string_; -
code/branches/consolecommands3/src/libraries/core/command/ConsoleCommand.cc
r7272 r7282 415 415 } 416 416 417 /* static */ ConsoleCommand* ConsoleCommand::getCommand(const std::string& group, const std::string& name, bool bPrintError)417 /* static */ const ConsoleCommand* ConsoleCommand::getCommand(const std::string& group, const std::string& name, bool bPrintError) 418 418 { 419 419 std::map<std::string, std::map<std::string, ConsoleCommand*> >::const_iterator it_group = ConsoleCommand::getCommandMap().find(group); … … 436 436 } 437 437 438 /* static */ ConsoleCommand* ConsoleCommand::getCommandLC(const std::string& group, const std::string& name, bool bPrintError)438 /* static */ const ConsoleCommand* ConsoleCommand::getCommandLC(const std::string& group, const std::string& name, bool bPrintError) 439 439 { 440 440 std::string groupLC = getLowercase(group); -
code/branches/consolecommands3/src/libraries/core/command/ConsoleCommand.h
r7272 r7282 336 336 { return ConsoleCommand::getCommandMapLC(); } 337 337 338 static inline ConsoleCommand* getCommand(const std::string& name, bool bPrintError = false)338 static inline const ConsoleCommand* getCommand(const std::string& name, bool bPrintError = false) 339 339 { return ConsoleCommand::getCommand("", name, bPrintError); } 340 static inline ConsoleCommand* getCommandLC(const std::string& name, bool bPrintError = false)340 static inline const ConsoleCommand* getCommandLC(const std::string& name, bool bPrintError = false) 341 341 { return ConsoleCommand::getCommandLC("", name, bPrintError); } 342 342 343 static ConsoleCommand* getCommand(const std::string& group, const std::string& name, bool bPrintError = false);344 static ConsoleCommand* getCommandLC(const std::string& group, const std::string& name, bool bPrintError = false);343 static const ConsoleCommand* getCommand(const std::string& group, const std::string& name, bool bPrintError = false); 344 static const ConsoleCommand* getCommandLC(const std::string& group, const std::string& name, bool bPrintError = false); 345 345 346 346 static void destroyAll(); -
code/branches/consolecommands3/src/libraries/core/command/TclThreadManager.h
r7281 r7282 38 38 39 39 #include "util/Singleton.h" 40 #include "core/OrxonoxClass.h"41 40 42 41 struct Tcl_Interp;
Note: See TracChangeset
for help on using the changeset viewer.