diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-02-19 20:35:46 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-02-19 20:35:46 +0000 |
| commit | daaf4b6ba8fbddd81553e0076385220ef1a7f327 (patch) | |
| tree | 8aa13e60d83917ace5510441a8665b326163a45f /lib/python/Plugins/web/plugin.py | |
| parent | d10f7fd19c29bb8a3f4aa32679317e00ac4a3cbb (diff) | |
| download | enigma2-daaf4b6ba8fbddd81553e0076385220ef1a7f327.tar.gz enigma2-daaf4b6ba8fbddd81553e0076385220ef1a7f327.zip | |
new plugin interface
Diffstat (limited to 'lib/python/Plugins/web/plugin.py')
| -rw-r--r-- | lib/python/Plugins/web/plugin.py | 18 |
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 [ ] |
