diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-06-08 10:35:07 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-06-08 10:35:07 +0000 |
| commit | 859aa7a92d7fc7775370bdb5025419e33971d6d8 (patch) | |
| tree | d60e2b6d102a6843767aee19e0b8dc27f5cf4b3c | |
| parent | 394e2b2e2488ae3fa5edc6a9a512bcf0414cc562 (diff) | |
| download | enigma2-859aa7a92d7fc7775370bdb5025419e33971d6d8.tar.gz enigma2-859aa7a92d7fc7775370bdb5025419e33971d6d8.zip | |
remove no more needed code
| -rw-r--r-- | lib/python/enigma_python.i | 3 | ||||
| -rw-r--r-- | main/enigma.cpp | 9 | ||||
| -rw-r--r-- | mytest.py | 5 |
3 files changed, 0 insertions, 17 deletions
diff --git a/lib/python/enigma_python.i b/lib/python/enigma_python.i index 06d84473..8582de86 100644 --- a/lib/python/enigma_python.i +++ b/lib/python/enigma_python.i @@ -93,7 +93,6 @@ extern void runMainloop(); extern void quitMainloop(int exit_code); extern eApplication *getApplication(); -extern PSignal1<void,int> &keyPressedSignal(); extern int getPrevAsciiCode(); %} @@ -259,8 +258,6 @@ int getPrevAsciiCode(); void runMainloop(); void quitMainloop(int exit_code); eApplication *getApplication(); -%immutable keyPressed; -PSignal1<void,int> &keyPressedSignal(); %{ RESULT SwigFromPython(ePtr<gPixmap> &result, PyObject *obj) diff --git a/main/enigma.cpp b/main/enigma.cpp index 96b4cef1..0600062b 100644 --- a/main/enigma.cpp +++ b/main/enigma.cpp @@ -46,13 +46,6 @@ void object_dump() static eWidgetDesktop *wdsk, *lcddsk; -PSignal1<void,int> keyPressed; - -PSignal1<void,int> &keyPressedSignal() -{ - return keyPressed; -} - static int prev_ascii_code; int getPrevAsciiCode() @@ -73,8 +66,6 @@ void keyEvent(const eRCKey &key) } else ptr->keyPressed(0, key.code, key.flags); - if (!key.flags) - keyPressed(key.code); } /************************************************/ @@ -268,9 +268,6 @@ class Session: self.execBegin() return dlg - def keyEvent(self, code): - print "code " + str(code) - def close(self, screen, *retval): if not self.in_exec: print "close after exec!" @@ -435,8 +432,6 @@ def runScreenTest(): runNextScreen(session, screensToRun) - CONNECT(keyPressedSignal(), session.keyEvent) - vol = VolumeControl(session) power = PowerKey(session) |
