Changeset 7406 in orxonox.OLD for trunk/src/lib/shell/shell_completion.cc
- Timestamp:
- Apr 27, 2006, 6:37:38 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_completion.cc
r7404 r7406 46 46 /** 47 47 * @brief autocompletes the Shell's inputLine 48 * @param input the input to complete .48 * @param input the input to complete, will most possibly be changed. 49 49 * @returns true, if a result was found, false otherwise 50 50 */ 51 51 bool ShellCompletion::autoComplete(std::string& input) 52 52 { 53 long classID = CL_NULL; //< the classID retrieved from the Class.54 const std::list<BaseObject*>* objectList ;//< the list of Objects stored in classID's ClassList55 bool emptyComplete = false; //< if the completion input is empty string. e.g ""56 long completeType = NullCompletion; //< the Type we'd like to complete.57 std::string completeString = ""; //< the string to complete.53 long classID = CL_NULL; //< the classID retrieved from the Class. 54 const std::list<BaseObject*>* objectList = NULL; //< the list of Objects stored in classID's ClassList 55 bool emptyComplete = false; //< if the completion input is empty string. e.g "" 56 long completeType = NullCompletion; //< the Type we'd like to complete. 57 std::string completeString = ""; //< the string to complete. 58 58 59 59
Note: See TracChangeset
for help on using the changeset viewer.