summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2011-03-17 22:43:52 -0300
committerAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2011-03-18 09:18:09 -0300
commit452471b1dffb602a0c5050167559172a59ef5eb4 (patch)
tree8eb53d46ee6b9ef88b41eb5a07c57cd4ba14cc44 /spec
parent21c3a4f6dc6a63c57b0497ca5f43fd6a1fa43f86 (diff)
Import CD.I.Messages interface.
Diffstat (limited to 'spec')
-rw-r--r--spec/Channel_Dispatcher_Interface_Messages.xml49
-rw-r--r--spec/all.xml1
2 files changed, 50 insertions, 0 deletions
diff --git a/spec/Channel_Dispatcher_Interface_Messages.xml b/spec/Channel_Dispatcher_Interface_Messages.xml
new file mode 100644
index 00000000..f6cfd04a
--- /dev/null
+++ b/spec/Channel_Dispatcher_Interface_Messages.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" ?>
+<node name="/Channel_Dispatcher_Interface_Messages"
+ xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
+
+ <tp:copyright>Copyright (C) 2011 Collabora Ltd.</tp:copyright>
+ <tp:copyright>Copyright (C) 2011 Nokia Corporation</tp:copyright>
+ <tp:license xmlns="http://www.w3.org/1999/xhtml">
+ <p>This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.</p>
+
+ <p>This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.</p>
+
+ <p>You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+ USA.</p>
+ </tp:license>
+
+ <interface name="org.freedesktop.Telepathy.ChannelDispatcher.Interface.Messages.DRAFT"
+ tp:causes-havoc="not yet final">
+
+ <tp:requires interface="org.freedesktop.Telepathy.ChannelDispatcher"/>
+
+ <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+ <p>This interface allows users of the ChannelDispatcher to send one-off
+ text messages to a contact, identified by account and target ID.</p>
+
+ <tp:rationale>
+ <p>This enables entities other than the main UI to send one-off messages
+ to a contact.</p>
+ </tp:rationale>
+ </tp:docstring>
+
+ <method name="SendMessage" tp:name-for-bindings="Send_Message">
+ <arg direction="in" name="Account" type="o"/>
+ <arg direction="in" name="TargetID" type="s"/>
+ <arg direction="in" name="Message" type="aa{sv}" tp:type="Message_Part[]"/>
+ <arg direction="in" name="Flags" type="u"/>
+ <arg direction="out" name="Token" type="s"/>
+ </method>
+
+ </interface>
+</node>
+
diff --git a/spec/all.xml b/spec/all.xml
index 31234012..7fdd16ce 100644
--- a/spec/all.xml
+++ b/spec/all.xml
@@ -269,6 +269,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
</tp:docstring>
<xi:include href="Channel_Dispatcher.xml"/>
<xi:include href="Channel_Dispatcher_Interface_Operation_List.xml"/>
+ <xi:include href="Channel_Dispatcher_Interface_Messages.xml"/>
<xi:include href="Channel_Dispatch_Operation.xml"/>
<xi:include href="Channel_Request.xml"/>
</tp:section>