Changeset 5130 in orxonox.OLD for trunk/src/util/shell.cc
- Timestamp:
- Aug 26, 2005, 12:04:43 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/shell.cc
r5129 r5130 76 76 evh->subscribe(this, ES_SHELL, i); 77 77 78 79 // this->registerCommand("clear", Shell::) 78 //void ShellCommand<T>::registerCommand(const char* commandName, ClassID classID, T* object, void* functionPointer, unsigned int paramCount, ...) 79 80 ShellCommand<Shell>::registerCommand("clear", CL_NULL, this, &Shell::clear, 0, 1); 80 81 } 81 82 … … 458 459 if (!strcmp(this->inputLine, "clear")) 459 460 { 460 this->flushBuffers(); 461 this->addBufferLine("orxonox - shell\n ==================== \n", NULL); 461 this->clear(); 462 462 } 463 463 … … 465 465 466 466 return false; 467 } 468 469 void Shell::clear() 470 { 471 this->flushBuffers(); 472 this->addBufferLine("orxonox - shell\n ==================== \n", NULL); 467 473 } 468 474
Note: See TracChangeset
for help on using the changeset viewer.