Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5075 in orxonox.OLD for trunk/src/util/shell.h


Ignore:
Timestamp:
Aug 19, 2005, 3:21:27 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: redirected all printf-output to the shell
This is just for testing purposes, and will be changed again in the future (perhaps)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/shell.h

    r5074 r5075  
    1010#include "event_listener.h"
    1111
    12 #include <stdio.h>
    1312#include <stdarg.h>
    14 
    1513
    1614// FORWARD DECLARATION
     
    4442    // BUFFER //
    4543    void flushBuffers();
    46     void addBufferLine(const char* Line, va_list args);
     44    static bool addBufferLineStatic(const char* line, ...);
     45    void addBufferLine(const char* line, va_list arg);
    4746    void moveBuffer(int lineCount);
    4847    const char* getBufferLine(unsigned int lineNumber);
     
    8180    tList<Text>*           bufferText;             //!< A list of stored bufferTexts for the display of the buffer
    8281    Text*                  inputLineText;          //!< The inputLine of the Shell
     82
     83    char                   bufferArray[10000];     //!< a BUFFER for fast writing
     84
    8385};
    8486
Note: See TracChangeset for help on using the changeset viewer.