aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2012-06-13 01:13:12 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2012-06-13 01:13:12 +0000
commit4fdc3c3cc2f7796187651d5d987debd438d23521 (patch)
tree0758e88c61334cffbb722b80e6c2200fc77e6884 /doc
parentf0a74f3a5c90cfd6418905d1f7a02c1d59a63a7f (diff)
Create, and start using, file name preferences.
File name preferences are basically just string preferences except that the GUI will present a "Browse" button that allows the user to go and find the file s/he wants (rather than having to blindly type in the full path). svn path=/trunk/; revision=43228
Diffstat (limited to 'doc')
-rw-r--r--doc/README.developer8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/README.developer b/doc/README.developer
index 29cc51443d..1bbc52a8c7 100644
--- a/doc/README.developer
+++ b/doc/README.developer
@@ -3721,6 +3721,14 @@ routines -
void prefs_register_string_preference(module_t *module, const char *name,
const char *title, const char *description, char **var)
+ /* Register a preference with a file name (string) value.
+ * File name preferences are basically like string preferences
+ * except that the GUI gives the user the ability to browse for the
+ * file.
+ */
+ void prefs_register_filename_preference(module_t *module, const char *name,
+ const char *title, const char *description, char **var)
+
/* Register a preference with a range of unsigned integers (e.g.,
* "1-20,30-40").
*/