Search
lxdream.org :: lxdream/src/config.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/config.h
changeset 1144:00dd49743974
prev1072:d82e04e6d497
next1296:30ecee61f811
author nkeynes
date Mon Nov 08 14:12:10 2010 +1000 (10 years ago)
permissions -rw-r--r--
last change Add boolean config type
file annotate diff log raw
1.1 --- a/src/config.h Tue Jul 21 20:33:21 2009 +1000
1.2 +++ b/src/config.h Mon Nov 08 14:12:10 2010 +1000
1.3 @@ -36,6 +36,7 @@
1.4 #define CONFIG_TYPE_KEY 3
1.5 #define CONFIG_TYPE_FILELIST 4
1.6 #define CONFIG_TYPE_INTEGER 5
1.7 +#define CONFIG_TYPE_BOOLEAN 6
1.8
1.9 #define DEFAULT_CONFIG_FILENAME "lxdreamrc"
1.10
1.11 @@ -97,6 +98,9 @@
1.12 void lxdream_copy_config_group( lxdream_config_group_t dest, lxdream_config_group_t src );
1.13 void lxdream_clone_config_group( lxdream_config_group_t dest, lxdream_config_group_t src );
1.14
1.15 +gboolean lxdream_get_config_boolean_value( lxdream_config_group_t group, int key );
1.16 +gboolean lxdream_set_config_boolean_value( lxdream_config_group_t group, int key, gboolean value );
1.17 +
1.18 /**
1.19 * Return a fully expanded path value for a key - this performs substitutions
1.20 * for ~ and simple shell variables ($VAR and ${VAR})
.