- separated python proxy into two dlls. One is a wrapper without external

dependencies that fulfills the plugin interface. The other contains the actual python
functionality. This way the outer dll can always be loaded and report issues.
- The build process embeds the second dll into the first, this way only one dll has to be shipped
This commit is contained in:
Tannin
2013-09-01 18:36:43 +02:00
parent f231c9a025
commit 6d99b33c61
24 changed files with 1493 additions and 783 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef PYTHONRUNNER_H
#define PYTHONRUNNER_H
#include <QString>
#include <QObject>
#include <map>
#include <dllimport.h>
#include <imoinfo.h>
class IPythonRunner {
public:
virtual QObject *instantiate(const QString &pluginName) = 0;
virtual bool isPythonInstalled() const = 0;
virtual bool isPythonVersionSupported() const = 0;
};
extern "C" QDLLEXPORT IPythonRunner *CreatePythonRunner(const MOBase::IOrganizer *moInfo, const QString &pythonDir);
#endif // PYTHONRUNNER_H