Changeset 5069 in orxonox.OLD for orxonox/trunk/src/util
- Timestamp:
- Aug 18, 2005, 9:35:49 PM (19 years ago)
- Location:
- orxonox/trunk/src/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/shell.cc
r5068 r5069 112 112 } 113 113 114 /** 115 * listens for some event 116 * @param event the Event happened 117 */ 118 void Shell::process(const Event &event) 119 { 120 // if (event.type) 121 122 } 114 123 115 124 /** -
orxonox/trunk/src/util/shell.h
r5068 r5069 8 8 9 9 #include "element_2d.h" 10 #include "event_listener.h" 10 11 11 12 #include <stdio.h> … … 29 30 * @todo implement what is written above :/ 30 31 */ 31 class Shell : public Element2D {32 class Shell : public Element2D, public EventListener { 32 33 33 34 public: … … 47 48 const char* getBufferLine(unsigned int lineNumber); 48 49 49 // inputLine50 // InputLine 50 51 void flushInputLine(); 51 52 void addCharacter(char character); … … 53 54 void removeCharacters(unsigned int characterCount = 1); 54 55 56 57 // EventListener 58 virtual void process(const Event &event); 55 59 56 60 // Element2D-functions … … 73 77 char* inputLine; 74 78 75 tList<c onst char>*buffer;79 tList<char>* buffer; 76 80 77 81 tList<Text>* bufferText; //!< A list of sored bufferLines of the Shell
Note: See TracChangeset
for help on using the changeset viewer.