Changeset 5192 in orxonox.OLD for trunk/src/lib/shell/shell_completion.h
- Timestamp:
- Sep 18, 2005, 12:49:27 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_completion.h
r5187 r5192 16 16 17 17 typedef enum { 18 SHELLC_NONE, 18 19 SHELLC_CLASS, 19 20 SHELLC_OBJECT, 20 21 SHELLC_FUNCTION, 21 22 SHELLC_ALIAS, 22 } SHELL _CTYPE;23 } SHELLC_TYPE; 23 24 24 25 struct ShellC_Element{ 25 26 const char* name; //!< 26 SHELL _CTYPE type;27 SHELLC_TYPE type; 27 28 }; 28 29 … … 42 43 bool functionMatch(const char* functionBegin, long classID, unsigned int* length); 43 44 44 bool generalComplete(const tList<ShellC_Element>* stringList, constchar* begin, const char* displayAs = "%s", const char* addBack = NULL, const char* addFront = NULL);45 bool generalComplete(const char* begin, const char* displayAs = "%s", const char* addBack = NULL, const char* addFront = NULL); 45 46 46 const tList<ShellC_Element>*addToCompleteList(const tList<const char>* inputList, const char* completionBegin);47 const tList<ShellC_Element>*addToCompleteList(const tList<BaseObject>* inputList, const char* completionBegin);47 bool addToCompleteList(const tList<const char>* inputList, const char* completionBegin); 48 bool addToCompleteList(const tList<BaseObject>* inputList, const char* completionBegin); 48 49 void emptyCompletionList(); 49 50 // const tList<const char>* createCompleteList(const tList<ShellCommandBase>* inputList, const char* completionBegin);
Note: See TracChangeset
for help on using the changeset viewer.