## GarconMenuItemCache

GarconMenuItemCache

## Synopsis

    struct              GarconMenuItemCacheClass;
    void                garcon_menu_item_cache_foreach      (GarconMenuItemCache *cache,
                                                             GHFunc func,
                                                             gpointer user_data);
    GarconMenuItemCache * garcon_menu_item_cache_get_default
                                                            (void);
    void                garcon_menu_item_cache_invalidate   (GarconMenuItemCache *cache);
    void                garcon_menu_item_cache_invalidate_file
                                                            (GarconMenuItemCache *cache,
                                                             GFile *file);
    GarconMenuItem *    garcon_menu_item_cache_lookup       (GarconMenuItemCache *cache,
                                                             const gchar *uri,
                                                             const gchar *desktop_id);

## Description

## Details

### struct GarconMenuItemCacheClass

    struct GarconMenuItemCacheClass {
      GObjectClass __parent__;
    };

### garcon_menu_item_cache_foreach ()

    void                garcon_menu_item_cache_foreach      (GarconMenuItemCache *cache,
                                                             GHFunc func,
                                                             gpointer user_data);

### garcon_menu_item_cache_get_default ()

    GarconMenuItemCache * garcon_menu_item_cache_get_default
                                                            (void);

Returns the default GarconMenuItemCache.

Returns : | the default GarconMenuItemCache. The returned object should be unreffed with `g_object_unref()` when no longer needed.

### garcon_menu_item_cache_invalidate ()

    void                garcon_menu_item_cache_invalidate   (GarconMenuItemCache *cache);

### garcon_menu_item_cache_invalidate_file ()

    void                garcon_menu_item_cache_invalidate_file
                                                            (GarconMenuItemCache *cache,
                                                             GFile *file);

### garcon_menu_item_cache_lookup ()

    GarconMenuItem *    garcon_menu_item_cache_lookup       (GarconMenuItemCache *cache,
                                                             const gchar *uri,
                                                             const gchar *desktop_id);