--- a/src/config.h Tue Jul 21 20:33:21 2009 +1000 +++ b/src/config.h Wed Mar 30 21:51:54 2011 +1000 @@ -36,6 +36,7 @@ #define CONFIG_TYPE_KEY 3 #define CONFIG_TYPE_FILELIST 4 #define CONFIG_TYPE_INTEGER 5 +#define CONFIG_TYPE_BOOLEAN 6 #define DEFAULT_CONFIG_FILENAME "lxdreamrc" @@ -97,6 +98,9 @@ void lxdream_copy_config_group( lxdream_config_group_t dest, lxdream_config_group_t src ); void lxdream_clone_config_group( lxdream_config_group_t dest, lxdream_config_group_t src ); +gboolean lxdream_get_config_boolean_value( lxdream_config_group_t group, int key ); +gboolean lxdream_set_config_boolean_value( lxdream_config_group_t group, int key, gboolean value ); + /** * Return a fully expanded path value for a key - this performs substitutions * for ~ and simple shell variables ($VAR and ${VAR})