1.1 --- a/src/config.h Tue Jan 01 05:08:38 2008 +0000
1.2 +++ b/src/config.h Sun Jul 06 04:52:37 2008 +0000
1.4 #define lxdream_config_H 1
1.6 #include <glib/gtypes.h>
1.7 +#include <glib/gi18n.h>
1.9 #define CONFIG_TYPE_NONE 0
1.10 #define CONFIG_TYPE_FILE 1
1.13 typedef struct lxdream_config_entry {
1.15 + const gchar *label; // i18n
1.17 const gchar *default_value;
1.20 #define CONFIG_BOOTSTRAP 4
1.21 #define CONFIG_GDROM 5
1.22 #define CONFIG_RECENT 6
1.23 +#define CONFIG_KEY_MAX CONFIG_RECENT
1.25 extern struct lxdream_config_group lxdream_config_root[];
1.27 /* Global config values */
1.28 const gchar *lxdream_get_config_value( int key );
1.29 +const lxdream_config_entry_t lxdream_get_config_entry( int key );
1.31 void lxdream_set_global_config_value( int key, const gchar *value );
1.32 void lxdream_set_config_value( lxdream_config_entry_t entry, const gchar *value );