From 47eaccfd3d5c4ca46ff339cb64a077a0f269d671 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Wed, 11 Jan 2006 14:50:07 +0000 Subject: add a tuxbox plugins plugin to prepare loading of tuxbox plugins when the c++ part supports it --- lib/python/Plugins/tuxboxplugins/plugin.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lib/python/Plugins/tuxboxplugins/plugin.py (limited to 'lib/python/Plugins/tuxboxplugins/plugin.py') 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 -- cgit v1.2.3