Update French translation
[geany-mirror.git] / src / keyfile.h
blob0ef551f16d52ac3d85d3e56ced21593f2e63471a
1 /*
2 * keyfile.h - this file is part of Geany, a fast and lightweight IDE
4 * Copyright 2005 The Geany contributors
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 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 #ifndef GEANY_KEYFILE_H
23 #define GEANY_KEYFILE_H 1
25 #include <glib.h>
27 G_BEGIN_DECLS
29 extern GPtrArray *pref_groups;
32 void configuration_init(void);
34 void configuration_finalize(void);
36 struct StashGroup;
38 void configuration_add_pref_group(struct StashGroup *group, gboolean for_prefs_dialog);
40 void configuration_add_various_pref_group(struct StashGroup *group,
41 const gchar *prefix);
43 void configuration_save(void);
45 gboolean configuration_load(void);
47 void configuration_open_files(void);
49 void configuration_reload_default_session(void);
51 void configuration_save_default_session(void);
53 void configuration_clear_default_session(void);
55 void configuration_load_session_files(GKeyFile *config, gboolean read_recent_files);
57 void configuration_save_session_files(GKeyFile *config);
59 /* set some settings which are already read from the config file, but need other things, like the
60 * realisation of the main window */
61 void configuration_apply_settings(void);
63 G_END_DECLS
65 #endif /* GEANY_KEYFILE_H */