diff options
Diffstat (limited to 'saedit/config.h')
-rw-r--r-- | saedit/config.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/saedit/config.h b/saedit/config.h index c8904d5..e8e064a 100644 --- a/saedit/config.h +++ b/saedit/config.h @@ -12,11 +12,21 @@ #ifndef CONFIG_H #define CONFIG_H +#include <glib.h> +#include <ibusxml.h> +#include <sys/types.h> +#include <sys/stat.h> +#include <fcntl.h> +#include <string.h> +#include "common.h" +#include "xml.h" + #define OPTION_SPRITES_DEFAULT "graphics/sprites/" #define KEY_SHOW_GRID_DEFAULT TRUE #define KEY_CLIENTDATA_FOLDER_DEFAULT "" -#define KEYS_CONFIG_FILE g_strjoin(SEPARATOR_SLASH, g_get_user_config_dir(), "saedit/config.ini", NULL) +#define KEYS_CONFIG_DIR g_strjoin(SEPARATOR_SLASH, g_get_user_config_dir(), "saedit", NULL) +#define KEYS_CONFIG_FILE g_strjoin(SEPARATOR_SLASH, KEYS_CONFIG_DIR, "config.ini", NULL) typedef struct { gchar *sprites; |