27 #ifndef PYTHON_INTERPRETER_HH
28 #define PYTHON_INTERPRETER_HH
39 namespace ost {
namespace gui {
40 namespace bp = boost::python;
92 void Output(
unsigned int id,
const QString& output);
94 void Finished(
unsigned int id,
bool error_state);
void Start()
start/continue execution of Python commands
void Output(unsigned int id, const QString &output)
void Stop()
stop execution of Python commands
bp::object GetMainModule() const
void AppendCommandlineArgument(const QString &arg)
CodeBlockStatus GetCodeBlockStatus(const QString &command)
Get code block status.
static PythonInterpreter & Instance()
unsigned int RunScript(const QString &script)
execute python command
bp::dict GetMainNamespace() const
unsigned int RunCommand(const QString &command)
bp::object compile_command_
void Finished(unsigned int id, bool error_state)
PythonInterpreterWorker worker_
void AppendModulePath(const QString &entry)
void ErrorOutput(unsigned int id, const QString &output)
void StopScript()
stop script execution
#define DLLEXPORT_OST_GUI