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