1 #ifndef AVR_SCRIPTENGINE_H
2 #define AVR_SCRIPTENGINE_H
11 //! Thrown if the application or script performs invalid script operation.
12 class ScriptException
: public util::Exception
{
14 ScriptException() : Exception(msg
) {}
15 ScriptException(const std::string
& msg
) : Exception(msg
) {}
16 ScriptException(const char *msg
) : Exception(msg
) {}
19 class ScriptEngine
: public script::VM
{
25 void setProgram(const Program
& program
);
26 void loadConfig(const char *filename
);
31 #endif /*SCRIPTENGINE_H_*/