From 8980153a2cba833cf8817e15e814bc7b6c2d2230 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Tue, 22 Sep 2020 22:03:16 +0200 Subject: Add 'reinstallation' parameter to onInstallationStart(). --- src/installationmanager.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/installationmanager.h') 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. -- cgit v1.3.1