mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
Remove usage of getDataFolderName() for ModDataChecker.
This commit is contained in:
@@ -102,10 +102,6 @@ bool LocalSavegamesWrapper::prepareProfile(MOBase::IProfile * profile)
|
||||
/////////////////////////////
|
||||
/// ModDataChecker Wrapper
|
||||
|
||||
QString ModDataCheckerWrapper::getDataFolderName() const {
|
||||
return basicWrapperFunctionImplementation<ModDataCheckerWrapper, QString>(this, "getDataFolderName");
|
||||
}
|
||||
|
||||
bool ModDataCheckerWrapper::dataLooksValid(std::shared_ptr<const MOBase::IFileTree> fileTree) const {
|
||||
return basicWrapperFunctionImplementation<ModDataCheckerWrapper, bool>(this, "dataLooksValid", fileTree);
|
||||
}
|
||||
@@ -282,7 +278,6 @@ void registerGameFeaturesPythonConverters()
|
||||
;
|
||||
|
||||
bpy::class_<ModDataCheckerWrapper, boost::noncopyable>("ModDataChecker")
|
||||
.def("getDataFolderName", bpy::pure_virtual(&ModDataChecker::getDataFolderName))
|
||||
.def("dataLooksValid", bpy::pure_virtual(&ModDataChecker::dataLooksValid))
|
||||
;
|
||||
|
||||
|
||||
@@ -83,7 +83,6 @@ public:
|
||||
static constexpr const char* className = "ModDataCheckerWrapper";
|
||||
using boost::python::wrapper<ModDataChecker>::get_override;
|
||||
|
||||
virtual QString getDataFolderName() const override;
|
||||
virtual bool dataLooksValid(std::shared_ptr<const MOBase::IFileTree> fileTree) const;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user