aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-photo-cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-photo-cache.h')
-rw-r--r--e-util/e-photo-cache.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/e-util/e-photo-cache.h b/e-util/e-photo-cache.h
index af44e2e3f1..0c310080e7 100644
--- a/e-util/e-photo-cache.h
+++ b/e-util/e-photo-cache.h
@@ -25,6 +25,7 @@
#include <libebook/libebook.h>
#include <e-util/e-client-cache.h>
+#include <e-util/e-photo-source.h>
/* Standard GObject macros */
#define E_TYPE_PHOTO_CACHE \
@@ -69,6 +70,18 @@ struct _EPhotoCacheClass {
GType e_photo_cache_get_type (void) G_GNUC_CONST;
EPhotoCache * e_photo_cache_new (EClientCache *client_cache);
EClientCache * e_photo_cache_ref_client_cache (EPhotoCache *photo_cache);
+void e_photo_cache_add_photo_source (EPhotoCache *photo_cache,
+ EPhotoSource *photo_source);
+GList * e_photo_cache_list_photo_sources
+ (EPhotoCache *photo_cache);
+gboolean e_photo_cache_remove_photo_source
+ (EPhotoCache *photo_cache,
+ EPhotoSource *photo_source);
+void e_photo_cache_add_photo (EPhotoCache *photo_cache,
+ const gchar *email_address,
+ GBytes *bytes);
+gboolean e_photo_cache_remove_photo (EPhotoCache *photo_cache,
+ const gchar *email_address);
gboolean e_photo_cache_get_photo_sync (EPhotoCache *photo_cache,
const gchar *email_address,
GCancellable *cancellable,
@@ -83,8 +96,6 @@ gboolean e_photo_cache_get_photo_finish (EPhotoCache *photo_cache,
GAsyncResult *result,
GInputStream **out_stream,
GError **error);
-gboolean e_photo_cache_remove (EPhotoCache *photo_cache,
- const gchar *email_address);
G_END_DECLS