summaryrefslogtreecommitdiff
path: root/src/installationmanager.h
diff options
context:
space:
mode:
authorKrzysztof Starecki <krzysztof.starecki@gmail.com>2019-02-15 22:01:36 +0100
committerKrzysztof Starecki <krzysztof.starecki@gmail.com>2019-02-15 22:01:36 +0100
commit55249ba3a6e2b4d51c259c0eff0c1d97ab6be614 (patch)
tree64577d4bef8a8b86427775f4e64bc276d23005e3 /src/installationmanager.h
parent4d8920cec1f35e502c653e1b5725a49a4d321626 (diff)
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;