Changeset 14499 for trunk/FACT++/src


Ignore:
Timestamp:
10/19/12 14:32:39 (12 years ago)
Author:
tbretz
Message:
Added th possibility to disable the alarm state.
Location:
trunk/FACT++/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/InterpreterV8.cc

    r14497 r14499  
    271271            JsAlarm(*str);
    272272    }
     273
     274    if (args.Length()==0)
     275        JsAlarm();
     276
    273277    return Undefined();
    274278}
  • trunk/FACT++/src/InterpreterV8.h

    r14497 r14499  
    8686    virtual void  JsEnd(const std::string &) { }
    8787    virtual void  JsPrint(const std::string &) { }
    88     virtual void  JsAlarm(const std::string &) { }
     88    virtual void  JsAlarm(const std::string & = "") { }
    8989    virtual void  JsOut(const std::string &) { }
    9090    virtual void  JsResult(const std::string &) { }
Note: See TracChangeset for help on using the changeset viewer.