[Telepathy-commits] [telepathy-gabble/master] add OLPC_Gadget.xml

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Sep 26 10:02:11 PDT 2008


20080523094832-7fe3f-c8f195df6beed9e36b60e634f74d6dbacf6cb615.gz
---
 extensions/OLPC_Gadget.xml |  136 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 136 insertions(+), 0 deletions(-)
 create mode 100644 extensions/OLPC_Gadget.xml

diff --git a/extensions/OLPC_Gadget.xml b/extensions/OLPC_Gadget.xml
new file mode 100644
index 0000000..89bf492
--- /dev/null
+++ b/extensions/OLPC_Gadget.xml
@@ -0,0 +1,136 @@
+<?xml version="1.0" ?>
+<node name="/OLPC_Gadget" 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
+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 St, Fifth Floor, Boston, MA  02110-1301  USA</p>
+  </tp:license>
+  <interface name="org.laptop.Telepathy.Gadget">
+    <tp:requires interface="org.freedesktop.Telepathy.Connection"/>
+    <tp:requires interface="org.laptop.Telepathy.BuddyInfo"/>
+    <tp:requires interface="org.laptop.Telepathy.ActivityProperties"/>
+
+    <method name="SearchBuddiesByProperties">
+      <arg direction="in" name="properties" type="a{sv}">
+        <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+          A buddy properties dictionary as described on
+          <code>org.laptop.Telepathy.BuddyInfo</code>.
+        </tp:docstring>
+      </arg>
+      <arg direction="out" name="view" type="o">
+        <tp:docstring>
+          The D-Bus object path for the view created 
+        </tp:docstring>
+      </arg>
+      <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+        <p>Search for buddies having the given properties.</p>
+        <p>Returns a <code>org.laptop.Telepathy.BuddyView</code> object representing the
+           result of the search.</p>
+      </tp:docstring>
+      <tp:possible-errors>
+        <tp:error name="org.freedesktop.Telepathy.Error.InvalidArgument"/>
+      </tp:possible-errors>
+    </method>
+
+    <method name="RequestRandomBuddies">
+      <arg direction="in" name="max" type="u">
+         <tp:docstring>
+          The maximum of random buddies to look for.
+        </tp:docstring>
+      </arg>
+      <arg direction="out" name="view" type="o">
+        <tp:docstring>
+          The D-Bus object path for the view created 
+        </tp:docstring>
+      </arg>
+      <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+        <p>Request random buddies.</p>
+        <p>Returns a <code>org.laptop.Telepathy.BuddyView</code> object representing the
+           random buddies returned.</p>
+      </tp:docstring>
+      <tp:possible-errors>
+        <tp:error name="org.freedesktop.Telepathy.Error.InvalidArgument"/>
+      </tp:possible-errors>
+    </method>
+
+    <method name="SearchActivitiesByProperties">
+      <arg direction="in" name="properties" type="a{sv}">
+        <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+          An activity properties dictionary as described on
+          <code>org.laptop.Telepathy.ActivityProperties</code>.
+        </tp:docstring>
+      </arg>
+      <arg direction="out" name="view" type="o">
+        <tp:docstring>
+          The D-Bus object path for the view created 
+        </tp:docstring>
+      </arg>
+      <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+        <p>Search for activities having the given properties.</p>
+        <p>Returns a <code>org.laptop.Telepathy.ActivityView</code> object representing the
+           result of the search.</p>
+      </tp:docstring>
+      <tp:possible-errors>
+        <tp:error name="org.freedesktop.Telepathy.Error.InvalidArgument"/>
+      </tp:possible-errors>
+    </method>
+
+    <method name="RequestRandomActivities">
+      <arg direction="in" name="max" type="u">
+         <tp:docstring>
+          The maximum of random activities to look for.
+        </tp:docstring>
+      </arg>
+      <arg direction="out" name="view" type="o">
+        <tp:docstring>
+          The D-Bus object path for the view created 
+        </tp:docstring>
+      </arg>
+      <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+        <p>Request random activities.</p>
+        <p>Returns a <code>org.laptop.Telepathy.ActivityView</code> object representing the
+           random activities returned.</p>
+      </tp:docstring>
+      <tp:possible-errors>
+        <tp:error name="org.freedesktop.Telepathy.Error.InvalidArgument"/>
+      </tp:possible-errors>
+    </method>
+
+    <method name="SearchActivitiesByParticipants">
+      <arg direction="in" name="participants" type="au">
+         <tp:docstring>
+          The handles of the participants
+        </tp:docstring>
+      </arg>
+      <arg direction="out" name="view" type="o">
+        <tp:docstring>
+          The D-Bus object path for the view created 
+        </tp:docstring>
+      </arg>
+      <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+        <p>Search for activities having the given participants.</p>
+        <p>Returns a <code>org.laptop.Telepathy.ActivityView</code> object representing the
+           result of the search.</p>
+      </tp:docstring>
+      <tp:possible-errors>
+        <tp:error name="org.freedesktop.Telepathy.Error.InvalidArgument"/>
+      </tp:possible-errors>
+    </method>
+
+    <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+      <p>An interface on connections to interact with the Gadget component.</p>
+    </tp:docstring>
+  </interface>
+</node>
+<!-- vim:set sw=2 sts=2 et ft=xml: -->
-- 
1.5.6.5




More information about the Telepathy-commits mailing list