Update for archive invalidation changes

This commit is contained in:
LostDragonist
2018-12-05 06:34:30 -06:00
parent 69ff972b12
commit f6d41a1a81
4 changed files with 9 additions and 1 deletions
+6 -1
View File
@@ -23,13 +23,18 @@ bool BSAInvalidationWrapper::isInvalidationBSA(const QString &bsaName)
void BSAInvalidationWrapper::deactivate(MOBase::IProfile *profile)
{
basicWrapperFunctionImplementation<BSAInvalidationWrapper, void>(this, "deactivate", boost::python::ptr(profile));
return basicWrapperFunctionImplementation<BSAInvalidationWrapper, void>(this, "deactivate", boost::python::ptr(profile));
}
void BSAInvalidationWrapper::activate(MOBase::IProfile *profile)
{
return basicWrapperFunctionImplementation<BSAInvalidationWrapper, void>(this, "activate", boost::python::ptr(profile));
}
void BSAInvalidationWrapper::prepareProfile(MOBase::IProfile *profile)
{
return basicWrapperFunctionImplementation<BSAInvalidationWrapper, void>(this, "prepareProfile", boost::python::ptr(profile));
}
/// end BSAInvalidation Wrapper
/////////////////////////////
/// DataArchives Wrapper
+1
View File
@@ -24,6 +24,7 @@ public:
virtual bool isInvalidationBSA(const QString &bsaName) override;
virtual void deactivate(MOBase::IProfile *profile) override;
virtual void activate(MOBase::IProfile *profile) override;
virtual void prepareProfile(MOBase::IProfile *profile) override;
};
class DataArchivesWrapper : public DataArchives, public boost::python::wrapper<DataArchives>
+1
View File
@@ -995,6 +995,7 @@ BOOST_PYTHON_MODULE(mobase)
.def("absolutePath", bpy::pure_virtual(&IProfile::absolutePath))
.def("localSavesEnabled", bpy::pure_virtual(&IProfile::localSavesEnabled))
.def("localSettingsEnabled", bpy::pure_virtual(&IProfile::localSettingsEnabled))
.def("invalidationActive", bpy::pure_virtual(&IProfile::invalidationActive))
;
bpy::class_<ModRepositoryBridgeWrapper, boost::noncopyable>("ModRepositoryBridge")
+1
View File
@@ -371,6 +371,7 @@ struct IProfileWrapper: MOBase::IProfile, boost::python::wrapper<MOBase::IProfil
virtual QString absolutePath() const override { return this->get_override("absolutePath")(); }
virtual bool localSavesEnabled() const override { return this->get_override("localSavesEnabled")(); }
virtual bool localSettingsEnabled() const override { return this->get_override("localSettingsEnabled")(); }
virtual bool invalidationActive(bool *supported) const override { return this->get_override("invalidationActive")(supported); }
};
struct IDownloadManagerWrapper: MOBase::IDownloadManager, boost::python::wrapper<MOBase::IDownloadManager>