X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-cache-mgr.h;h=3577140b0f0a3e3e653fdf27b54b767322c3fe25;hp=32205e8708b903d658eb76cf46e66202742a0b19;hb=12a672c559d983c4e49a7e4054ee14c0177ecb1c;hpb=cabd042982c07e956bbf474d225185f73e1caefb diff --git a/src/modest-cache-mgr.h b/src/modest-cache-mgr.h index 32205e8..3577140 100644 --- a/src/modest-cache-mgr.h +++ b/src/modest-cache-mgr.h @@ -61,6 +61,7 @@ typedef enum { MODEST_CACHE_MGR_CACHE_TYPE_DATE_STRING, /* time_t => string */ MODEST_CACHE_MGR_CACHE_TYPE_DISPLAY_STRING, /* gchar* => gchar* */ MODEST_CACHE_MGR_CACHE_TYPE_PIXBUF, /* gchar* => GdkPixbuf */ + MODEST_CACHE_MGR_CACHE_TYPE_SEND_QUEUE, /* TnyAccount* => TnySendQueue* */ MODEST_CACHE_MGR_CACHE_TYPE_NUM } ModestCacheMgrCacheType; @@ -92,10 +93,7 @@ ModestCacheMgr* modest_cache_mgr_new (void); * * get the cache (GHashTable) of the requested type * - * Returns: the requested cache (GHashTable) or NULL in case caching - * has been disabled (MODEST_DEBUG_DISABLE_CACHE); clients are supposed - * to handle that case - * + * Returns: the requested cache (GHashTable) * the returned hashtable should NOT be destroyed or unref'd. */ GHashTable* modest_cache_mgr_get_cache (ModestCacheMgr* self, ModestCacheMgrCacheType type); @@ -125,7 +123,7 @@ void modest_cache_mgr_flush_all (ModestCacheMgr *self); * @self: a valid cache mgr obj * @type: a valid cache mgr cache type * - * get the size (number of -pairs) in the cache + * get the size (number of [key,value]-pairs) in the cache * * Returns: the size of the give cache type */