def activate(self): """Called when addon was activated""" if has_method(self.__class__, "coreReady"): self.log_warning(_("Deprecated method `coreReady`, use `activate` instead")) self.core_ready()
def exit(self): """Called by pyload.shutdown just before pyLoad exit""" if has_method(self.__class__, "coreExiting"): self.core_exiting()
def deactivate(self): """Called when addon was deactivated""" if has_method(self.__class__, "unload"): self.log_warning(_("Deprecated method `unload`, use `deactivate` instead")) self.unload()