summaryrefslogtreecommitdiff
path: root/src/organizercore.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/organizercore.h')
-rw-r--r--src/organizercore.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/organizercore.h b/src/organizercore.h
index f2b904cd..24de26ee 100644
--- a/src/organizercore.h
+++ b/src/organizercore.h
@@ -227,8 +227,9 @@ public:
MOBase::VersionInfo getVersion() const { return m_Updater.getVersion(); }
- ModListSortProxy *createModListProxyModel();
- PluginListSortProxy *createPluginListProxyModel();
+ // return the plugin container
+ //
+ PluginContainer& pluginContainer() const;
MOBase::IPluginGame const *managedGame() const;
@@ -376,7 +377,9 @@ public slots:
void refreshLists();
- void installDownload(int downloadIndex);
+ ModInfo::Ptr installDownload(int downloadIndex, int priority = -1);
+ ModInfo::Ptr installArchive(const QString& archivePath, int priority = -1, bool reinstallation = false,
+ ModInfo::Ptr currentMod = nullptr, const QString& modName = QString());
void modStatusChanged(unsigned int index);
void modStatusChanged(QList<unsigned int> index);