15 #ifndef QGSPYTHONRUNNER_H
16 #define QGSPYTHONRUNNER_H
21 #include "qgis_core.h"
40 static bool isValid();
43 static bool run(
const QString &command,
const QString &messageOnError = QString() );
46 static bool eval(
const QString &command, QString &result
SIP_OUT );
59 virtual bool runCommand( QString command, QString messageOnError = QString() ) = 0;
61 virtual bool evalCommand( QString command, QString &result ) = 0;
66 #endif // QGSPYTHONRUNNER_H