From daaf4b6ba8fbddd81553e0076385220ef1a7f327 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Sun, 19 Feb 2006 20:35:46 +0000 Subject: new plugin interface --- lib/python/Plugins/web/plugin.py | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'lib/python/Plugins/web/plugin.py') 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 [ ] -- cgit v1.2.3