diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-23 00:16:04 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-23 00:16:04 +0000 |
| commit | 3cc402bd567974c99edf8e3334d3c48103d06fc7 (patch) | |
| tree | 008b4f35fd3ff27c771a6e2f43fdb660287d4710 /openbox/config.h | |
| parent | 30260ef6c47928173f59725374c5b0bb78d18d3d (diff) | |
add descriptive names and long descriptions to config var def'ns. set these for the kernel config options.
Diffstat (limited to 'openbox/config.h')
| -rw-r--r-- | openbox/config.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openbox/config.h b/openbox/config.h index 45ef015d..7366e95f 100644 --- a/openbox/config.h +++ b/openbox/config.h @@ -21,6 +21,8 @@ typedef struct { typedef struct { char *name; + char *descriptive_name; /* user friendly name */ + char *long_description; /* text description of option */ ConfigValueType type; /* if it is a string type optionally provide a list of valid strings */ gboolean hasList; @@ -39,7 +41,8 @@ gboolean config_set(char *name, ConfigValueType type, ConfigValue value); gboolean config_get(char *name, ConfigValueType type, ConfigValue *value); /* Create a new config definition to add to the config system */ -ConfigDefEntry *config_def_new(char *name, ConfigValueType type); +ConfigDefEntry *config_def_new(char *name, ConfigValueType type, + char *descriptive_name, char *long_description); /* Add a value to a String type config definition */ gboolean config_def_add_value(ConfigDefEntry *entry, char *value); |
