- Timestamp:
- Apr 27, 2006, 6:37:38 PM (19 years ago)
- Location:
- trunk/src/lib/shell
- Files:
-
- 3 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 -
trunk/src/lib/shell/shell_completion.h
r7403 r7406 49 49 50 50 private: 51 // long classMatch(const char* input, unsigned int* length);52 51 bool objectComplete(const std::string& objectBegin, long classID); 53 // bool objectMatch(const char* objectBegin, long classID, unsigned int* length);54 52 bool commandComplete(const std::string& commandBegin, const std::string& className); 55 // bool functionMatch(const char* functionBegin, long classID, unsigned int* length);56 53 bool aliasComplete(const std::string& aliasBegin); 57 54 -
trunk/src/lib/shell/shell_completion_plugin.h
r7387 r7406 87 87 }; 88 88 89 90 91 92 93 //! A class for Completing the an InputString.94 class CompletionPlugin95 {96 private:97 98 public:99 CompletionPlugin();100 101 102 };103 104 89 } 105 90 #endif /* _SHELL_COMPLETION_PLUGIN_H */
Note: See TracChangeset
for help on using the changeset viewer.