mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
Remove most instances of GameInfo::getname, and transfer getDLCPlugins to the plugingame interface
Also removed startDownloadNextFile as it doesn't appear to be used anywhere
This commit is contained in:
@@ -749,7 +749,8 @@ BOOST_PYTHON_MODULE(mobase)
|
||||
|
||||
bpy::class_<IDownloadManagerWrapper, boost::noncopyable>("IDownloadManager")
|
||||
.def("startDownloadURLs", bpy::pure_virtual(&IDownloadManager::startDownloadURLs))
|
||||
.def("startDownloadNexusFile", bpy::pure_virtual(&IDownloadManager::startDownloadNexusFile))
|
||||
//not used?
|
||||
//.def("startDownloadNexusFile", bpy::pure_virtual(&IDownloadManager::startDownloadNexusFile))
|
||||
.def("downloadPath", bpy::pure_virtual(&IDownloadManager::downloadPath))
|
||||
;
|
||||
|
||||
@@ -856,6 +857,7 @@ BOOST_PYTHON_MODULE(mobase)
|
||||
.def("getBinaryName", bpy::pure_virtual(&MOBase::IPluginGame::getBinaryName))
|
||||
.def("getNexusName", bpy::pure_virtual(&MOBase::IPluginGame::getNexusName))
|
||||
.def("getIniFiles", bpy::pure_virtual(&MOBase::IPluginGame::getIniFiles))
|
||||
.def("getDLCPlugins", bpy::pure_virtual(&MOBase::IPluginGame::getDLCPlugins))
|
||||
|
||||
//Plugin interface.
|
||||
.def("init", bpy::pure_virtual(&MOBase::IPluginGame::init))
|
||||
|
||||
Reference in New Issue
Block a user