git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/python/Components/VolumeControl.py: make the VolumeControl instance global access...
[enigma2.git]
/
lib
/
python
/
connections.cpp
diff --git
a/lib/python/connections.cpp
b/lib/python/connections.cpp
index 00f33f71bab32565b8cac1e15e995243c8582057..c0d38f8931a38c8a3fc1786ec9a60f6087f2d3ef 100644
(file)
--- a/
lib/python/connections.cpp
+++ b/
lib/python/connections.cpp
@@
-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;
+}