From 1cdf6cb021fcaa6548b90ba7b6765cf1e8b8b37b Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Fri, 25 Feb 2005 01:46:44 +0000 Subject: - work on actions - changed time when screens are acutally constructed - added service name (not working atm) and event info (now&next) --- lib/python/enigma_python.i | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'lib/python/enigma_python.i') diff --git a/lib/python/enigma_python.i b/lib/python/enigma_python.i index 3562c3e9..33fc0a14 100644 --- a/lib/python/enigma_python.i +++ b/lib/python/enigma_python.i @@ -29,8 +29,7 @@ Oh, things like "operator= is private in this context" etc. -is usually caused by not marking PSignals as immutable. - +is usually caused by not marking PSignals as immutable. */ %define RefCount(...) @@ -48,6 +47,7 @@ is usually caused by not marking PSignals as immutable. #include #include #include +#include #include #include @@ -61,6 +61,7 @@ is usually caused by not marking PSignals as immutable. #include #include #include +#include extern void runMainloop(); extern void quitMainloop(); @@ -73,6 +74,7 @@ RefCount(eListboxServiceContent) RefCount(eComponentScan) #define DEBUG +%include "typemaps.i" %include "stl.i" %include %include @@ -81,12 +83,13 @@ RefCount(eComponentScan) %include %include %template(eServiceCenterPtr) ePtr; +%include // TODO: embed these... %immutable eButton::selected; %immutable eComponentScan::statusChanged; -%immutable pNavigation::event; +%immutable pNavigation::m_event; %include %include @@ -103,6 +106,16 @@ RefCount(eComponentScan) %include %include %include +%include + +/************** eptr **************/ + +%template(eActionMapPtr) ePtr; +RefCount(eActionMap) +%apply eActionMapPtr OUTPUT { eActionMapPtr &ptr } +%apply eActionMap* *OUTPUT { eActionMap **ptr } + +/************** signals **************/ template class PSignal0 { -- cgit v1.2.3