diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-03-06 12:00:06 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-03-06 12:00:06 +0000 |
| commit | c4f2b9b542581bf518bc36476e11ec15074f99b4 (patch) | |
| tree | 1b92b6e81cb91f471751d8b26b63b9ab7b17378e /lib/python | |
| parent | c5245596a287e0519d0684eb10ea111da75b9360 (diff) | |
| download | enigma2-c4f2b9b542581bf518bc36476e11ec15074f99b4.tar.gz enigma2-c4f2b9b542581bf518bc36476e11ec15074f99b4.zip | |
add possibility to lock/unlock the rc devices (remote control) from python
it is usable by this way:
from enigma import eRCInput, eRCInputPtr (or *)
rcinput = eRCInput.getInstance()
rcinput.lock()... unlock()... islocked()
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/enigma_python.i | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/enigma_python.i b/lib/python/enigma_python.i index 29b66acf..4572243a 100644 --- a/lib/python/enigma_python.i +++ b/lib/python/enigma_python.i @@ -40,6 +40,7 @@ is usually caused by not marking PSignals as immutable. #include <lib/base/smartptr.h> #include <lib/base/eerror.h> #include <lib/base/console.h> +#include <lib/driver/rc.h> #include <lib/service/iservice.h> #include <lib/service/service.h> #include <lib/service/event.h> @@ -150,6 +151,7 @@ typedef long time_t; %immutable eListbox::selectionChanged; %include <lib/base/console.h> +%include <lib/driver/rc.h> %include <lib/gdi/font.h> %include <lib/gdi/gpixmap.h> %include <lib/gdi/epoint.h> |
