aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-04-19 20:15:03 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-04-24 08:06:01 +0800
commit5991b04ac5b48980f4d384951d619b3ec696e17f (patch)
treedebdc2e3667ccfa13af2248cc8c0f1536d907a88 /doc
parentc64602b39797e4d1ffdc23766b2caaf5a0be000b (diff)
downloadgsoc2013-evolution-5991b04ac5b48980f4d384951d619b3ec696e17f.tar.gz
gsoc2013-evolution-5991b04ac5b48980f4d384951d619b3ec696e17f.tar.zst
gsoc2013-evolution-5991b04ac5b48980f4d384951d619b3ec696e17f.zip
Add EPhotoSource interface.
EPhotoSource is an interface used to extend the functionality of EPhotoCache. You can add an object implementing EPhotoSource to an EPhotoCache with e_photo_cache_add_photo_source() and remove it with e_photo_cache_remove_photo_source(). When EPhotoCache needs a photo for an email address, it will invoke e_photo_source_get_photo() on all available EPhotoSource objects simultaneously and select one photo.
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/libeutil/libeutil-docs.sgml1
-rw-r--r--doc/reference/libeutil/libeutil-sections.txt15
-rw-r--r--doc/reference/libeutil/libeutil.types1
3 files changed, 17 insertions, 0 deletions
diff --git a/doc/reference/libeutil/libeutil-docs.sgml b/doc/reference/libeutil/libeutil-docs.sgml
index 2d705be6c3..0928cdab4c 100644
--- a/doc/reference/libeutil/libeutil-docs.sgml
+++ b/doc/reference/libeutil/libeutil-docs.sgml
@@ -249,6 +249,7 @@
<xi:include href="xml/e-online-button.xml"/>
<xi:include href="xml/e-paned.xml"/>
<xi:include href="xml/e-photo-cache.xml"/>
+ <xi:include href="xml/e-photo-source.xml"/>
<xi:include href="xml/e-picture-gallery.xml"/>
<xi:include href="xml/e-poolv.xml"/>
<xi:include href="xml/e-popup-action.xml"/>
diff --git a/doc/reference/libeutil/libeutil-sections.txt b/doc/reference/libeutil/libeutil-sections.txt
index 0c8989491d..49420677c4 100644
--- a/doc/reference/libeutil/libeutil-sections.txt
+++ b/doc/reference/libeutil/libeutil-sections.txt
@@ -2507,6 +2507,21 @@ EPhotoCachePrivate
</SECTION>
<SECTION>
+<FILE>e-photo-source</FILE>
+<TITLE>EPhotoSource</TITLE>
+EPhotoSource
+EPhotoSourceInterface
+e_photo_source_get_photo
+e_photo_source_get_photo_finish
+<SUBSECTION Standard>
+E_PHOTO_SOURCE
+E_IS_PHOTO_SOURCE
+E_TYPE_PHOTO_SOURCE
+E_PHOTO_SOURCE_GET_INTERFACE
+e_photo_source_get_type
+</SECTION>
+
+<SECTION>
<FILE>e-picture-gallery</FILE>
<TITLE>EPictureGallery</TITLE>
EPictureGallery
diff --git a/doc/reference/libeutil/libeutil.types b/doc/reference/libeutil/libeutil.types
index bd867bad26..41065e0c65 100644
--- a/doc/reference/libeutil/libeutil.types
+++ b/doc/reference/libeutil/libeutil.types
@@ -92,6 +92,7 @@ e_name_selector_model_get_type
e_online_button_get_type
e_paned_get_type
e_photo_cache_get_type
+e_photo_source_get_type
e_picture_gallery_get_type
e_plugin_get_type
e_plugin_hook_get_type