Changeset 9692 in orxonox.OLD for branches/new_class_id/src/lib/shell/shell_command_class.cc
- Timestamp:
- Aug 23, 2006, 12:43:25 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/shell/shell_command_class.cc
r9406 r9692 21 21 22 22 #include "debug.h" 23 #include "class_list.h"24 23 #include "compiler.h" 25 24 … … 28 27 namespace OrxShell 29 28 { 29 NewObjectListDefinition(ShellCommandClass); 30 30 31 CmdClassList* ShellCommandClass::commandClassList = NULL; 31 32 … … 35 36 */ 36 37 ShellCommandClass::ShellCommandClass(const std::string& className) 37 : className(className)38 { 39 this-> setClassID(CL_SHELL_COMMAND_CLASS, "ShellCommandClass");38 : _className(className) 39 { 40 this->registerObject(this, ShellCommandClass::_objectList); 40 41 this->setName(className); 41 42
Note: See TracChangeset
for help on using the changeset viewer.