Merge remote branch 'origin/acid-burn/bug_670_plugin_restartoption' into experimental
[vuplus_dvbapp] / lib / python / Plugins / Plugin.py
index 7cf0c18..9ecdbc2 100755 (executable)
@@ -60,9 +60,11 @@ 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
                if isinstance(where, list):
                        self.where = where
                else: