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



commit bb9575cd95cf2bb03cea8714e92e624296434739
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Dec 17 11:25:52 2012 +0530

    Introduce org.gnome.OnlineAccounts.Photos
    
    This is meant for accounts that can be used to access photos. eg.,
    Flickr.

 data/dbus-interfaces.xml |   27 +++++++++++++++++++++++++--
 doc/goa-docs.xml         |    2 ++
 doc/goa-sections.txt     |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 73 insertions(+), 2 deletions(-)
---
diff --git a/data/dbus-interfaces.xml b/data/dbus-interfaces.xml
index c7eae02..04cf366 100644
--- a/data/dbus-interfaces.xml
+++ b/data/dbus-interfaces.xml
@@ -3,7 +3,7 @@
 "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd";>
 
 <!--
- Copyright (C) 2011 Red Hat, Inc.
+ Copyright (C) 2011, 2012 Red Hat, Inc.
 
  This library is free software; you can redistribute it and/or
  modify it under the terms of the GNU Lesser General Public
@@ -20,7 +20,8 @@
  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  Boston, MA 02111-1307, USA.
 
- Author: David Zeuthen <davidz redhat com>
+ Authors: David Zeuthen <davidz redhat com>
+          Debarshi Ray <debarshir gnome org>
 -->
 
 <node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd";>
@@ -166,6 +167,18 @@
     -->
     <property name="DocumentsDisabled" type="b" access="readwrite"/>
 
+    <!-- PhotosDisabled:
+         @since: 3.8.0
+
+         If %TRUE, the account will not expose any
+         #org.gnome.OnlineAccounts.Photos interface. If the account does not
+         provide photos-like capabilities, this property does nothing.
+
+         Note that the #org.gnomeOnlineAccounts.Photos interface is added or
+         removed from the account asynchronously.
+    -->
+    <property name="PhotosDisabled" type="b" access="readwrite"/>
+
     <!-- FilesDisabled:
          If %TRUE, the account will not expose any
          #org.gnome.OnlineAccounts.Files interface. If the account does not
@@ -473,6 +486,16 @@
   </interface>
 
   <!--
+      org.gnome.OnlineAccounts.Photos:
+      @since: 3.8.0
+
+      An account object implements this interface if it provides
+      photos-like capabilities.
+  -->
+  <interface name="org.gnome.OnlineAccounts.Photos">
+  </interface>
+
+  <!--
       org.gnome.OnlineAccounts.Files:
       @since: 3.8.0
 
diff --git a/doc/goa-docs.xml b/doc/goa-docs.xml
index a49b7d3..3df6fee 100644
--- a/doc/goa-docs.xml
+++ b/doc/goa-docs.xml
@@ -121,6 +121,7 @@
       <xi:include href="../src/goa/goa-generated-doc-org.gnome.OnlineAccounts.Contacts.xml"/>
       <xi:include href="../src/goa/goa-generated-doc-org.gnome.OnlineAccounts.Chat.xml"/>
       <xi:include href="../src/goa/goa-generated-doc-org.gnome.OnlineAccounts.Documents.xml"/>
+      <xi:include href="../src/goa/goa-generated-doc-org.gnome.OnlineAccounts.Photos.xml"/>
       <xi:include href="../src/goa/goa-generated-doc-org.gnome.OnlineAccounts.Files.xml"/>
       <xi:include href="../src/goa/goa-generated-doc-org.gnome.OnlineAccounts.Exchange.xml"/>
     </chapter>
@@ -145,6 +146,7 @@
       <xi:include href="xml/GoaContacts.xml"/>
       <xi:include href="xml/GoaChat.xml"/>
       <xi:include href="xml/GoaDocuments.xml"/>
+      <xi:include href="xml/GoaPhotos.xml"/>
       <xi:include href="xml/GoaFiles.xml"/>
       <xi:include href="xml/GoaExchange.xml"/>
     </chapter>
diff --git a/doc/goa-sections.txt b/doc/goa-sections.txt
index 82564fd..99d3100 100644
--- a/doc/goa-sections.txt
+++ b/doc/goa-sections.txt
@@ -57,6 +57,7 @@ goa_object_get_calendar
 goa_object_get_contacts
 goa_object_get_chat
 goa_object_get_documents
+goa_object_get_photos
 goa_object_get_files
 goa_object_get_exchange
 goa_object_peek_manager
@@ -68,6 +69,7 @@ goa_object_peek_calendar
 goa_object_peek_contacts
 goa_object_peek_chat
 goa_object_peek_documents
+goa_object_peek_photos
 goa_object_peek_files
 goa_object_peek_exchange
 GoaObjectProxy
@@ -85,6 +87,7 @@ goa_object_skeleton_set_calendar
 goa_object_skeleton_set_contacts
 goa_object_skeleton_set_chat
 goa_object_skeleton_set_documents
+goa_object_skeleton_set_photos
 goa_object_skeleton_set_files
 goa_object_skeleton_set_exchange
 <SUBSECTION Standard>
@@ -147,6 +150,8 @@ goa_account_get_chat_disabled
 goa_account_set_chat_disabled
 goa_account_get_documents_disabled
 goa_account_set_documents_disabled
+goa_account_get_photos_disabled
+goa_account_set_photos_disabled
 goa_account_get_files_disabled
 goa_account_set_files_disabled
 goa_account_call_ensure_credentials
@@ -803,6 +808,47 @@ goa_documents_skeleton_get_type
 </SECTION>
 
 <SECTION>
+<FILE>GoaPhotos</FILE>
+GoaPhotos
+GoaPhotosIface
+goa_photos_interface_info
+goa_photos_override_properties
+GoaPhotosProxy
+GoaPhotosProxyClass
+goa_photos_proxy_new
+goa_photos_proxy_new_finish
+goa_photos_proxy_new_sync
+goa_photos_proxy_new_for_bus
+goa_photos_proxy_new_for_bus_finish
+goa_photos_proxy_new_for_bus_sync
+GoaPhotosSkeleton
+GoaPhotosSkeletonClass
+goa_photos_skeleton_new
+<SUBSECTION Standard>
+GOA_TYPE_PHOTOS
+GOA_IS_PHOTOS
+GOA_PHOTOS
+GOA_PHOTOS_GET_IFACE
+GOA_TYPE_PHOTOS_PROXY
+GOA_IS_PHOTOS_PROXY
+GOA_IS_PHOTOS_PROXY_CLASS
+GOA_PHOTOS_PROXY
+GOA_PHOTOS_PROXY_CLASS
+GOA_PHOTOS_PROXY_GET_CLASS
+GOA_TYPE_PHOTOS_SKELETON
+GOA_IS_PHOTOS_SKELETON
+GOA_IS_PHOTOS_SKELETON_CLASS
+GOA_PHOTOS_SKELETON
+GOA_PHOTOS_SKELETON_CLASS
+GOA_PHOTOS_SKELETON_GET_CLASS
+GoaPhotosProxyPrivate
+GoaPhotosSkeletonPrivate
+goa_photos_get_type
+goa_photos_proxy_get_type
+goa_photos_skeleton_get_type
+</SECTION>
+
+<SECTION>
 <FILE>GoaFiles</FILE>
 GoaFiles
 GoaFilesIface



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