Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Nov 26, 2005, 8:48:11 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: shell without tList now

File:
1 edited

Legend:

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

    r5344 r5784  
    1212#include "text.h"
    1313#include "event_listener.h"
     14#include <list>
    1415
    1516// FORWARD DECLARATION
    16 template<class T> class tList;
    17 template<class T> class tIterator;
    1817class ShellCompletion;
    1918
     
    5554 private:
    5655    // HANDLING TEXT INPUT
    57    ShellCompletion*         completion;             //!< The Completion Interface.
     56   ShellCompletion*            completion;             //!< The Completion Interface.
    5857
    59    char*                    inputLine;              //!< the Char-Array of the Buffer
    60    float                    repeatRate;             //!< The Repeat-Delay.
    61    float                    repeatDelay;            //!< The delay of the first Character of a given Character.
    62    float                    delayed;                //!< how much of the delay is remaining.
    63    int                      pressedKey;             //!< the pressed key that will be repeated.
     58   char*                       inputLine;              //!< the Char-Array of the Buffer
     59   float                       repeatRate;             //!< The Repeat-Delay.
     60   float                       repeatDelay;            //!< The delay of the first Character of a given Character.
     61   float                       delayed;                //!< how much of the delay is remaining.
     62   int                         pressedKey;             //!< the pressed key that will be repeated.
    6463
    65    tList<char>*             history;                //!< The history of given commands.
    66    tIterator<char>*         historyIT;
    67    unsigned int             historyLength;          //!< The maximum length of the InputHistory.
    68    bool                     historyScrolling;       //!< true if we are scrolling through the history.
     64   std::list<char*>            history;                //!< The history of given commands.
     65   std::list<char*>::iterator  historyIT;
     66   unsigned int                historyLength;          //!< The maximum length of the InputHistory.
     67   bool                        historyScrolling;       //!< true if we are scrolling through the history.
    6968};
    7069
Note: See TracChangeset for help on using the changeset viewer.