Changeset 8145 in orxonox.OLD for trunk/src/lib/shell/shell_buffer.h
- Timestamp:
- Jun 5, 2006, 11:49:26 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_buffer.h
r7762 r8145 32 32 inline static bool isInstanciated() { return (ShellBuffer::singletonRef == NULL)?false:true; }; 33 33 34 static booladdBufferLineStatic(const char* line, ...);35 void addBufferLine(const char* line , va_list arg);34 static void addBufferLineStatic(const char* line, ...); 35 void addBufferLine(const char* line); 36 36 37 37 /// BUFFER … … 56 56 unsigned int maxBufferSize; //!< The Size of the buffer 57 57 58 char bufferArray[SHELL_BUFFER_SIZE]; //!< a BUFFER for fast writing59 58 std::string keepBuffer; //!< a BUFFER to have multi-non-newLine commands be copied into the shell. 60 59 … … 62 61 63 62 // The Beginning of buffer (buffer.front()) is the last added line. 63 static char bufferArray[SHELL_BUFFER_SIZE]; //!< a BUFFER for fast writing 64 64 static std::list<std::string> buffer; //!< A list of stored char-arrays(strings) to store the history 65 65 };
Note: See TracChangeset
for help on using the changeset viewer.