TumblerCache

TumblerCache

Synopsis

                    TumblerCache;
                    TumblerCacheIface;
TumblerCache *      tumbler_cache_get_default           (void);
TumblerThumbnail *  tumbler_cache_get_thumbnail         (TumblerCache *cache,
                                                         const gchar *uri,
                                                         TumblerThumbnailFlavor *flavor);
void                tumbler_cache_cleanup               (TumblerCache *cache,
                                                         const gchar *uri_prefix,
                                                         guint64 since);
void                tumbler_cache_delete                (TumblerCache *cache,
                                                         const GStrv uris);
void                tumbler_cache_copy                  (TumblerCache *cache,
                                                         const GStrv from_uris,
                                                         const GStrv to_uris);
void                tumbler_cache_move                  (TumblerCache *cache,
                                                         const GStrv from_uris,
                                                         const GStrv to_uris);
gboolean            tumbler_cache_is_thumbnail          (TumblerCache *cache,
                                                         const gchar *uri);
GList *             tumbler_cache_get_flavors           (TumblerCache *cache);
TumblerThumbnailFlavor * tumbler_cache_get_flavor       (TumblerCache *cache,
                                                         const gchar *name);

Object Hierarchy

  GInterface
   +----TumblerCache

Prerequisites

TumblerCache requires GObject.

Description

Details

TumblerCache

typedef struct _TumblerCache TumblerCache;


TumblerCacheIface

typedef struct {
  GTypeInterface __parent__;

  /* signals */

  /* virtual methods */
  TumblerThumbnail *(*get_thumbnail) (TumblerCache           *cache,
                                      const gchar            *uri,
                                      TumblerThumbnailFlavor *flavor);
  void              (*cleanup)       (TumblerCache           *cache,
                                      const gchar            *uri,
                                      guint64                 since);
  void              (*do_delete)     (TumblerCache           *cache,
                                      const GStrv             uris);
  void              (*copy)          (TumblerCache           *cache,
                                      const GStrv             from_uris,
                                      const GStrv             to_uris);
  void              (*move)          (TumblerCache           *cache,
                                      const GStrv             from_uris,
                                      const GStrv             to_uris);
  gboolean          (*is_thumbnail)  (TumblerCache           *cache,
                                      const gchar            *uri);
  GList            *(*get_flavors)   (TumblerCache           *cache);
} TumblerCacheIface;


tumbler_cache_get_default ()

TumblerCache *      tumbler_cache_get_default           (void);

Returns :


tumbler_cache_get_thumbnail ()

TumblerThumbnail *  tumbler_cache_get_thumbnail         (TumblerCache *cache,
                                                         const gchar *uri,
                                                         TumblerThumbnailFlavor *flavor);

cache :

uri :

flavor :

Returns :


tumbler_cache_cleanup ()

void                tumbler_cache_cleanup               (TumblerCache *cache,
                                                         const gchar *uri_prefix,
                                                         guint64 since);

cache :

uri_prefix :

since :


tumbler_cache_delete ()

void                tumbler_cache_delete                (TumblerCache *cache,
                                                         const GStrv uris);

cache :

uris :


tumbler_cache_copy ()

void                tumbler_cache_copy                  (TumblerCache *cache,
                                                         const GStrv from_uris,
                                                         const GStrv to_uris);

cache :

from_uris :

to_uris :


tumbler_cache_move ()

void                tumbler_cache_move                  (TumblerCache *cache,
                                                         const GStrv from_uris,
                                                         const GStrv to_uris);

cache :

from_uris :

to_uris :


tumbler_cache_is_thumbnail ()

gboolean            tumbler_cache_is_thumbnail          (TumblerCache *cache,
                                                         const gchar *uri);

cache :

uri :

Returns :


tumbler_cache_get_flavors ()

GList *             tumbler_cache_get_flavors           (TumblerCache *cache);

cache :

Returns :


tumbler_cache_get_flavor ()

TumblerThumbnailFlavor * tumbler_cache_get_flavor       (TumblerCache *cache,
                                                         const gchar *name);

cache :

name :

Returns :