aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/web
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-02-19 20:35:46 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-02-19 20:35:46 +0000
commitdaaf4b6ba8fbddd81553e0076385220ef1a7f327 (patch)
tree8aa13e60d83917ace5510441a8665b326163a45f /lib/python/Plugins/web
parentd10f7fd19c29bb8a3f4aa32679317e00ac4a3cbb (diff)
downloadenigma2-daaf4b6ba8fbddd81553e0076385220ef1a7f327.tar.gz
enigma2-daaf4b6ba8fbddd81553e0076385220ef1a7f327.zip
new plugin interface
Diffstat (limited to 'lib/python/Plugins/web')
-rw-r--r--lib/python/Plugins/web/plugin.py18
1 files changed, 4 insertions, 14 deletions
diff --git a/lib/python/Plugins/web/plugin.py b/lib/python/Plugins/web/plugin.py
index b450b8cd..e4c099bb 100644
--- a/lib/python/Plugins/web/plugin.py
+++ b/lib/python/Plugins/web/plugin.py
@@ -1,23 +1,13 @@
-from enigma import *
-
from twisted.internet import reactor
from twisted.web2 import server, http, static
-def autostart():
+# this is currently not working
+def startWebserver():
print "Web startup"
toplevel = static.File("/hdd")
site = server.Site(toplevel)
reactor.listenTCP(80, http.HTTPFactory(site))
-def autoend():
- pass
-
-def getPicturePaths():
- return []
-
-def getPlugins():
- return []
-
-def getMenuRegistrationList():
- return []
+def Plugins():
+ return [ ]