Merge pull request #1 from ThosRTanner/issue/308

View web pages from non-nexus installs (3 of 4)
This commit is contained in:
TanninOne
2015-12-06 17:56:42 +01:00
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -758,6 +758,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
@@ -253,6 +253,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 IModInterfaceWrapper: MOBase::IModInterface, boost::python::wrapper<MOBase::IModInterface>