aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/phonon/typesystem_phonon.xml
diff options
context:
space:
mode:
authorrenatofilho <renato.filho@openbossa.org>2010-09-15 17:39:49 -0300
committerrenatofilho <renato.filho@openbossa.org>2010-09-15 17:47:36 -0300
commit09e087f0bd9b38b59cc738589e216e95c5aa2211 (patch)
tree88aa9cc8f24b6c46ae948ee1d3caafd5329a5a5f /PySide/phonon/typesystem_phonon.xml
parent87ea5d920c62eed3e9c1185fa66740c13c71f65b (diff)
Included Notifier signals on genereted code.
Fixes bug: #328. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'PySide/phonon/typesystem_phonon.xml')
-rw-r--r--PySide/phonon/typesystem_phonon.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/PySide/phonon/typesystem_phonon.xml b/PySide/phonon/typesystem_phonon.xml
index 2bb9c2099..e326436ec 100644
--- a/PySide/phonon/typesystem_phonon.xml
+++ b/PySide/phonon/typesystem_phonon.xml
@@ -61,7 +61,18 @@
<modify-function signature="notifier()" remove="all"/>
<modify-function signature="Phonon::BackendCapabilities::NotifierWrapper(Phonon::BackendCapabilities::Notifier*)">
<access modifier="private"/>
- </modify-function>
+ </modify-function>
+ <inject-code class="target" position="end">
+ PyObject* signal_item;
+
+ signal_item = PySide::signalNew("capabilitiesChanged", "void", NULL);
+ PyDict_SetItemString(SbkPhonon_BackendCapabilities_NotifierWrapper_Type.super.ht_type.tp_dict, "capabilitiesChanged", signal_item);
+ Py_DECREF(signal_item);
+
+ signal_item = PySide::signalNew("availableAudioOutputDevicesChanged", "void", NULL);
+ PyDict_SetItemString( SbkPhonon_BackendCapabilities_NotifierWrapper_Type.super.ht_type.tp_dict, "availableAudioOutputDevicesChanged", signal_item);
+ Py_DECREF(signal_item);
+ </inject-code>
</object-type>
<enum-type name="Phonon::Category" />