lib/python/Components/VolumeControl.py: make the VolumeControl instance global access...
[enigma2.git] / lib / python / connections.cpp
index 00f33f71bab32565b8cac1e15e995243c8582057..c0d38f8931a38c8a3fc1786ec9a60f6087f2d3ef 100644 (file)
@@ -27,3 +27,14 @@ PyObject *PSignal::get()
        Py_INCREF(m_list);
        return m_list;
 }
        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;
+}