1 /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
3 main.h for ObConf, the configuration tool for Openbox
4 Copyright (c) 2003 Dana Jansens
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.
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.
16 See the COPYING file for a copy of the GNU General Public License.
19 #ifndef obconf__main_h
20 #define obconf__main_h
22 #include <obrender/render.h>
23 #include <obrender/instance.h>
25 #include <obt/paths.h>
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;
36 #define get_widget(s) GTK_WIDGET(gtk_builder_get_object(builder, s))
38 void obconf_error(gchar *msg, gboolean model);
39 void obconf_show_main();