Ignore:
Timestamp:
06/04/12 21:48:13 (12 years ago)
Author:
tbretz
Message:
Added something to the EventHook which allows to post command from the outside.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Readline.h

    r14057 r14069  
    3131    static int  fScriptDepth;
    3232    static bool fStopScript;
     33
     34    static std::string fExternalInput;
    3335
    3436    /// Static member function which are used to adapt readline to ncurses
     
    110112    static bool  IsScriptStopped() { return fStopScript; }
    111113    static int   GetScriptDepth() { return fScriptDepth; }
     114    static void  SetExternalInput(const std::string &inp) { fExternalInput = inp; }
    112115
    113116    static std::string GetScript() { return fScript; }
     117    static std::string GetExternalInput() { return fExternalInput; }
    114118
    115119    int GetLine() const { return fLine; }
Note: See TracChangeset for help on using the changeset viewer.