]> icculus.org git repositories - dana/obconf.git/blob - src/main.h
Stop using libglade
[dana/obconf.git] / src / main.h
1 /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
2
3    main.h for ObConf, the configuration tool for Openbox
4    Copyright (c) 2003        Dana Jansens
5
6    This program is free software; you can redistribute it and/or modify
7    it under the terms of the GNU General Public License as published by
8    the Free Software Foundation; either version 2 of the License, or
9    (at your option) any later version.
10
11    This program is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU General Public License for more details.
15
16    See the COPYING file for a copy of the GNU General Public License.
17 */
18
19 #ifndef obconf__main_h
20 #define obconf__main_h
21
22 #include <obrender/render.h>
23 #include <obrender/instance.h>
24 #include <obt/xml.h>
25 #include <obt/paths.h>
26
27 #include <gtk/gtk.h>
28
29 extern GtkBuilder *builder;
30 extern RrInstance *rrinst;
31 extern GtkWidget *mainwin;
32 extern gchar *obc_config_file;
33 extern ObtPaths *paths;
34 extern ObtXmlInst *parse_i;
35
36 #define get_widget(s) GTK_WIDGET(gtk_builder_get_object(builder, s))
37
38 void obconf_error(gchar *msg, gboolean model);
39 void obconf_show_main();
40
41 #endif