Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7406 in orxonox.OLD for trunk


Ignore:
Timestamp:
Apr 27, 2006, 6:37:38 PM (19 years ago)
Author:
bensch
Message:

sync

Location:
trunk/src/lib/shell
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell_completion.cc

    r7404 r7406  
    4646  /**
    4747   * @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.
    4949   * @returns true, if a result was found, false otherwise
    5050   */
    5151  bool ShellCompletion::autoComplete(std::string& input)
    5252  {
    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 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.
     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.
    5858
    5959
  • trunk/src/lib/shell/shell_completion.h

    r7403 r7406  
    4949
    5050    private:
    51       //  long classMatch(const char* input, unsigned int* length);
    5251      bool objectComplete(const std::string& objectBegin, long classID);
    53       //  bool objectMatch(const char* objectBegin, long classID, unsigned int* length);
    5452      bool commandComplete(const std::string& commandBegin, const std::string& className);
    55       //  bool functionMatch(const char* functionBegin, long classID, unsigned int* length);
    5653      bool aliasComplete(const std::string& aliasBegin);
    5754
  • trunk/src/lib/shell/shell_completion_plugin.h

    r7387 r7406  
    8787  };
    8888
    89 
    90 
    91 
    92 
    93   //! A class for Completing the an InputString.
    94   class CompletionPlugin
    95   {
    96     private:
    97 
    98     public:
    99       CompletionPlugin();
    100 
    101 
    102   };
    103 
    10489}
    10590#endif /* _SHELL_COMPLETION_PLUGIN_H */
Note: See TracChangeset for help on using the changeset viewer.