aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/enigma_python.i12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/python/enigma_python.i b/lib/python/enigma_python.i
index 3772a23d..21c0664a 100644
--- a/lib/python/enigma_python.i
+++ b/lib/python/enigma_python.i
@@ -155,6 +155,7 @@ typedef long time_t;
%immutable eComponentScan::statusChanged;
%immutable eComponentScan::newService;
%immutable pNavigation::m_event;
+%immutable pNavigation::m_record_event;
%immutable eListbox::selectionChanged;
%immutable eDVBCI_UI::ciStateChanged;
%immutable eDVBResourceManager::frontendUseMaskChanged;
@@ -252,6 +253,12 @@ public:
PyObject *get();
};
+%template(PSignal2VoidIRecordableServiceInt) PSignal2<void,ePtr<iRecordableService>&,int>;
+
+%typemap(out) PSignal2VoidIRecordableServiceInt {
+ $1 = $input->get();
+}
+
/************** temp *****************/
/* need a better place for this, i agree. */
@@ -290,4 +297,9 @@ PyObject *New_eServiceReference(const eServiceReference &ref)
eServiceReference *result = new eServiceReference(ref);
return SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_eServiceReference, 1);
}
+PyObject *New_iRecordableServicePtr(const ePtr<iRecordableService> &ptr)
+{
+ ePtr<iRecordableService> *result = new ePtr<iRecordableService>(ptr);
+ return SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_ePtrTiRecordableService_t, 1);
+}
%}