Debian Codegraph @

mixgtk/mixgtk_config.h

raw symbols SCIP
1 /* -*-c-*- ---------------- mixgtk_config.h :
2 * Configuration functions declarations.
3 * ------------------------------------------------------------------
4 * Copyright (C) 2001, 2004, 2006, 2007 Free Software Foundation, Inc.
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 3 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 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 *
20 */
21
22
23 #ifndef MIXGTK_CONFIG_H
24 #define MIXGTK_CONFIG_H
25
26 #include <mixlib/mix.h>
27 #include <mixlib/mix_config.h>
28
29 /* load configuration */
30 extern gboolean
31 mixgtk_config_load (void);
32
33 /* get mix config */
34 extern mix_config_t *
35 mixgtk_config_get_mix_config (void);
36
37 /* autosave state */
38 extern gboolean
39 mixgtk_config_is_autosave (void);
40
41 extern void
42 mixgtk_config_set_autosave (gboolean autosave);
43
44 /* toolbar style */
45 extern guint
46 mixgtk_config_tb_style (void);
47
48 extern void
49 mixgtk_config_set_tb_style (guint style);
50
51 /* update config item */
52 extern void
53 mixgtk_config_update (const gchar *key, const gchar *value);
54
55 /* get config item */
56 extern const gchar *
57 mixgtk_config_get (const gchar *key);
58
59 /* remove config item */
60 extern void
61 mixgtk_config_remove (const gchar *key);
62
63 /* save configuration */
64 extern void
65 mixgtk_config_save (void);
66
67 /* shared config params */
68 extern gboolean
69 mixgtk_config_show_toolbars (void);
70
71 extern void
72 mixgtk_config_set_show_toolbars (gboolean show);
73
74 #endif /* MIXGTK_CONFIG_H */
75