summaryrefslogtreecommitdiff
path: root/src/installationmanager.h
diff options
context:
space:
mode:
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;