git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add Plugin.py
[enigma2.git]
/
lib
/
python
/
enigma_python.i
diff --git
a/lib/python/enigma_python.i
b/lib/python/enigma_python.i
index 8029a2651e18b710285b75817bba8b0392d76f09..322b3e56ed5930b85a3aaf3d80196241f75bb352 100644
(file)
--- a/
lib/python/enigma_python.i
+++ b/
lib/python/enigma_python.i
@@
-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/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>
#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/python/swig.h>
%include <lib/base/object.h>
%include <lib/base/eerror.h>
-%include <lib/base/econfig.h>
%immutable eTimer::timeout;
%immutable eSocketNotifier::activated;
%immutable eTimer::timeout;
%immutable eSocketNotifier::activated;
@@
-144,6
+142,7
@@
typedef long time_t;
%immutable eComponentScan::statusChanged;
%immutable eComponentScan::newService;
%immutable pNavigation::m_event;
%immutable eComponentScan::statusChanged;
%immutable eComponentScan::newService;
%immutable pNavigation::m_event;
+%immutable eListbox::selectionChanged;
%include <lib/gdi/font.h>
%include <lib/gdi/gpixmap.h>
%include <lib/gdi/font.h>
%include <lib/gdi/gpixmap.h>
@@
-251,4
+250,9
@@
PyObject *New_TestObj()
TestObj *result = (TestObj *)new TestObj();
return SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_TestObj, 1);
}
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);
+}
%}
%}