~ubuntu-branches/ubuntu/oneiric/libtelepathy/oneiric

« back to all changes in this revision

Viewing changes to spec/Connection_Interface_Renaming.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sjoerd Simons
  • Date: 2007-03-12 11:43:26 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20070312114326-v4aezxb6sr8utds1
Tags: 0.0.51-2
Bump shlibs

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" ?>
 
2
<node name="/Connection_Interface_Renaming" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
 
3
  <tp:copyright> Copyright (C) 2005, 2006 Collabora Limited </tp:copyright>
 
4
  <tp:copyright> Copyright (C) 2005, 2006 Nokia Corporation </tp:copyright>
 
5
  <tp:copyright> Copyright (C) 2006 INdT </tp:copyright>
 
6
  <tp:license xmlns="http://www.w3.org/1999/xhtml">
 
7
    <p>This library is free software; you can redistribute it and/or
 
8
modify it under the terms of the GNU Lesser General Public
 
9
License as published by the Free Software Foundation; either
 
10
version 2.1 of the License, or (at your option) any later version.</p>
 
11
 
 
12
<p>This library is distributed in the hope that it will be useful,
 
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
Library General Public License for more details.</p>
 
16
 
 
17
<p>You should have received a copy of the GNU Lesser General Public
 
18
License along with this library; if not, write to the Free Software
 
19
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</p>
 
20
  </tp:license>
 
21
  <interface name="org.freedesktop.Telepathy.Connection.Interface.Renaming">
 
22
    <tp:requires interface="org.freedesktop.Telepathy.Connection"/>
 
23
    <signal name="Renamed">
 
24
      <arg name="original" type="u">
 
25
        <tp:docstring>
 
26
          The handle of the original identifier
 
27
        </tp:docstring>
 
28
      </arg>
 
29
      <arg name="new" type="u">
 
30
        <tp:docstring>
 
31
          The handle of the new identifier
 
32
        </tp:docstring>
 
33
      </arg>
 
34
      <tp:docstring>
 
35
        Emitted when the unique identifier of a contact on the server changes.
 
36
      </tp:docstring>
 
37
    </signal>
 
38
    <method name="RequestRename">
 
39
      <arg direction="in" name="name" type="s">
 
40
        <tp:docstring>
 
41
          The desired identifier
 
42
        </tp:docstring>
 
43
      </arg>
 
44
      <tp:docstring>
 
45
        Request that the users own identifier is changed on the server. Success
 
46
        is indicated by a Renamed signal being emitted. A new handle will be
 
47
        allocated for the user's new identifier, and remain valid for the
 
48
        lifetime of the connection.
 
49
      </tp:docstring>
 
50
      <tp:possible-errors>
 
51
        <tp:error name="org.freedesktop.Telepathy.Error.Disconnected"/>
 
52
        <tp:error name="org.freedesktop.Telepathy.Error.NetworkError"/>
 
53
        <tp:error name="org.freedesktop.Telepathy.Error.NotAvailable"/>
 
54
        <tp:error name="org.freedesktop.Telepathy.Error.InvalidArgument"/>
 
55
        <tp:error name="org.freedesktop.Telepathy.Error.PermissionDenied"/>
 
56
      </tp:possible-errors>
 
57
    </method>
 
58
    <tp:docstring>
 
59
      An interface on connections to support protocols where the unique
 
60
    identifiers of contacts can change. Because handles are immutable,
 
61
    this is represented by a pair of handles, that representing the
 
62
    old name, and that representing the new one.
 
63
    </tp:docstring>
 
64
  </interface>
 
65
</node>
 
66
<!-- vim:set sw=2 sts=2 et ft=xml: -->