summaryrefslogtreecommitdiff
path: root/src/installationmanager.h
diff options
context:
space:
mode:
authorAl <gabriel.cortesi@outlook.com>2019-02-16 20:41:27 +0100
committerGitHub <noreply@github.com>2019-02-16 20:41:27 +0100
commitee266e52209fc9fce32031fd5ae0c9703b64cada (patch)
treeadf38e2c6e7baebd1cf56011567ad733d7a363c1 /src/installationmanager.h
parentc19ba153376f5d8f4026a46701bb0f7c115c1651 (diff)
parentd0a6321a39a4b8511dc36e5023c8787cfa1356dc (diff)
Merge pull request #655 from przester/double-install-fix
Reject new mod installations if another one is already running
Diffstat (limited to 'src/installationmanager.h')
-rw-r--r--src/installationmanager.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/installationmanager.h b/src/installationmanager.h
index 7c43b4e2..54fdf169 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
@@ -202,6 +207,8 @@ private:
private:
+ bool m_IsRunning;
+
QWidget *m_ParentWidget;
QString m_ModsDirectory;