Changeset 8144 in orxonox.OLD for branches/gui/src/lib/shell
- Timestamp:
- Jun 4, 2006, 7:55:55 PM (19 years ago)
- Location:
- branches/gui/src/lib/shell
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/shell/shell_buffer.cc
r8123 r8144 64 64 * @param line the Line as in the first argument in printf 65 65 */ 66 boolShellBuffer::addBufferLineStatic(const char* line, ...)66 void ShellBuffer::addBufferLineStatic(const char* line, ...) 67 67 { 68 68 static OrxThread::Mutex ShellBuffer__bufferMutex; … … 85 85 #endif 86 86 ShellBuffer::singletonRef->addBufferLine(ShellBuffer::bufferArray); 87 return true;88 87 } 89 88 -
branches/gui/src/lib/shell/shell_buffer.h
r8123 r8144 32 32 inline static bool isInstanciated() { return (ShellBuffer::singletonRef == NULL)?false:true; }; 33 33 34 static booladdBufferLineStatic(const char* line, ...);34 static void addBufferLineStatic(const char* line, ...); 35 35 void addBufferLine(const char* line); 36 36 -
branches/gui/src/lib/shell/shell_command.h
r7742 r8144 34 34 * $ ClassName [ObjectName] commandNameInShell [parameters] 35 35 */ 36 //#define SHELL_COMMAND(command, class, function) \37 // ShellCommand* shell_command_##class##_##command = ShellCommand<class>::registerCommand(#command, #class, &class::function)38 36 #define SHELL_COMMAND(command, class, function) \ 39 37 OrxShell::ShellCommand* shell_command_##class##_##command = OrxShell::ShellCommand::registerCommand(#command, #class, createExecutor<class>(&class::function))
Note: See TracChangeset
for help on using the changeset viewer.