From cb5d3b4e62cdd343c31ea9b18b54663fc7c42329 Mon Sep 17 00:00:00 2001 From: Thomas Tanner Date: Sat, 21 Nov 2015 16:41:28 +0000 Subject: [PATCH] Replace GameInfo::path with iPluginGame::gameDirectory (or dataDirectory where applicable) Note: this isn''t ideal as it's not backward compatible --- src/runner/pythonrunner.cpp | 2 +- src/runner/uibasewrappers.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runner/pythonrunner.cpp b/src/runner/pythonrunner.cpp index ae22889..b4cd29a 100644 --- a/src/runner/pythonrunner.cpp +++ b/src/runner/pythonrunner.cpp @@ -707,7 +707,7 @@ BOOST_PYTHON_MODULE(mobase) bpy::class_("GameInfo") .def("type", bpy::pure_virtual(&IGameInfo::type)) - .def("path", bpy::pure_virtual(&IGameInfo::path)) +// .def("path", bpy::pure_virtual(&IGameInfo::path)) // .def("binaryName", bpy::pure_virtual(&IGameInfo::binaryName)) ; diff --git a/src/runner/uibasewrappers.h b/src/runner/uibasewrappers.h index 7c820cc..b17ea0b 100644 --- a/src/runner/uibasewrappers.h +++ b/src/runner/uibasewrappers.h @@ -261,7 +261,7 @@ struct IInstallationManagerWrapper: MOBase::IInstallationManager, boost::python: struct IGameInfoWrapper: MOBase::IGameInfo, boost::python::wrapper { virtual Type type() const { return this->get_override("type")(); } - virtual QString path() const { return this->get_override("path")(); } +// virtual QString path() const { return this->get_override("path")(); } // virtual QString binaryName() const { return this->get_override("binaryName")(); } };