Add missing IPlugin inheritance in installer bindings. (#147)

This commit is contained in:
Mikaël Capelle
2025-09-30 20:22:52 +02:00
committed by GitHub
parent 6bed428d04
commit 4f3a9891fa
+2 -2
View File
@@ -111,7 +111,7 @@ namespace mo2::python {
py::return_value_policy::reference);
py::class_<IPluginInstallerSimple, PyPluginInstallerSimple, IPluginInstaller,
std::unique_ptr<IPluginInstallerSimple, py::nodelete>>(
IPlugin, std::unique_ptr<IPluginInstallerSimple, py::nodelete>>(
m, "IPluginInstallerSimple", py::multiple_inheritance())
.def(py::init<>())
@@ -128,7 +128,7 @@ namespace mo2::python {
"name"_a, "tree"_a, "version"_a, "nexus_id"_a);
py::class_<IPluginInstallerCustom, PyPluginInstallerCustom, IPluginInstaller,
std::unique_ptr<IPluginInstallerCustom, py::nodelete>>(
IPlugin, std::unique_ptr<IPluginInstallerCustom, py::nodelete>>(
m, "IPluginInstallerCustom", py::multiple_inheritance())
.def(py::init<>())
.def("isArchiveSupported", &IPluginInstallerCustom::isArchiveSupported,