sample plugin fix
[enigma2.git] / lib / python / enigma_python.i
index 5a6f126ecba41c3c0fe84c262639fbcbad85b647..322b3e56ed5930b85a3aaf3d80196241f75bb352 100644 (file)
@@ -39,7 +39,6 @@ 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/econfig.h>
 #include <lib/service/iservice.h>
 #include <lib/service/service.h>
 #include <lib/service/event.h>
@@ -125,7 +124,6 @@ typedef long time_t;
 %include <lib/python/swig.h>
 %include <lib/base/object.h>
 %include <lib/base/eerror.h>
-%include <lib/base/econfig.h>
 
 %immutable eTimer::timeout;
 %immutable eSocketNotifier::activated;
@@ -142,7 +140,9 @@ typedef long time_t;
 %immutable eButton::selected;
 %immutable eInput::changed;
 %immutable eComponentScan::statusChanged;
+%immutable eComponentScan::newService;
 %immutable pNavigation::m_event;
+%immutable eListbox::selectionChanged;
 
 %include <lib/gdi/font.h>
 %include <lib/gdi/gpixmap.h>
@@ -250,4 +250,9 @@ PyObject *New_TestObj()
     TestObj *result = (TestObj *)new TestObj();
     return SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_TestObj, 1);
 }
+PyObject *New_eServiceReference(const eServiceReference &ref)
+{
+    eServiceReference *result = new eServiceReference(ref);
+    return SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_eServiceReference, 1);
+}
 %}