[gnome-photos/wip/rishi/de-dup: 3/6] base-item: new vfunc



commit cd78a78962cf75d8d433c19cf59b1830eb1f91d4
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Sep 6 20:45:46 2016 +0200

    base-item: new vfunc

 src/photos-base-item.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-base-item.h b/src/photos-base-item.h
index 69ed550..5366360 100644
--- a/src/photos-base-item.h
+++ b/src/photos-base-item.h
@@ -63,6 +63,12 @@ struct _PhotosBaseItemClass
   gboolean    (*create_thumbnail)           (PhotosBaseItem *self, GCancellable *cancellable, GError 
**error);
   gchar      *(*download)                   (PhotosBaseItem *self, GCancellable *cancellable, GError 
**error);
   GtkWidget  *(*get_source_widget)          (PhotosBaseItem *self);
+  gboolean    (*metadata_add_shared)        (PhotosBaseItem  *self,
+                                             const gchar     *provider_type,
+                                             const gchar     *account_identity,
+                                             const gchar     *shared_id,
+                                             GCancellable    *cancellable,
+                                             GError         **error);
   void        (*open)                       (PhotosBaseItem *self, GdkScreen *screen, guint32 timestamp);
   void        (*set_favorite)               (PhotosBaseItem *self, gboolean favorite);
   void        (*trash)                      (PhotosBaseItem *self);


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