~ubuntu-branches/ubuntu/precise/telepathy-mission-control-5/precise

« back to all changes in this revision

Viewing changes to xml/Channel_Dispatcher_Interface_Messages_DRAFT.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sjoerd Simons
  • Date: 2011-04-08 21:21:27 UTC
  • mto: (0.12.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: james.westby@ubuntu.com-20110408212127-9efbdginfn4i11os
ImportĀ upstreamĀ versionĀ 5.7.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" ?>
 
2
<node name="/Channel_Dispatcher_Interface_Messages_Draft"
 
3
      xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
 
4
 
 
5
  <tp:copyright>Copyright (C) 2011 Collabora Ltd.</tp:copyright>
 
6
  <tp:copyright>Copyright (C) 2011 Nokia Corporation</tp:copyright>
 
7
  <tp:license xmlns="http://www.w3.org/1999/xhtml">
 
8
    <p>This library is free software; you can redistribute it and/or
 
9
      modify it under the terms of the GNU Lesser General Public
 
10
      License as published by the Free Software Foundation; either
 
11
      version 2.1 of the License, or (at your option) any later version.</p>
 
12
 
 
13
    <p>This library is distributed in the hope that it will be useful,
 
14
      but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
16
      Lesser General Public License for more details.</p>
 
17
 
 
18
    <p>You should have received a copy of the GNU Lesser General Public
 
19
      License along with this library; if not, write to the Free Software
 
20
      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
 
21
      USA.</p>
 
22
  </tp:license>
 
23
 
 
24
  <interface
 
25
    name="org.freedesktop.Telepathy.ChannelDispatcher.Interface.Messages.DRAFT"
 
26
    tp:causes-havoc="not yet final">
 
27
 
 
28
    <tp:requires interface="org.freedesktop.Telepathy.ChannelDispatcher"/>
 
29
 
 
30
    <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
 
31
      <p>
 
32
        This interface allows DBus clients to use the ChannelDispatcher to
 
33
        send one-off text messages to a contact, identified by account and
 
34
        target ID, without requiring the caller to handle channels or be
 
35
        the primary message UI.
 
36
      </p>
 
37
 
 
38
      <tp:rationale>
 
39
        <p>
 
40
          This enables entities other than the main UI to send messages
 
41
          to contacts.
 
42
        </p>
 
43
      </tp:rationale>
 
44
    </tp:docstring>
 
45
 
 
46
    <method name="SendMessage" tp:name-for-bindings="Send_Message">
 
47
      <arg direction="in"  name="Account"  type="o"/>
 
48
      <arg direction="in"  name="TargetID" type="s"/>
 
49
      <arg direction="in"  name="Message"  type="aa{sv}"
 
50
           tp:type="Message_Part[]"/>
 
51
      <arg direction="in"  name="Flags"    type="u"/>
 
52
      <arg direction="out" name="Token"    type="s"/>
 
53
    </method>
 
54
 
 
55
  </interface>
 
56
</node>
 
57