From 45f6cd21a2c730b9dea322b0dba30120cdc40521 Mon Sep 17 00:00:00 2001 From: Tannin Date: Fri, 17 May 2013 20:44:40 +0200 Subject: - extended plugin interface to allow plugins access to download manager - extended plugin interface to allow installation of mods from files - improved detection of online state - download tab now also displays files supported through plugins - batch installer now has basic functionality (downloads and installes files) --- src/mainwindow.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index 3f2b92a6..24cdb91e 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -105,6 +105,8 @@ public: virtual void modDataChanged(MOBase::IModInterface *mod); virtual QVariant pluginSetting(const QString &pluginName, const QString &key) const; virtual QString pluginDataPath() const; + virtual void installMod(const QString &fileName); + virtual MOBase::IDownloadManager *downloadManager(); void addPrimaryCategoryCandidates(QMenu *primaryCategoryMenu, ModInfo::Ptr info); @@ -177,7 +179,6 @@ private: void refreshDirectoryStructure(); bool refreshProfiles(bool selectProfile = true); void refreshExecutablesList(); - void installMod(const QString &fileName); void installMod(); bool modifyExecutablesDialog(); void displayModInformation(ModInfo::Ptr modInfo, unsigned int index, int tab); -- cgit v1.3.1