aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Plugin.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-05-17 21:44:15 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-05-17 21:44:15 +0000
commitc0ebc011a78dd85727b3d91de8cbf271a25b8819 (patch)
tree52ce69a97fd654f1fdfd3e6d6bcd7243bb18501d /lib/python/Plugins/Plugin.py
parent95320cc1c4f110d398c0fa98ce8dda7fb05b1da8 (diff)
downloadenigma2-c0ebc011a78dd85727b3d91de8cbf271a25b8819.tar.gz
enigma2-c0ebc011a78dd85727b3d91de8cbf271a25b8819.zip
allow "internal" plugins from outside of the e2 plugin directory (useful for file scanner in internal e2 code)
Diffstat (limited to 'lib/python/Plugins/Plugin.py')
-rw-r--r--lib/python/Plugins/Plugin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Plugins/Plugin.py b/lib/python/Plugins/Plugin.py
index 4319d324..a0db1d66 100644
--- a/lib/python/Plugins/Plugin.py
+++ b/lib/python/Plugins/Plugin.py
@@ -45,8 +45,9 @@ class PluginDescriptor:
# or return a function which is called with session and the interface name for extended setup of this interface
WHERE_NETWORKSETUP = 10
- def __init__(self, name = "Plugin", where = [ ], description = "", icon = None, fnc = None, wakeupfnc = None):
+ def __init__(self, name = "Plugin", where = [ ], description = "", icon = None, fnc = None, wakeupfnc = None, internal = False):
self.name = name
+ self.internal = internal
if type(where) is list:
self.where = where
else: