Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Sep 13, 2005, 11:23:34 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: ShellInput is now almost perfectly extern.
ShellCompletion taken out.
Working again :)

File:
1 edited

Legend:

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

    r5178 r5179  
    77#define _SHELL_INPUT_H
    88
     9#include "text_engine.h"
     10
    911// FORWARD DECLARATION
    10 class Text;
    1112template<class T> class tList;
    1213
    1314
    1415//! A class for ...
    15 class ShellInput {
     16class ShellInput : public Text {
    1617
    1718 public:
     
    2627  void removeCharacters(unsigned int characterCount = 1);
    2728  void setRepeatDelay(float repeatDelay, float repeatRate);
     29  bool executeCommand();
     30  const char* getInputString() const { return this->inputLine; };
    2831
    2932
    3033 private:
    3134    // HANDLING TEXT INPUT
    32    Text*                    inputLineText;          //!< The inputLine of the Shell
    3335   char*                    inputLine;              //!< the Char-Array of the Buffer
    3436   float                    repeatRate;             //!< The Repeat-Delay.
Note: See TracChangeset for help on using the changeset viewer.