| 1 | /* gtkiconcache.h |
| 2 | * Copyright (C) 2004 Anders Carlsson <[email protected]> |
| 3 | * |
| 4 | * This library is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU Library General Public |
| 6 | * License as published by the Free Software Foundation; either |
| 7 | * version 2 of the License, or (at your option) any later version. |
| 8 | * |
| 9 | * This library is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 | * Library General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU Library General Public |
| 15 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ |
| 17 | #pragma once |
| 18 | |
| 19 | #include <gtk/gtkiconthemeprivate.h>cxx . . $ `<file>/gtk/gtkiconthemeprivate.h`/ |
| 20 | |
| 21 | G_BEGIN_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:947:9`! |
| 22 | |
| 23 | /* These are (mostly, see below) the on disk flags for each icon file, don't change */ |
| 24 | typedef enumcxx . . $ $anonymous_type_bfb21c29dc6a9df_0# |
| 25 | { |
| 26 | ICON_CACHE_FLAG_NONEcxx . . $ ICON_CACHE_FLAG_NONE. = 0, |
| 27 | ICON_CACHE_FLAG_XPM_SUFFIXcxx . . $ ICON_CACHE_FLAG_XPM_SUFFIX. = 1 << 0, |
| 28 | ICON_CACHE_FLAG_SVG_SUFFIXcxx . . $ ICON_CACHE_FLAG_SVG_SUFFIX. = 1 << 1, |
| 29 | ICON_CACHE_FLAG_PNG_SUFFIXcxx . . $ ICON_CACHE_FLAG_PNG_SUFFIX. = 1 << 2, |
| 30 | ICON_CACHE_FLAG_HAS_ICON_FILEcxx . . $ ICON_CACHE_FLAG_HAS_ICON_FILE. = 1 << 3, |
| 31 | |
| 32 | /* This is a virtual flag we recreate in memory as the file format actually stores .symbolic.png as png */ |
| 33 | ICON_CACHE_FLAG_SYMBOLIC_PNG_SUFFIXcxx . . $ ICON_CACHE_FLAG_SYMBOLIC_PNG_SUFFIX. = 1 << 4, |
| 34 | } IconCacheFlagcxx . . $ IconCacheFlag#; |
| 35 | |
| 36 | |
| 37 | typedef struct _GtkIconCachecxx . . $ _GtkIconCache# GtkIconCachecxx . . $ GtkIconCache#; |
| 38 | |
| 39 | GtkIconCachecxx . . $ GtkIconCache# *gtk_icon_cache_newcxx . . $ gtk_icon_cache_new(a0a7e9ca1154b4a). (const char *data); |
| 40 | GtkIconCachecxx . . $ GtkIconCache# *gtk_icon_cache_new_for_pathcxx . . $ gtk_icon_cache_new_for_path(a0a7e9ca1154b4a). (const char *path); |
| 41 | GHashTablecxx . . $ GHashTable# *gtk_icon_cache_list_icons_in_directorycxx . . $ gtk_icon_cache_list_icons_in_directory(4e6e958ea741b6a8). (GtkIconCachecxx . . $ GtkIconCache# *cache, |
| 42 | const char *directory, |
| 43 | GtkStringSetcxx . . $ GtkStringSet# *set); |
| 44 | GtkIconCachecxx . . $ GtkIconCache# *gtk_icon_cache_refcxx . . $ gtk_icon_cache_ref(cd520ddae8dbb42c). (GtkIconCachecxx . . $ GtkIconCache# *cache); |
| 45 | void gtk_icon_cache_unrefcxx . . $ gtk_icon_cache_unref(c362b8fd049688b0). (GtkIconCachecxx . . $ GtkIconCache# *cache); |
| 46 | |
| 47 | G_END_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:948:9`! |
| 48 |