aboutsummaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/Makefile.am3
-rw-r--r--extensions/Tube_Handler.xml62
-rw-r--r--extensions/misc.xml1
3 files changed, 65 insertions, 1 deletions
diff --git a/extensions/Makefile.am b/extensions/Makefile.am
index 1e765b888..72ae28aec 100644
--- a/extensions/Makefile.am
+++ b/extensions/Makefile.am
@@ -10,7 +10,8 @@ EXTRA_DIST = \
all.xml \
misc.xml \
Channel_Handler.xml \
- Stream_Engine.xml
+ Stream_Engine.xml \
+ Tube_Handler.xml
noinst_LTLIBRARIES = libemp-extensions.la
diff --git a/extensions/Tube_Handler.xml b/extensions/Tube_Handler.xml
new file mode 100644
index 000000000..1c14158ba
--- /dev/null
+++ b/extensions/Tube_Handler.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" ?>
+<node name="/Tube_Handler" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
+ <tp:copyright>Copyright (C) 2008 Collabora Limited</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
+Library 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.gnome.Empathy.TubeHandler">
+
+ <method name="HandleTube">
+ <arg direction="in" type="s" name="Bus_Name" tp:type="DBus_Bus_Name">
+ <tp:docstring>
+ The bus name of the connection and channel
+ </tp:docstring>
+ </arg>
+ <arg direction="in" type="o" name="Connection">
+ <tp:docstring>
+ The object-path of the connection that owns the channel
+ </tp:docstring>
+ </arg>
+ <arg direction="in" type="o" name="Channel">
+ <tp:docstring>
+ The object-path of the tubes channel
+ </tp:docstring>
+ </arg>
+ <arg direction="in" type="u" tp:type="Handle_Type" name="Handle_Type">
+ <tp:docstring>The type of the handle that the channel communicates
+ with, or 0 if there is no associated handle</tp:docstring>
+ </arg>
+ <arg direction="in" type="u" tp:type="Handle" name="Handle">
+ <tp:docstring>The handle that the channel communicates with,
+ or 0 if there is no associated handle</tp:docstring>
+ </arg>
+ <arg name="id" type="u" tp:type="Tube_ID">
+ <tp:docstring>
+ The ID of the new tube.
+ </tp:docstring>
+ </arg>
+ <tp:docstring>
+ Called when a tube handler should handle a new tube within a tubes channel.
+ </tp:docstring>
+ <!-- FIXME: possible errors? -->
+ </method>
+ <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+ <p>An interface exported by client applications which are able to
+ handle incoming tubes.</p>
+ </tp:docstring>
+ </interface>
+</node>
+<!-- vim:set sw=2 sts=2 et ft=xml: -->
+
diff --git a/extensions/misc.xml b/extensions/misc.xml
index 2bca333bf..72d3a4124 100644
--- a/extensions/misc.xml
+++ b/extensions/misc.xml
@@ -6,5 +6,6 @@
<xi:include href="Stream_Engine.xml"/>
<xi:include href="Channel_Handler.xml"/>
+<xi:include href="Tube_Handler.xml"/>
</tp:spec>