set permissions to 644 for data files
[enigma2.git] / lib / python / connections.cpp
index 00f33f7..c0d38f8 100644 (file)
@@ -27,3 +27,14 @@ PyObject *PSignal::get()
        Py_INCREF(m_list);
        return m_list;
 }
+
+PyObject *PSignal::getSteal(bool clear)
+{
+       if (clear)
+       {
+               ePyObject ret = m_list;
+               m_list = (PyObject*)0;
+               return ret;
+       }
+       return m_list;
+}