Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5245 in orxonox.OLD for trunk/src/lib/shell/shell_input.h


Ignore:
Timestamp:
Sep 24, 2005, 8:47:02 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: autoCompletion now gives a very nice output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell_input.h

    r5244 r5245  
    11/*!
    22 * @file shell_input.h
    3  * @brief Definition of ...
    4  * @todo AutoCompletion should print nice output
    5  * @todo move up and down in Buffer
    6  * @todo display old shell Commands
     3 * @brief Shell Input is an InputLine for the Shell.
    74*/
    85
     
    1815class ShellCompletion;
    1916
    20 
    21 //! A class for ...
     17//! An InputLine for the Shell
     18/**
     19 * The ShellInput has the ability to catch and display user input.
     20 * The ShellInput is auto-completed after the user presses [TAB]
     21 * The ShellInput is executed (and sent back to the Application) on Pressing [ENTER]
     22 * [UP] and [DOWN] move through the history of allready given commands.
     23 */
    2224class ShellInput : public Text,  public EventListener {
    2325
     
    3840  bool executeCommand();
    3941
     42  /** sets the count of the History's entries */
     43  void setHistoryLength(unsigned int historyLength) { this->historyLength = historyLength; };
    4044  void historyMoveUp();
    4145  void historyMoveDown();
     
    5054   ShellCompletion*         completion;             //!< The Completion Interface.
    5155
    52 
    53    char*                    inputLine;              //!< the Char-Array of the Buffer @todo not needed anymore
     56   char*                    inputLine;              //!< the Char-Array of the Buffer
    5457   float                    repeatRate;             //!< The Repeat-Delay.
    5558   float                    repeatDelay;            //!< The delay of the first Character of a given Character.
Note: See TracChangeset for help on using the changeset viewer.