| 922 | } |
| 923 | |
| 924 | void InstallationManager::notifyInstallationStart(QString const& archive, |
| 925 | bool reinstallation, |
| 926 | ModInfo::Ptr currentMod) |
| 927 | { |
| 928 | auto& installers = m_PluginContainer->plugins<IPluginInstaller>(); |
| 929 | for (auto* installer : installers) { |
| 930 | if (m_PluginContainer->isEnabled(installer)) { |
| 931 | installer->onInstallationStart(archive, reinstallation, currentMod.get()); |
| 932 | } |
| 933 | } |
| 934 | } |
| 935 | |
| 936 | void InstallationManager::notifyInstallationEnd(const InstallationResult& result, |
| 937 | ModInfo::Ptr newMod) |