diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-09-22 22:03:16 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-09-22 22:03:16 +0200 |
| commit | 8980153a2cba833cf8817e15e814bc7b6c2d2230 (patch) | |
| tree | 7270d08ddc7ef5f40337746ba013bbf045b54f16 /src/installationmanager.h | |
| parent | d9a8e67598b88d13b09d3e43c8f40418dea1f2a5 (diff) | |
Add 'reinstallation' parameter to onInstallationStart().
Diffstat (limited to 'src/installationmanager.h')
| -rw-r--r-- | src/installationmanager.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/installationmanager.h b/src/installationmanager.h index 4e4f4346..149295a6 100644 --- a/src/installationmanager.h +++ b/src/installationmanager.h @@ -68,9 +68,11 @@ public: * @brief Notify all installer plugins that an installation is about to start. * * @param archive Path to the archive that is going to be installed. - * @param currentMod The mod being re-installed, or a null pointer for new installation. + * @param reinstallation True if this is a reinstallation, false otherwise. + * @param currentMod The installed mod corresponding to the archive being installed, or a null + * if there is no such mod. */ - void notifyInstallationStart(QString const& archive, ModInfo::Ptr currentMod); + void notifyInstallationStart(QString const& archive, bool reinstallation, ModInfo::Ptr currentMod); /** * @brief notify all installer plugins that an installation has ended. |
