summaryrefslogtreecommitdiff
path: root/walls_conf.h
blob: 59f6af4de1402477a1afbd1fcbd482c62bc1fd0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _WALLS_CONF_H_
#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