diff options
| author | Krzysztof Starecki <krzysztof.starecki@gmail.com> | 2019-02-15 22:01:36 +0100 |
|---|---|---|
| committer | Krzysztof Starecki <krzysztof.starecki@gmail.com> | 2019-02-15 22:01:36 +0100 |
| commit | 55249ba3a6e2b4d51c259c0eff0c1d97ab6be614 (patch) | |
| tree | 64577d4bef8a8b86427775f4e64bc276d23005e3 /src/installationmanager.h | |
| parent | 4d8920cec1f35e502c653e1b5725a49a4d321626 (diff) | |
Reject new mod installations if another one is already running
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 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; |
