summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-11-16 09:08:18 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2011-11-18 10:44:42 +0000
commit27afc946f679d649d57026ffd7d81bbaae00b4a2 (patch)
tree64273b8ccd84e0942e152ff5b9cc6681941b21e6 /extensions
parentf9332611f8c19a0bf96a7c822c7e03da796813f7 (diff)
Add Sending/Receiving signals to Console API
Diffstat (limited to 'extensions')
-rw-r--r--extensions/Gabble_Plugin_Console.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/extensions/Gabble_Plugin_Console.xml b/extensions/Gabble_Plugin_Console.xml
index f00a24ad3..93fa7590d 100644
--- a/extensions/Gabble_Plugin_Console.xml
+++ b/extensions/Gabble_Plugin_Console.xml
@@ -20,6 +20,8 @@
</tp:license>
<interface name="org.freedesktop.Telepathy.Gabble.Plugin.Console">
+ <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal"
+ value="true"/>
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>A sidecar interface providing an XMPP console.</p>
</tp:docstring>
@@ -61,6 +63,43 @@
</tp:docstring>
</method>
+ <signal name="StanzaSent" tp:name-for-bindings="Stanza_Sent">
+ <arg name="Stanza" type="s">
+ <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+ The stanza, in glorious XML.
+ </tp:docstring>
+ </arg>
+
+ <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+ Emitted whenever a stanza is sent and
+ <tp:member-ref>SpewStanzas</tp:member-ref> is
+ <code>True</code>.
+ </tp:docstring>
+ </signal>
+
+ <signal name="StanzaReceived" tp:name-for-bindings="Stanza_Received">
+ <arg name="Stanza" type="s">
+ <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+ The stanza, in glorious XML.
+ </tp:docstring>
+ </arg>
+
+ <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+ Emitted whenever a stanza is received and
+ <tp:member-ref>SpewStanzas</tp:member-ref> is
+ <code>True</code>.
+ </tp:docstring>
+ </signal>
+
+ <property name="SpewStanzas" type="b" access="readwrite"
+ tp:name-for-bindings="Spew_Stanzas">
+ <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+ If <code>True</code>, <tp:member-ref>StanzaReceived</tp:member-ref> and
+ <tp:member-ref>StanzaSent</tp:member-ref> will be emitted, drowning
+ your session bus in a sea of XML.
+ </tp:docstring>
+ </property>
+
</interface>
</node>
<!-- vim:set sw=2 sts=2 et ft=xml: -->