diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-01-11 14:50:07 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-01-11 14:50:07 +0000 |
| commit | 47eaccfd3d5c4ca46ff339cb64a077a0f269d671 (patch) | |
| tree | d0ced97faa3545e1d86a2ead72a695e3e980f6c5 /lib/python/Plugins/tuxboxplugins/plugin.py | |
| parent | 061f02110eeeb6f8b44b2d3229a098c3c270f10c (diff) | |
| download | enigma2-47eaccfd3d5c4ca46ff339cb64a077a0f269d671.tar.gz enigma2-47eaccfd3d5c4ca46ff339cb64a077a0f269d671.zip | |
add a tuxbox plugins plugin to prepare loading of tuxbox plugins when the c++ part supports it
Diffstat (limited to 'lib/python/Plugins/tuxboxplugins/plugin.py')
| -rw-r--r-- | lib/python/Plugins/tuxboxplugins/plugin.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/python/Plugins/tuxboxplugins/plugin.py b/lib/python/Plugins/tuxboxplugins/plugin.py new file mode 100644 index 00000000..1e8d52ee --- /dev/null +++ b/lib/python/Plugins/tuxboxplugins/plugin.py @@ -0,0 +1,14 @@ +from enigma import * +from Screens.Screen import Screen +from Screens.MessageBox import MessageBox +from Components.ActionMap import ActionMap +from Components.Label import Label + +import os + +def getPlugins(): + return [("Tuxbox-Plugin1", "function", "main", 0), + ("Tuxbox-Plugin2", "function", "main", 1)] + +def main(session, args): + print "Running plugin with number", args
\ No newline at end of file |
