diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-03-21 01:14:13 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-03-21 01:14:13 +0100 |
commit | 52d9b7024689d1f2f5d9932d8bee5cb6e25ce88b (patch) | |
tree | 012b8e74d51949d3585814c1b933bcb5828975ce /walls_conf.h | |
parent | 5ebed0cd5dc2eb2f71e18b24148903f3c10ebf69 (diff) |
Move configuration options to the walls_config_t.
This closes feature #7.
Diffstat (limited to 'walls_conf.h')
-rw-r--r-- | walls_conf.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 <glib.h> +#include <gdk-pixbuf/gdk-pixbuf.h> + +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 |