Changeset 7315 in orxonox.OLD for trunk/src/lib/shell/shell_buffer.h
- Timestamp:
- Apr 17, 2006, 1:32:25 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_buffer.h
r7314 r7315 41 41 void addBufferLine(const char* line, va_list arg); 42 42 /** @returns the List of stings from the Buffer */ 43 const std::list< char*>* getBuffer() const { return &this->buffer; };43 const std::list<std::string>& getBuffer() const { return this->buffer; }; 44 44 /** @returns the Count of lines processed by the Shell. */ 45 45 inline long getLineCount() const { return this->lineCount; }; … … 53 53 static ShellBuffer* singletonRef; //!< The singleton-reference to the only memeber of this class. 54 54 unsigned int bufferSize; //!< The Size of the buffer 55 std::list< char*>buffer; //!< A list of stored char-arrays(strings) to store the history55 std::list<std::string> buffer; //!< A list of stored char-arrays(strings) to store the history 56 56 57 57 Shell* shell; //!< the Registered Shell.
Note: See TracChangeset
for help on using the changeset viewer.