Changeset 5197 in orxonox.OLD for trunk/src/lib/shell/shell_completion.h
- Timestamp:
- Sep 18, 2005, 2:57:20 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_completion.h
r5195 r5197 15 15 #endif 16 16 17 //! an enumerator for different types the Shell can complete. 17 18 typedef enum { 18 19 SHELLC_NONE = 0, … … 23 24 } SHELLC_TYPE; 24 25 26 //! A struct for ShellElements (these are used as containers to identify an Input for what it is) 25 27 struct ShellC_Element{ 26 const char* name; //!< 27 SHELLC_TYPE type; 28 const char* name; //!< the Name of the Element to be completed. 29 SHELLC_TYPE type; //!< the type of the Element 28 30 }; 29 31 … … 37 39 bool autoComplete(ShellInput* input = NULL); 38 40 bool classComplete(const char* classBegin); 39 long classMatch(const char* input, unsigned int* length);41 // long classMatch(const char* input, unsigned int* length); 40 42 bool objectComplete(const char* objectBegin, long classID); 41 bool objectMatch(const char* objectBegin, long classID, unsigned int* length);43 // bool objectMatch(const char* objectBegin, long classID, unsigned int* length); 42 44 bool functionComplete(const char* functionBegin, long classID); 43 bool functionMatch(const char* functionBegin, long classID, unsigned int* length);45 // bool functionMatch(const char* functionBegin, long classID, unsigned int* length); 44 46 bool aliasComplete(const char* aliasBegin); 45 47 … … 52 54 private: 53 55 tList<ShellC_Element>* completionList; //!< A list of completions, that are io. 54 ShellInput* input; 56 ShellInput* input; //!< the input this completion works on. 55 57 }; 56 58
Note: See TracChangeset
for help on using the changeset viewer.