/usr/include/libawn/awn-pixbuf-cache.h is in libawn-dev 0.4.1~bzr830-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | /* -*- Mode: C; tab-width: 2; indent-tabs-mode: t; c-basic-offset: 2 -*- */
/*
* Copyright (C) 2009 Rodney Cryderman <rcryderman@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Authored by Rodney Cryderman <rcryderman@gmail.com>
*
*/
/* awn-pixbuf-cache.h */
#ifndef _AWN_PIXBUF_CACHE
#define _AWN_PIXBUF_CACHE
#include <glib-object.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
G_BEGIN_DECLS
#define AWN_TYPE_PIXBUF_CACHE awn_pixbuf_cache_get_type()
#define AWN_PIXBUF_CACHE(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), AWN_TYPE_PIXBUF_CACHE, AwnPixbufCache))
#define AWN_PIXBUF_CACHE_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST ((klass), AWN_TYPE_PIXBUF_CACHE, AwnPixbufCacheClass))
#define AWN_IS_PIXBUF_CACHE(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), AWN_TYPE_PIXBUF_CACHE))
#define AWN_IS_PIXBUF_CACHE_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE ((klass), AWN_TYPE_PIXBUF_CACHE))
#define AWN_PIXBUF_CACHE_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), AWN_TYPE_PIXBUF_CACHE, AwnPixbufCacheClass))
typedef struct {
GObject parent;
} AwnPixbufCache;
typedef struct {
GObjectClass parent_class;
} AwnPixbufCacheClass;
void awn_pixbuf_cache_insert_pixbuf (AwnPixbufCache * pixbuf_cache,
GdkPixbuf * pbuf,
const gchar *scope,
const gchar * theme_name,
const gchar * icon_name);
void awn_pixbuf_cache_insert_null_result (AwnPixbufCache * pixbuf_cache,
const gchar *scope,
const gchar * theme_name,
const gchar * icon_name,
gint width,
gint height);
GdkPixbuf * awn_pixbuf_cache_lookup (AwnPixbufCache * pixbuf_cache,
const gchar *scope,
const gchar * theme_name,
const gchar * icon_name,
gint width,
gint height,
gboolean * null_result);
GdkPixbuf * awn_pixbuf_cache_lookup_simple_key (AwnPixbufCache * pixbuf_cache,
const gchar * simple_key,
gint width,
gint height);
void awn_pixbuf_cache_insert_pixbuf_simple_key (AwnPixbufCache * pixbuf_cache,
GdkPixbuf * pbuf,
const gchar * simple_key);
GType awn_pixbuf_cache_get_type (void);
void awn_pixbuf_cache_invalidate (AwnPixbufCache* pixbuf_cache);
AwnPixbufCache* awn_pixbuf_cache_new (void);
AwnPixbufCache* awn_pixbuf_cache_get_default (void);
G_END_DECLS
#endif /* _AWN_PIXBUF_CACHE */
|