7 #ifndef BALL_PYTHON_PYINTERPRETER_H
8 #define BALL_PYTHON_PYINTERPRETER_H
14 #ifndef BALL_DATAYPE_STRING_H
18 #ifndef BALL_SYSTEM_PATH_H
24 #include <QtCore/QList>
25 #include <QtCore/QPair>
26 #include <QtCore/QString>
61 static void initialize();
67 static void finalize();
72 static bool isInitialized();
75 static void setSysPath(
const PathStrings& path_strings);
78 static const PathStrings& getSysPath();
110 static bool importModule(
const String& module_name);
113 static bool execute(
const QString& module,
const QString& func,
const QList<QPair<QString, QString> >& params);
123 #endif // BALL_PYTHON_PYINTERPRETER_H
static PathStrings sys_path_
static String getStartupLog()
std::vector< String > PathStrings
Used to encode the individual paths appended to sys.path for dynamic loading of modules.
-*- Mode: C++; tab-width: 2; -*-