Changeset 5179 in orxonox.OLD for trunk/src/lib/shell/shell.h
- Timestamp:
- Sep 13, 2005, 11:23:34 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell.h
r5178 r5179 14 14 // FORWARD DECLARATION 15 15 class Text; 16 class ShellInput; 16 17 class ShellCommandBase; 17 18 template<class T> class tList; … … 51 52 void printToDisplayBuffer(const char* text); 52 53 53 // InputLine54 void flushInputLine();55 void addCharacter(char character);56 void addCharacters(const char* characters);57 void removeCharacters(unsigned int characterCount = 1);58 void setRepeatDelay(float repeatDelay, float repeatRate);59 bool executeCommand();60 61 54 void clear(); 62 55 … … 73 66 74 67 private: 75 bool autoComplete();76 bool classComplete(const char* classBegin);77 bool objectComplete(const char* objectBegin, long classID);78 bool functionComplete(const char* functionBegin);79 80 bool generalComplete(const tList<const char>* stringList, const char* begin, const char* displayAs = "%s", const char* addBack = NULL, const char* addFront = NULL);81 82 const tList<const char>* createCompleteList(const tList<const char>* inputList, const char* classNameBegin);83 const tList<const char>* createCompleteList(const tList<BaseObject>* inputList, const char* classNameBegin);84 // const tList<const char>* createCompleteList(const tList<ShellCommandBase>* inputList, const char* classNameBegin);85 68 86 69 // helpers // … … 99 82 100 83 // HANDLING TEXT INPUT 101 Text* inputLineText; //!< The inputLine of the Shell102 char* inputLine; //!< the Char-Array of the Buffer 84 ShellInput* shellInput; 85 103 86 float repeatRate; //!< The Repeat-Delay. 104 87 float repeatDelay; //!< The delay of the first Character of a given Character.
Note: See TracChangeset
for help on using the changeset viewer.