remove old lcd stuff
authorFelix Domke <tmbinc@elitedvb.net>
Mon, 3 Apr 2006 12:01:02 +0000 (12:01 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Mon, 3 Apr 2006 12:01:02 +0000 (12:01 +0000)
lib/python/Components/Clock.py
lib/python/Components/ServiceName.py
lib/python/enigma_python.i

index 982d1c4..5d7ec8d 100644 (file)
@@ -32,7 +32,6 @@ class Clock(HTMLComponent, GUIComponent, VariableText):
                t = time.localtime()
                timestr = "%2d:%02d:%02d" % (t.tm_hour, t.tm_min, t.tm_sec)
                self.setText(timestr)
-               setLCDClock(timestr)
 
 # realisierung als GUI
        def createWidget(self, parent):
index 8a14804..e69de29 100644 (file)
@@ -1,27 +0,0 @@
-from PerServiceDisplay import *
-
-#from enigma import iPlayableService, iServiceInformationPtr
-from enigma import *
-
-class ServiceName(PerServiceDisplay):
-       def __init__(self, navcore):
-               PerServiceDisplay.__init__(self, navcore,
-                       {
-                               iPlayableService.evStart: self.newService,
-                               iPlayableService.evEnd: self.stopEvent
-                       })
-               self.newService()
-
-       def newService(self):
-               service = self.navcore.getCurrentService()
-               
-               if service is not None:
-                       info = service.info()
-                       if info is not None:
-                               name = info.getName()
-                               self.setText(name)
-                               setLCD(name)
-       
-       def stopEvent(self):
-                       self.setText("");
-
index eef5ec1..65cb042 100644 (file)
@@ -90,8 +90,6 @@ is usually caused by not marking PSignals as immutable.
 
 extern void runMainloop();
 extern void quitMainloop(int exit_code);
-extern void setLCD(const char *c);
-extern void setLCDClock(const char *c);
 extern eApplication *getApplication();
 
 extern PSignal1<void,int> &keyPressedSignal();
@@ -248,8 +246,6 @@ public:
 
 void runMainloop();
 void quitMainloop(int exit_code);
-void setLCD(const char*);
-void setLCDClock(const char*);
 eApplication *getApplication();
 %immutable keyPressed;
 PSignal1<void,int> &keyPressedSignal();