tumbler-thumbnail

tumbler-thumbnail

Synopsis

                    TumblerThumbnail;
                    TumblerThumbnailIface;
gboolean            tumbler_thumbnail_load              (TumblerThumbnail *thumbnail,
                                                         GCancellable *cancellable,
                                                         GError **error);
gboolean            tumbler_thumbnail_needs_update      (TumblerThumbnail *thumbnail,
                                                         const gchar *uri,
                                                         guint64 mtime);
gboolean            tumbler_thumbnail_save_pixbuf       (TumblerThumbnail *thumbnail,
                                                         GdkPixbuf *pixbuf,
                                                         guint64 mtime,
                                                         GCancellable *cancellable,
                                                         GError **error);
TumblerCache *      tumbler_thumbnail_get_cache         (TumblerThumbnail *thumbnail);
TumblerThumbnailFlavor  tumbler_thumbnail_get_flavor    (TumblerThumbnail *thumbnail);
TumblerThumbnailFlavor * tumbler_thumbnail_get_flavors  (void);
void                tumbler_thumbnail_flavor_get_size   (TumblerThumbnailFlavor flavor,
                                                         gint *width,
                                                         gint *height);

Description

Details

TumblerThumbnail

typedef struct _TumblerThumbnail TumblerThumbnail;


TumblerThumbnailIface

typedef struct {
  GTypeInterface __parent__;

  /* signals */

  /* virtual methods */
  gboolean (*load)         (TumblerThumbnail *thumbnail,
                            GCancellable     *cancellable,
                            GError          **error);
  gboolean (*needs_update) (TumblerThumbnail *thumbnail,
                            const gchar      *uri,
                            guint64           mtime);
  gboolean (*save_pixbuf)  (TumblerThumbnail *thumbnail,
                            GdkPixbuf        *pixbuf,
                            guint64           mtime,
                            GCancellable     *cancellable,
                            GError          **error);
} TumblerThumbnailIface;


tumbler_thumbnail_load ()

gboolean            tumbler_thumbnail_load              (TumblerThumbnail *thumbnail,
                                                         GCancellable *cancellable,
                                                         GError **error);

thumbnail :

cancellable :

error :

Returns :


tumbler_thumbnail_needs_update ()

gboolean            tumbler_thumbnail_needs_update      (TumblerThumbnail *thumbnail,
                                                         const gchar *uri,
                                                         guint64 mtime);

thumbnail :

uri :

mtime :

Returns :


tumbler_thumbnail_save_pixbuf ()

gboolean            tumbler_thumbnail_save_pixbuf       (TumblerThumbnail *thumbnail,
                                                         GdkPixbuf *pixbuf,
                                                         guint64 mtime,
                                                         GCancellable *cancellable,
                                                         GError **error);

thumbnail :

pixbuf :

mtime :

cancellable :

error :

Returns :


tumbler_thumbnail_get_cache ()

TumblerCache *      tumbler_thumbnail_get_cache         (TumblerThumbnail *thumbnail);

thumbnail :

Returns :


tumbler_thumbnail_get_flavor ()

TumblerThumbnailFlavor  tumbler_thumbnail_get_flavor    (TumblerThumbnail *thumbnail);

thumbnail :

Returns :


tumbler_thumbnail_get_flavors ()

TumblerThumbnailFlavor * tumbler_thumbnail_get_flavors  (void);

Returns :


tumbler_thumbnail_flavor_get_size ()

void                tumbler_thumbnail_flavor_get_size   (TumblerThumbnailFlavor flavor,
                                                         gint *width,
                                                         gint *height);

flavor :

width :

height :