summaryrefslogtreecommitdiff
path: root/src/installationmanager.h
diff options
context:
space:
mode:
authorLostDragonist <lost.dragonist@gmail.com>2019-05-03 21:32:33 -0500
committerLostDragonist <lost.dragonist@gmail.com>2019-05-03 21:32:33 -0500
commit179a73857125ee604f42b0d5c2d765183c86d2c7 (patch)
treeb9b3f9d62bd5640de839d150a53ab8ef119dab9c /src/installationmanager.h
parente2b799bd6b5cfd51969fefd1dab5e5b1b7e5f81c (diff)
parent907c5468424b48774f5da2a6b5f96f26590987b0 (diff)
Merge pull request #695 from ModOrganizer2/Develop
Stage for Release 2.2.0
Diffstat (limited to 'src/installationmanager.h')
-rw-r--r--src/installationmanager.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/installationmanager.h b/src/installationmanager.h
index 7c43b4e2..6e4f5925 100644
--- a/src/installationmanager.h
+++ b/src/installationmanager.h
@@ -90,6 +90,11 @@ public:
bool wasCancelled();
/**
+ * @return true if an installation is currently in progress
+ **/
+ bool isRunning();
+
+ /**
* @brief retrieve a string describing the specified error code
*
* @param errorCode an error code as returned by the archiving function
@@ -171,7 +176,7 @@ private:
MOBase::DirectoryTree::Node *getSimpleArchiveBase(MOBase::DirectoryTree *dataTree);
bool doInstall(MOBase::GuessedValue<QString> &modName, QString gameName,
- int modID, const QString &version, const QString &newestVersion, int categoryID, const QString &repository);
+ int modID, const QString &version, const QString &newestVersion, int categoryID, int fileCategoryID, const QString &repository);
//QString generateBackupName(const QString &directoryName) const;
@@ -202,6 +207,8 @@ private:
private:
+ bool m_IsRunning;
+
QWidget *m_ParentWidget;
QString m_ModsDirectory;