[gnome-online-accounts] Introduce org.gnome.OnlineAccounts.Files



commit 646e99884357b079ad384eb211e1909c39b947cc
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Oct 3 23:13:38 2012 +0200

    Introduce org.gnome.OnlineAccounts.Files
    
    This is meant for accounts that can be used to access files. eg., via
    WebDAV. It has a property named Uri to represent the top-level
    location of the files as a GVfs-specific URI.
    
    This will be useful for supporting ownCloud, which offers a WebDAV
    endpoint.
    
    Fixes: https://bugzilla.gnome.org/660573

 data/dbus-interfaces.xml |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)
---
diff --git a/data/dbus-interfaces.xml b/data/dbus-interfaces.xml
index 6101478..f9c9deb 100644
--- a/data/dbus-interfaces.xml
+++ b/data/dbus-interfaces.xml
@@ -166,6 +166,16 @@
     -->
     <property name="DocumentsDisabled" type="b" access="readwrite"/>
 
+    <!-- FilesDisabled:
+         If %TRUE, the account will not expose any
+         #org.gnome.OnlineAccounts.Files interface. If the account does not
+         provide files-like capabilities, this property does nothing.
+
+         Note that the #org.gnomeOnlineAccounts.Files interface is added or
+         removed from the account asynchronously.
+    -->
+    <property name="FilesDisabled" type="b" access="readwrite"/>
+
     <!-- TicketingDisabled:
          If %TRUE, the account will not expose any
          #org.gnome.OnlineAccounts.Ticketing interface. If the account does not
@@ -449,6 +459,28 @@
   </interface>
 
   <!--
+      org.gnome.OnlineAccounts.Files:
+      @since: 3.8.0
+
+      An account object implements this interface if it provides
+      files-like capabilities. For example, it can represent a
+      <ulink url="http://tools.ietf.org/html/rfc4918";>WebDAV</ulink>
+      server.
+  -->
+  <interface name="org.gnome.OnlineAccounts.Files">
+    <!-- Uri:
+         The top-level location of the files.
+
+         This is a
+         <ulink url="http://developer.gnome.org/gio/stable/GVfs.html";>
+         Gvfs</ulink>-specific URI meant to be used with
+         <ulink url="http://developer.gnome.org/platform-overview/stable/gio";>
+         GIO</ulink>. It may not work with anything else.
+      -->
+    <property name="Uri" type="s" access="read"/>
+  </interface>
+
+  <!--
       org.gnome.OnlineAccounts.Exchange:
       @since: 3.6.0
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]