11 #include "addons/IAddon.h" 21 AddonInstanceId instanceId{ADDON_SINGLETON_INSTANCE_ID};
23 explicit AddonEvent(std::string addonId) : addonId(std::move(addonId)) {}
24 AddonEvent(std::string addonId, AddonInstanceId instanceId)
25 : addonId(std::move(addonId)), instanceId(instanceId)
59 InstanceAdded(std::string addonId, AddonInstanceId instanceId)
106 explicit Load(std::string addonId) :
AddonEvent(std::move(addonId)) {}
Emitted after the add-on has been disabled.
Definition: AddonEvents.h:49
Emitted after the add-on has been uninstalled.
Definition: AddonEvents.h:96
Definition: AddonEvents.h:18
Emitted after a new usable add-on instance was added.
Definition: AddonEvents.h:57
Emitted after an add-on instance was removed.
Definition: AddonEvents.h:68
Emitted after the add-on has been enabled.
Definition: AddonEvents.h:41
Emitted after the add-on has been unloaded.
Definition: AddonEvents.h:112
Emitted when a different version of the add-on has been installed to the file system and should be re...
Definition: AddonEvents.h:88
Emitted after the auto-update state of the add-on has been changed.
Definition: AddonEvents.h:120
Emitted after the add-on has been loaded.
Definition: AddonEvents.h:104