summaryrefslogtreecommitdiff
path: root/src/installationmanager.h
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2019-12-11 14:02:33 -0600
committerSilarn <jrim@rimpo.org>2019-12-11 14:02:33 -0600
commit19bb86a870a88b65cce0eca2b6b71348d2769f51 (patch)
treebfa905db915061a3744d75af62e0120d68f242ac /src/installationmanager.h
parent5a266b8e268163f3f25063aa823dd1fc72ee7c56 (diff)
Update installer status handling
Diffstat (limited to 'src/installationmanager.h')
-rw-r--r--src/installationmanager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/installationmanager.h b/src/installationmanager.h
index 6e4f5925..199a0f82 100644
--- a/src/installationmanager.h
+++ b/src/installationmanager.h
@@ -82,7 +82,7 @@ public:
* @return true if the archive was installed, false if installation failed or was refused
* @exception std::exception an exception may be thrown if the archive can't be opened (maybe the format is invalid or the file is damaged)
**/
- bool install(const QString &fileName, MOBase::GuessedValue<QString> &modName, bool &hasIniTweaks, int modID = 0);
+ MOBase::IPluginInstaller::EInstallResult install(const QString &fileName, MOBase::GuessedValue<QString> &modName, bool &hasIniTweaks, int modID = 0);
/**
* @return true if the installation was canceled
@@ -175,7 +175,7 @@ private:
bool isSimpleArchiveTopLayer(const MOBase::DirectoryTree::Node *node, bool bainStyle);
MOBase::DirectoryTree::Node *getSimpleArchiveBase(MOBase::DirectoryTree *dataTree);
- bool doInstall(MOBase::GuessedValue<QString> &modName, QString gameName,
+ MOBase::IPluginInstaller::EInstallResult doInstall(MOBase::GuessedValue<QString> &modName, QString gameName,
int modID, const QString &version, const QString &newestVersion, int categoryID, int fileCategoryID, const QString &repository);
//QString generateBackupName(const QString &directoryName) const;