119 bool externalLogging_;
132 void setCorePointer(
Core* _core );
void log(Logtype _type, QString _message)
Log with OUT,WARN or ERR as type.
void resetInterpreter()
Resets the interpreter and all states.
PythonInterpreter()
private constructor because of singleton
bool runScript(QString _script)
Run a script. Output is passed to the standard logging facilities of OpenFlipper. ...
static PythonInterpreter * getInstance()
Creates or returns an instance of the interpreter.
bool modulesInitialized()
Logtype
Log types for Message Window.
QString runScriptOutput(QString _script)
This class provides OpenFlippers Python interpreter.
void pyOutput(const char *w)
Callback to redirect cout log to OpenFlipper logger.
void pyError(const char *w)
Callback to redirect cerr log to OpenFlipper logger.
void initPython()
Initialize OpenFlipper Python Interpreter.