Changeset 14986


Ignore:
Timestamp:
03/04/13 20:51:41 (12 years ago)
Author:
tbretz
Message:
Added JsResult to print the result of executed code.
File:
1 edited

Legend:

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

    r14985 r14986  
    167167    bool  JsSend(const std::string &str)      { return ProcessCommand(str, false); }
    168168    void  JsOut(const std::string &msg)       { lin << msg << endl; }
     169    void  JsResult(const std::string &msg)    { lin << kBlue << " = " << msg << '\n' << endl; }
    169170    void  JsPrint(const std::string &msg)     { if (fImp) fImp->Comment(msg.empty()?" ":msg); }
    170171    void  JsAlarm(const std::string &msg)     { if (fImp) fImp->Alarm(msg.empty()?" ":msg); }
Note: See TracChangeset for help on using the changeset viewer.