MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / notifyInstallationStart

Method notifyInstallationStart

src/installationmanager.cpp:924–934  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

922}
923
924void 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
936void InstallationManager::notifyInstallationEnd(const InstallationResult& result,
937 ModInfo::Ptr newMod)

Callers 1

doInstallMethod · 0.80

Calls 2

isEnabledMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected