Add README
[tilda-gobject.git] / tilda-config.h
1 #ifndef TILDA_CONFIG_H
2 #define TILDA_CONFIG_H
3
4 #include "tilda-controller.h"
5 #include "tilda-window.h"
6 #include "tilda-terminal.h"
7 #include <glib.h>
8
9 /* Global configuration-holding structures */
10 extern GKeyFile *config_defaults;
11 extern GKeyFile *config_userprefs;
12
13 /* Set-up and tear-down functions */
14 gboolean tilda_config_init (const gchar *filename);
15 gboolean tilda_config_free ();
16
17 /* API */
18 gboolean tilda_controller_set_property_from_config (TildaController *self, const gchar *property);
19 gboolean tilda_window_set_property_from_config (TildaWindow *self, const gchar *property);
20 gboolean tilda_terminal_set_property_from_config (TildaTerminal *self, const gchar *property);
21
22 #endif /* TILDA_CONFIG_H */
23
24 /* vim: set ts=4 sts=4 sw=4 noet tw=112: */