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 e1ebb519..e17aee17 100644
--- a/src/installationmanager.h
+++ b/src/installationmanager.h
@@ -168,7 +168,7 @@ private:
bool isSimpleArchiveTopLayer(const MOBase::DirectoryTree::Node *node, bool bainStyle);
MOBase::DirectoryTree::Node *getSimpleArchiveBase(MOBase::DirectoryTree *dataTree);
- bool doInstall(MOBase::GuessedValue<QString> &modName,
+ bool doInstall(MOBase::GuessedValue<QString> &modName, QString gameName,
int modID, const QString &version, const QString &newestVersion, int categoryID, const QString &repository);
QString generateBackupName(const QString &directoryName) const;
@@ -177,6 +177,11 @@ private:
void postInstallCleanup();
+signals:
+
+ void progressUpdate(float percentage);
+ void progressUpdate(QString const fileName);
+
private:
struct ByPriority {
@@ -207,6 +212,8 @@ private:
QString m_CurrentFile;
QProgressDialog *m_InstallationProgress { nullptr };
+ int m_Progress;
+ QString m_ProgressFile;
std::set<QString> m_TempFilesToDelete;