new plugin interface
[enigma2.git] / lib / python / Plugins / web / plugin.py
index b450b8cda656bcd900f5d51619451c71150a7474..e4c099bb5a91abaf0a06ab05008fe90d4e4e792d 100644 (file)
@@ -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 [ ]