diff --git a/src/runner/pythonrunner.cpp b/src/runner/pythonrunner.cpp index 719981c..2a3da87 100644 --- a/src/runner/pythonrunner.cpp +++ b/src/runner/pythonrunner.cpp @@ -727,6 +727,7 @@ BOOST_PYTHON_MODULE(mobase) .def("startApplication", bpy::pure_virtual(&IOrganizer::startApplication), bpy::return_value_policy()) .def("waitForApplication", bpy::pure_virtual(&IOrganizer::waitForApplication), bpy::return_value_policy()) .def("onAboutToRun", bpy::pure_virtual(&IOrganizer::onAboutToRun)) + .def("onFinishedRun", bpy::pure_virtual(&IOrganizer::onFinishedRun)) .def("onModInstalled", bpy::pure_virtual(&IOrganizer::onModInstalled)) .def("refreshModList", bpy::pure_virtual(&IOrganizer::refreshModList)) ; diff --git a/src/runner/uibasewrappers.h b/src/runner/uibasewrappers.h index 354346a..ec29b84 100644 --- a/src/runner/uibasewrappers.h +++ b/src/runner/uibasewrappers.h @@ -226,6 +226,7 @@ struct IOrganizerWrapper: MOBase::IOrganizer, boost::python::wrapperget_override("waitForApplication")(handle, exitCode); } virtual void refreshModList(bool saveChanges = true) { this->get_override("refreshModList")(saveChanges); } virtual bool onAboutToRun(const std::function &func) { return this->get_override("onAboutToRun")(func); } + virtual bool onFinishedRun(const std::function &func) { return this->get_override("onFinishedRun")(func); } virtual bool onModInstalled(const std::function &func) { return this->get_override("onModInstalled")(func); } };