diff options
Diffstat (limited to 'src/installationmanager.h')
| -rw-r--r-- | src/installationmanager.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/installationmanager.h b/src/installationmanager.h index 1c6f9f19..8b1f8c9a 100644 --- a/src/installationmanager.h +++ b/src/installationmanager.h @@ -65,6 +65,12 @@ public: void setModsDirectory(const QString &modsDirectory) { m_ModsDirectory = modsDirectory; } /** + * @brief update the directory where downloads are stored + * @param downloadDirectory the download directory + */ + void setDownloadDirectory(const QString &downloadDirectory) { m_DownloadsDirectory = downloadDirectory; } + + /** * @brief install a mod from an archive * * @param fileName absolute file name of the archive to install @@ -191,6 +197,7 @@ private: QWidget *m_ParentWidget; QString m_ModsDirectory; + QString m_DownloadsDirectory; std::vector<MOBase::IPluginInstaller*> m_Installers; std::set<QString, CaseInsensitive> m_SupportedExtensions; |
