Changeset 1634 for code/branches/gcc43/src/core/Shell.h
- Timestamp:
- Jun 29, 2008, 7:36:33 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gcc43/src/core/Shell.h
r1535 r1634 72 72 73 73 void setInputBuffer(InputBuffer* buffer); 74 inlineInputBuffer& getInputBuffer()74 InputBuffer& getInputBuffer() 75 75 { return (*this->inputBuffer_); } 76 inlineOutputBuffer& getOutputBuffer()76 OutputBuffer& getOutputBuffer() 77 77 { return this->outputBuffer_; } 78 78 79 79 void setCursorPosition(unsigned int cursor); 80 inlineunsigned int getCursorPosition() const80 unsigned int getCursorPosition() const 81 81 { return this->inputBuffer_->getCursorPosition(); } 82 82 83 83 void setInput(const std::string& input); 84 84 85 inlinevoid clearInput()85 void clearInput() 86 86 { this->setInput(""); } 87 inlinestd::string getInput() const87 std::string getInput() const 88 88 { return this->inputBuffer_->get(); } 89 89 … … 94 94 void clearLines(); 95 95 96 inlineunsigned int getNumLines() const96 unsigned int getNumLines() const 97 97 { return this->lines_.size(); } 98 inlineunsigned int getScrollPosition() const98 unsigned int getScrollPosition() const 99 99 { return this->scrollPosition_; } 100 100 101 inlinevoid addOutputLevel(bool bAddOutputLevel)101 void addOutputLevel(bool bAddOutputLevel) 102 102 { this->bAddOutputLevel_ = bAddOutputLevel; } 103 103
Note: See TracChangeset
for help on using the changeset viewer.