aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Plugin.py
diff options
context:
space:
mode:
authoracid-burn <acid-burn@opendreambox.org>2009-12-23 06:57:25 +0100
committeracid-burn <acid-burn@opendreambox.org>2009-12-23 06:57:25 +0100
commit4e6cd91094c4491134f5d8f81b03282fb50f7f09 (patch)
tree015a67f42dcf0e52792bb580959709b05016838c /lib/python/Plugins/Plugin.py
parentca13d7906607bb7be40e7695e36054b8b86c8529 (diff)
parent3e4556706ac4c42b68594be8477fb204cd5ff0e9 (diff)
downloadenigma2-4e6cd91094c4491134f5d8f81b03282fb50f7f09.tar.gz
enigma2-4e6cd91094c4491134f5d8f81b03282fb50f7f09.zip
Merge branch 'bug_308_add_where_softwaremanager'
Conflicts: lib/python/Plugins/Plugin.py
Diffstat (limited to 'lib/python/Plugins/Plugin.py')
-rwxr-xr-xlib/python/Plugins/Plugin.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/python/Plugins/Plugin.py b/lib/python/Plugins/Plugin.py
index dc68ebf3..5a676cda 100755
--- a/lib/python/Plugins/Plugin.py
+++ b/lib/python/Plugins/Plugin.py
@@ -54,6 +54,13 @@ class PluginDescriptor:
WHERE_AUDIOMENU = 13
+ # fnc 'SoftwareSupported' or 'AdvancedSoftwareSupported' must take a parameter and return None
+ # if the plugin should not be displayed inside Softwaremanger or return a function which is called with session
+ # and 'None' as parameter to call the plugin from the Softwaremanager menus. "menuEntryName" and "menuEntryDescription"
+ # 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):
self.name = name
self.internal = internal