From 863893cc31affaf731033f4d28d500d6db4e1965 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Capelle?= Date: Tue, 9 Jun 2020 23:31:25 +0200 Subject: [PATCH] Add bindings for utility functions from uibase. --- src/runner/pythonrunner.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/runner/pythonrunner.cpp b/src/runner/pythonrunner.cpp index f55c09c..ccad61e 100644 --- a/src/runner/pythonrunner.cpp +++ b/src/runner/pythonrunner.cpp @@ -801,6 +801,10 @@ BOOST_PYTHON_MODULE(mobase) ; registerGameFeaturesPythonConverters(); + + bpy::def("getFileVersion", &MOBase::getFileVersion); + bpy::def("getProductVersion", &MOBase::getProductVersion); + bpy::def("getIconForExecutable", &MOBase::iconForExecutable); } /**