1 #ifndef BALL_PYTHON_PYINTERPRETER_H
2 #define BALL_PYTHON_PYINTERPRETER_H
13 #include <QtCore/QList>
14 #include <QtCore/QPair>
15 #include <QtCore/QString>
50 static void initialize();
56 static void finalize();
91 static std::pair<bool, std::string> run(
const std::string& s);
111 static bool execute(
const std::string& module,
const std::string& func,
const PyKernel::KeyValArgs& params);
118 static std::string getErrorMessage();
121 BALL_DEPRECATED static bool execute(
const QString& module,
const QString& func,
const QList<QPair<QString, QString> >& params);
132 static void startServer();
137 static void stopServer();
155 #endif // BALL_PYTHON_PYINTERPRETER_H