X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/1681d7dadff09e071c4f79954a90969fb7815210..f2c69b1c3a49b8b03866894fe3e3f3a4f330f517:/lib/python/enigma_python.i diff --git a/lib/python/enigma_python.i b/lib/python/enigma_python.i index 35290230..29294b12 100644 --- a/lib/python/enigma_python.i +++ b/lib/python/enigma_python.i @@ -39,10 +39,12 @@ is usually caused by not marking PSignals as immutable. #include #include #include -#include +#include +#include #include #include #include +#include #include #include #include @@ -58,6 +60,7 @@ is usually caused by not marking PSignals as immutable. #include #include #include +#include #include #include #include @@ -69,6 +72,9 @@ is usually caused by not marking PSignals as immutable. #include #include #include +#include +#include +#include #include #include #include @@ -125,7 +131,6 @@ typedef long time_t; %include %include %include -%include %immutable eTimer::timeout; %immutable eSocketNotifier::activated; @@ -139,6 +144,9 @@ typedef long time_t; // TODO: embed these... +%immutable eConsoleAppContainer::appClosed; +%immutable eConsoleAppContainer::dataAvail; +%immutable eConsoleAppContainer::dataSent; %immutable eButton::selected; %immutable eInput::changed; %immutable eComponentScan::statusChanged; @@ -146,6 +154,9 @@ typedef long time_t; %immutable pNavigation::m_event; %immutable eListbox::selectionChanged; +%include +%include +%include %include %include %include @@ -161,6 +172,7 @@ typedef long time_t; %include %include %include +%include %include %include %include @@ -179,6 +191,9 @@ typedef long time_t; %include %include %include +%include +%include +%include %include %include %include @@ -198,30 +213,34 @@ public: PyObject *get(); }; -template class PSignal1 -{ -public: - PyObject *get(); -}; +%template(PSignal0V) PSignal0; -template class PSignal2 +%typemap(out) PSignal0V { + $1 = $input->get(); +} + +template class PSignal1 { public: PyObject *get(); }; %template(PSignal1VI) PSignal1; +%template(PSignal1VS) PSignal1; %typemap(out) PSignal1VI { $1 = $input->get(); } -%template(PSignal0V) PSignal0; - -%typemap(out) PSignal0V { +%typemap(out) PSignal1VS { $1 = $input->get(); } +template class PSignal2 +{ +public: + PyObject *get(); +}; /************** debug **************/