~ubuntu-branches/ubuntu/natty/empathy/natty-updates

« back to all changes in this revision

Viewing changes to extensions/Channel_Handler.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sjoerd Simons
  • Date: 2008-03-10 16:39:07 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20080310163907-tv41g2zmf0qqgi85
Tags: 0.22.0-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" ?>
 
2
<node name="/Channel_Handler" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
 
3
  <tp:copyright>Copyright (C) 2007 Collabora Limited</tp:copyright>
 
4
  <tp:license xmlns="http://www.w3.org/1999/xhtml">
 
5
    <p>This library is free software; you can redistribute it and/or
 
6
modify it under the terms of the GNU Lesser General Public
 
7
License as published by the Free Software Foundation; either
 
8
version 2.1 of the License, or (at your option) any later version.</p>
 
9
 
 
10
<p>This library is distributed in the hope that it will be useful,
 
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
13
Library General Public License for more details.</p>
 
14
 
 
15
<p>You should have received a copy of the GNU Lesser General Public
 
16
License along with this library; if not, write to the Free Software
 
17
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</p>
 
18
  </tp:license>
 
19
  <interface name="org.freedesktop.Telepathy.ChannelHandler">
 
20
 
 
21
    <method name="HandleChannel">
 
22
      <arg direction="in" type="s" name="Bus_Name" tp:type="DBus_Bus_Name">
 
23
        <tp:docstring>
 
24
          The bus name of the connection and channel
 
25
        </tp:docstring>
 
26
      </arg>
 
27
      <arg direction="in" type="o" name="Connection">
 
28
        <tp:docstring>
 
29
          The object-path of the connection that owns the channel
 
30
        </tp:docstring>
 
31
      </arg>
 
32
      <arg direction="in" type="s" tp:type="DBus_Interface" name="Channel_Type">
 
33
        <tp:docstring>
 
34
          The channel type
 
35
        </tp:docstring>
 
36
      </arg>
 
37
      <arg direction="in" type="o" name="Channel">
 
38
        <tp:docstring>
 
39
          The object-path of the channel
 
40
        </tp:docstring>
 
41
      </arg>
 
42
      <arg direction="in" type="u" tp:type="Handle_Type" name="Handle_Type">
 
43
        <tp:docstring>The type of the handle that the channel communicates
 
44
          with, or 0 if there is no associated handle</tp:docstring>
 
45
      </arg>
 
46
      <arg direction="in" type="u" tp:type="Handle" name="Handle">
 
47
        <tp:docstring>The handle that the channel communicates with,
 
48
          or 0 if there is no associated handle</tp:docstring>
 
49
      </arg>
 
50
      <tp:docstring>
 
51
        Called when a channel handler should handle a new channel.
 
52
      </tp:docstring>
 
53
      <!-- FIXME: possible errors? -->
 
54
    </method>
 
55
    <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
 
56
      <p>An interface exported by client applications which are able to
 
57
        handle incoming channels.</p>
 
58
    </tp:docstring>
 
59
  </interface>
 
60
</node>
 
61
<!-- vim:set sw=2 sts=2 et ft=xml: -->
 
62