X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/28dcf6be0ee22fedd728fef11ccff484f8a851e8..d0380b44396cbcd497f42eb0047b58b309596007:/lib/python/Plugins/Plugin.py diff --git a/lib/python/Plugins/Plugin.py b/lib/python/Plugins/Plugin.py index 7cf0c18b..e26174a1 100755 --- a/lib/python/Plugins/Plugin.py +++ b/lib/python/Plugins/Plugin.py @@ -60,9 +60,12 @@ class PluginDescriptor: # should be provided to name and describe the new menu entry. WHERE_SOFTWAREMANAGER = 14 - def __init__(self, name = "Plugin", where = [ ], description = "", icon = None, fnc = None, wakeupfnc = None, internal = False): + + def __init__(self, name = "Plugin", where = [ ], description = "", icon = None, fnc = None, wakeupfnc = None, needsRestart = None, internal = False): self.name = name self.internal = internal + self.needsRestart = needsRestart + self.path = None if isinstance(where, list): self.where = where else: