summaryrefslogtreecommitdiff
path: root/xml/Account_Interface_Compat.xml
blob: 6b4a5393c924d11971a54a1d0cb55bed0b128e2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" ?>
<node name="/Account_Interface_Compat" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
  <tp:copyright>Copyright (C) 2008 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.Account.Interface.Compat">
    <tp:requires interface="org.freedesktop.Telepathy.Account"/>
    <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
      <p>The Compat interface holds properties necessary for maintaining the
        libmissioncontrol compatible layer.</p>
    </tp:docstring>

    <method name="RequestChannel">
      <tp:docstring>
        Requests a channel.
      </tp:docstring>
      <arg type="s" name="type" direction="in">
        <tp:docstring>D-Bus interface name representing the channel type</tp:docstring>
      </arg>
      <arg type="u" name="handle" direction="in">
        <tp:docstring>A nonzero integer handle representing a contact, room,
          list, etc.</tp:docstring>
      </arg>
      <arg type="i" name="handle_type" direction="in">
        <tp:docstring>A integer representing the channel type</tp:docstring>
      </arg>
      <arg type="u" name="operation_id" direction="out">
        <tp:docstring>A integer representing an operation ID, which can then be
          used for cancelling the request</tp:docstring>
      </arg>
    </method>

    <method name="RequestChannelWithStringHandle">
      <tp:docstring>
        Requests a channel by a string handle.
      </tp:docstring>
      <arg type="s" name="type" direction="in">
        <tp:docstring>D-Bus interface name representing the channel type</tp:docstring>
      </arg>
      <arg type="s" name="handle" direction="in">
        <tp:docstring>A string handle representing a contact, room, list,
          etc.</tp:docstring>
      </arg>
      <arg type="i" name="handle_type" direction="in">
        <tp:docstring>A integer representing the channel type</tp:docstring>
      </arg>
      <arg type="u" name="operation_id" direction="out">
        <tp:docstring>A integer representing an operation ID, which can then be
          used for cancelling the request</tp:docstring>
      </arg>
    </method>

    <method name="CancelChannelRequest">
      <tp:docstring>
        Cancel a channel request.
      </tp:docstring>
      <arg type="u" name="operation_id" direction="in">
        <tp:docstring>The operation ID which identifies the channel request;
          this is the same integet that was passed when making the
          request</tp:docstring>
      </arg>
    </method>

    <property name="Profile" type="s" access="readwrite">
      <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
        <p>The name of the profile.</p>
      </tp:docstring>
    </property>

    <property name="AvatarFile" type="s" access="read">
      <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
        <p>The location of the avatar.</p>
      </tp:docstring>
    </property>

    <property name="SecondaryVCardFields" type="as" access="readwrite">
      <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
        <p>List of secondary VCard fields.</p>
      </tp:docstring>
    </property>

  </interface>
</node>
<!-- vim:set sw=2 sts=2 et ft=xml: -->