Changeset 15102


Ignore:
Timestamp:
03/18/13 14:55:56 (9 years ago)
Author:
tbretz
Message:
Signal the base class about loading and ending so that it can access the readline script depth.
File:
1 edited

Legend:

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

    r15079 r15102  
    162162    // ============ Pseudo-callback interface for the JavaScrip engine =======
    163163
    164     void  JsLoad(const std::string &)         { SetSection(-3); }
     164    void  JsLoad(const std::string &)         { SetSection(-3); InterpreterV8::JsLoad(); }
    165165    void  JsStart(const std::string &)        { SetSection(-2); }
    166     void  JsEnd(const std::string &)          { UnsubscribeAll(); SetSection(-4); }
     166    void  JsEnd(const std::string &)          { UnsubscribeAll(); InterpreterV8::JsEnd(); SetSection(-4); }
    167167    bool  JsSend(const std::string &str)      { return ProcessCommand(str, false); }
    168168    void  JsOut(const std::string &msg)       { lin << msg << endl; }
Note: See TracChangeset for help on using the changeset viewer.