From 52d9b7024689d1f2f5d9932d8bee5cb6e25ce88b Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 21 Mar 2010 01:14:13 +0100 Subject: Move configuration options to the walls_config_t. This closes feature #7. --- walls_conf.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'walls_conf.h') diff --git a/walls_conf.h b/walls_conf.h index f0f7859..59f6af4 100644 --- a/walls_conf.h +++ b/walls_conf.h @@ -2,11 +2,22 @@ #define _WALLS_CONF_H_ #include +#include + +struct walls_config_t { + GdkInterpType interp_type; + gint max_preload; +}; + +extern struct walls_config_t config; void conf_open(); void conf_close(); gint conf_get_int(const gchar*, const gchar*, gint); +void conf_load(); +void conf_save(); + extern GKeyFile *keyfile; #endif -- cgit v1.2.3