From 3cc402bd567974c99edf8e3334d3c48103d06fc7 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 23 Mar 2003 00:16:04 +0000 Subject: add descriptive names and long descriptions to config var def'ns. set these for the kernel config options. --- openbox/config.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'openbox/config.h') 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); -- cgit v1.2.3