empathy r971 - trunk/extensions
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r971 - trunk/extensions
- Date: Sat, 19 Apr 2008 22:04:02 +0100 (BST)
Author: xclaesse
Date: Sat Apr 19 21:04:01 2008
New Revision: 971
URL: http://svn.gnome.org/viewvc/empathy?rev=971&view=rev
Log:
Add new tube handling interface
Added:
trunk/extensions/Tube_Handler.xml
Modified:
trunk/extensions/Makefile.am
trunk/extensions/misc.xml
Modified: trunk/extensions/Makefile.am
==============================================================================
--- trunk/extensions/Makefile.am (original)
+++ trunk/extensions/Makefile.am Sat Apr 19 21:04:01 2008
@@ -10,7 +10,8 @@
all.xml \
misc.xml \
Channel_Handler.xml \
- Stream_Engine.xml
+ Stream_Engine.xml \
+ Tube_Handler.xml
noinst_LTLIBRARIES = libemp-extensions.la
Added: trunk/extensions/Tube_Handler.xml
==============================================================================
--- (empty file)
+++ trunk/extensions/Tube_Handler.xml Sat Apr 19 21:04:01 2008
@@ -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: -->
+
Modified: trunk/extensions/misc.xml
==============================================================================
--- trunk/extensions/misc.xml (original)
+++ trunk/extensions/misc.xml Sat Apr 19 21:04:01 2008
@@ -6,5 +6,6 @@
<xi:include href="Stream_Engine.xml"/>
<xi:include href="Channel_Handler.xml"/>
+<xi:include href="Tube_Handler.xml"/>
</tp:spec>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]