1.1 --- a/src/config.h Sat Jun 13 00:50:48 2009 +0000
1.2 +++ b/src/config.h Wed Jun 24 02:41:12 2009 +0000
1.4 #define lxdream_config_H 1
1.6 #include <glib/gtypes.h>
1.7 +#include <glib/glist.h>
1.12 #define CONFIG_TYPE_FILE 1
1.13 #define CONFIG_TYPE_PATH 2
1.14 #define CONFIG_TYPE_KEY 3
1.15 +#define CONFIG_TYPE_FILELIST 4
1.17 #define DEFAULT_CONFIG_FILENAME "lxdreamrc"
1.20 #define CONFIG_FLASH_PATH 1
1.21 #define CONFIG_DEFAULT_PATH 2
1.22 #define CONFIG_SAVE_PATH 3
1.23 -#define CONFIG_BOOTSTRAP 4
1.24 -#define CONFIG_GDROM 5
1.25 -#define CONFIG_RECENT 6
1.26 -#define CONFIG_KEY_MAX CONFIG_RECENT
1.27 +#define CONFIG_VMU_PATH 4
1.28 +#define CONFIG_BOOTSTRAP 5
1.29 +#define CONFIG_GDROM 6
1.30 +#define CONFIG_RECENT 7
1.31 +#define CONFIG_VMU 8
1.32 +#define CONFIG_KEY_MAX CONFIG_VMU
1.34 extern struct lxdream_config_group lxdream_config_root[];
1.37 void lxdream_copy_config_list( lxdream_config_entry_t dest, lxdream_config_entry_t src );
1.40 + * Construct a list of strings for the given config key - The caller is
1.41 + * responsible for freeing the list and its values.
1.43 +GList *lxdream_get_global_config_list_value( int key );
1.46 + * Set a config key based on a list of strings.
1.48 +void lxdream_set_global_config_list_value( int key, const GList *list );
1.50 * Search the standard locations for the configuration file: