1 /** \file   uidata.h
2  * \brief   GTK3 binary resources handling - header
3  *
4  * \author  Bas Wassink <b.wassink@ziggo.nl>
5  */
6 
7 /*
8  * This file is part of VICE, the Versatile Commodore Emulator.
9  * See README for copyright notice.
10  *
11  *  This program is free software; you can redistribute it and/or modify
12  *  it under the terms of the GNU General Public License as published by
13  *  the Free Software Foundation; either version 2 of the License, or
14  *  (at your option) any later version.
15  *
16  *  This program is distributed in the hope that it will be useful,
17  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  *  GNU General Public License for more details.
20  *
21  *  You should have received a copy of the GNU General Public License
22  *  along with this program; if not, write to the Free Software
23  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
24  *  02111-1307  USA.
25  */
26 
27 #ifndef VICE_UIDATA_H
28 #define VICE_UIDATA_H
29 
30 #include <gtk/gtk.h>
31 
32 /** \brief  Root namespace of the GResouce files
33  *
34  * The GResource handling requires setting a namespace for the files, which
35  * is similar to the argument to gtk_application_new(), basically inverting
36  * a URL's components.
37  *
38  * In this case, I have used vice.pokefinder.org as our website.
39  */
40 #define UIDATA_ROOT_PATH    "/org/pokefinder/vice"
41 
42 
43 int         uidata_init(void);
44 void        uidata_shutdown(void);
45 
46 GdkPixbuf * uidata_get_pixbuf(const char *name);
47 
48 #endif
49