add WHERE_WIZARD plugins
[enigma2.git] / lib / python / enigma_python.i
index 8261385d444359fbccabb65c385e5b846bd739f5..29b66acf35950742291bb029c417a41902749b2a 100644 (file)
@@ -39,6 +39,7 @@ is usually caused by not marking PSignals as immutable.
 #include <lib/base/ebase.h>
 #include <lib/base/smartptr.h>
 #include <lib/base/eerror.h>
+#include <lib/base/console.h>
 #include <lib/service/iservice.h>
 #include <lib/service/service.h>
 #include <lib/service/event.h>
@@ -138,6 +139,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;
@@ -145,6 +149,7 @@ typedef long time_t;
 %immutable pNavigation::m_event;
 %immutable eListbox::selectionChanged;
 
+%include <lib/base/console.h>
 %include <lib/gdi/font.h>
 %include <lib/gdi/gpixmap.h>
 %include <lib/gdi/epoint.h>
@@ -198,30 +203,34 @@ public:
        PyObject *get();
 };
 
-template<class R, class P0> class PSignal1
-{
-public:
-       PyObject *get();
-};
+%template(PSignal0V) PSignal0<void>;
 
-template<class R, class P0, class P1> class PSignal2
+%typemap(out) PSignal0V {
+       $1 = $input->get();
+}
+
+template<class R, class P0> class PSignal1
 {
 public:
        PyObject *get();
 };
 
 %template(PSignal1VI) PSignal1<void,int>;
+%template(PSignal1VS) PSignal1<void,const char *c>;
 
 %typemap(out) PSignal1VI {
        $1 = $input->get();
 }
 
-%template(PSignal0V) PSignal0<void>;
-
-%typemap(out) PSignal0V {
+%typemap(out) PSignal1VS {
        $1 = $input->get();
 }
 
+template<class R, class P0, class P1> class PSignal2
+{
+public:
+       PyObject *get();
+};
 
 /**************  debug  **************/