Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8144 in orxonox.OLD for branches/gui/src/lib/shell


Ignore:
Timestamp:
Jun 4, 2006, 7:55:55 PM (19 years ago)
Author:
bensch
Message:

gui: better debugging system

Location:
branches/gui/src/lib/shell
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/shell/shell_buffer.cc

    r8123 r8144  
    6464   * @param line the Line as in the first argument in printf
    6565   */
    66   bool ShellBuffer::addBufferLineStatic(const char* line, ...)
     66  void ShellBuffer::addBufferLineStatic(const char* line, ...)
    6767  {
    6868    static OrxThread::Mutex ShellBuffer__bufferMutex;
     
    8585#endif
    8686      ShellBuffer::singletonRef->addBufferLine(ShellBuffer::bufferArray);
    87     return true;
    8887  }
    8988
  • branches/gui/src/lib/shell/shell_buffer.h

    r8123 r8144  
    3232    inline static bool isInstanciated() { return (ShellBuffer::singletonRef == NULL)?false:true; };
    3333
    34     static bool addBufferLineStatic(const char* line, ...);
     34    static void addBufferLineStatic(const char* line, ...);
    3535    void addBufferLine(const char* line);
    3636
  • branches/gui/src/lib/shell/shell_command.h

    r7742 r8144  
    3434   * $ ClassName [ObjectName] commandNameInShell [parameters]
    3535   */
    36   //#define SHELL_COMMAND(command, class, function) \
    37   //        ShellCommand* shell_command_##class##_##command = ShellCommand<class>::registerCommand(#command, #class, &class::function)
    3836#define SHELL_COMMAND(command, class, function) \
    3937           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.