Merge branch 'issue/418' of https://github.com/ThosRTanner/modorganizer-plugin_python into ThosRTanner-issue/418

Conflicts:
	src/runner/uibasewrappers.h
This commit is contained in:
Tannin
2016-02-10 18:55:18 +01:00
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -729,6 +729,7 @@ BOOST_PYTHON_MODULE(mobase)
.def("refreshModList", bpy::pure_virtual(&IOrganizer::refreshModList))
.def("profile", bpy::pure_virtual(&IOrganizer::profile), bpy::return_value_policy<bpy::return_by_value>())
.def("managedGame", bpy::pure_virtual(&IOrganizer::managedGame), bpy::return_value_policy<bpy::reference_existing_object>())
.def("modsSortedByProfilePriority", bpy::pure_virtual(&IOrganizer::modsSortedByProfilePriority))
;
bpy::class_<IProfileWrapper, boost::noncopyable>("IProfile")
+1
View File
@@ -230,6 +230,7 @@ struct IOrganizerWrapper: MOBase::IOrganizer, boost::python::wrapper<MOBase::IOr
virtual bool onModInstalled(const std::function<void(const QString&)> &func) override { return this->get_override("onModInstalled")(func); }
virtual MOBase::IProfile *profile() const override { return this->get_override("profile")(); }
virtual MOBase::IPluginGame const *managedGame() const override { return this->get_override("managedGame")(); }
virtual QStringList modsSortedByProfilePriority() const override { return this->get_override("modsSortedByProfilePriority")(); }
};
struct IProfileWrapper: MOBase::IProfile, boost::python::wrapper<MOBase::IProfile>