]> git.0d.be Git - empathy.git/blobdiff - src/Chat_Manager.xml
generate GDBus API for the chat manager
[empathy.git] / src / Chat_Manager.xml
diff --git a/src/Chat_Manager.xml b/src/Chat_Manager.xml
new file mode 100644 (file)
index 0000000..15ea951
--- /dev/null
@@ -0,0 +1,36 @@
+<?xml version="1.0" ?>
+<node name="/Chat_Manager"
+  xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
+  <tp:copyright>Copyright (C) 2011 Collabora Ltd.</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 Street, Fifth Floor, Boston, MA 02110-1301, USA.</p>
+  </tp:license>
+  <interface name="org.gnome.Empathy.ChatManager">
+
+    <method name="UndoClosedChat" tp:name-for-bindings="Undo_Closed_Chat">
+      <arg direction="in" type="x" name="User_Time">
+        <tp:docstring>
+          The user action time for the event.
+        </tp:docstring>
+      </arg>
+      <tp:docstring>
+        Ask the chat manager to undo closing a tab. If there is no tab
+        to be opened then return successfully.
+      </tp:docstring>
+    </method>
+
+  </interface>
+</node>
+<!-- vim:set sw=2 sts=2 et ft=xml: -->