Add the python wrapper changes for the new setURL method

This commit is contained in:
Thomas Tanner
2015-10-15 19:06:04 +01:00
parent 3648690c5e
commit 27704407a3
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -763,6 +763,7 @@ BOOST_PYTHON_MODULE(mobase)
.def("extractFile", bpy::pure_virtual(&IInstallationManager::extractFile))
.def("extractFiles", bpy::pure_virtual(&IInstallationManager::extractFiles))
.def("installArchive", bpy::pure_virtual(&IInstallationManager::installArchive))
.def("setURL", bpy::pure_virtual(&IInstallationManager::setURL))
;
bpy::class_<IModInterfaceWrapper, boost::noncopyable>("IModInterface")
+1
View File
@@ -255,6 +255,7 @@ struct IInstallationManagerWrapper: MOBase::IInstallationManager, boost::python:
virtual QString extractFile(const QString &fileName) { return this->get_override("extractFile")(fileName); }
virtual QStringList extractFiles(const QStringList &files, bool flatten) { return this->get_override("extractFiles")(files, flatten); }
virtual MOBase::IPluginInstaller::EInstallResult installArchive(MOBase::GuessedValue<QString> &modName, const QString &archiveFile) { return this->get_override("installArchive")(modName, archiveFile); }
virtual void setURL(QString const &url) { this->get_override("setURL")(url); }
};
struct IGameInfoWrapper: MOBase::IGameInfo, boost::python::wrapper<MOBase::IGameInfo>