- Timestamp:
- May 29, 2011, 10:56:57 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/unity_build/src/libraries/core/command/Shell.h
r8524 r8669 51 51 #include "core/Core.h" 52 52 #include "core/OrxonoxClass.h" 53 #include "core/input/InputBuffer.h"54 53 55 54 namespace orxonox … … 120 119 121 120 void setCursorPosition(unsigned int cursor); 122 /// Returns the current position of the cursor in the input buffer. 123 inline unsigned int getCursorPosition() const 124 { return this->inputBuffer_->getCursorPosition(); } 125 126 /// Returns the current content of the input buffer (the text which was entered by the user) 127 inline const std::string& getInput() const 128 { return this->inputBuffer_->get(); } 121 unsigned int getCursorPosition() const; 122 123 const std::string& getInput() const; 129 124 130 125 typedef std::list<std::pair<std::string, LineType> > LineList;
Note: See TracChangeset
for help on using the changeset viewer.