aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-02-08 18:07:34 +0000
committerGerald Combs <gerald@wireshark.org>2013-02-08 18:07:34 +0000
commitd21f62b73b84086173901da197fe15eaa4e9dcce (patch)
treed14fa98879d71abccd2c8f3003090565c1890326 /epan/prefs.h
parentc7525936983ae67912df1baffbddf60a2e69242b (diff)
Add a directory name preference type (PREF_DIRNAME) and registration
routine (prefs_register_directory_preference). Add PREF_FILENAME and PREF_DIRNAME support to the Qt module preferences. Change a couple of preferences to directory names. Clean up some names and default settings. svn path=/trunk/; revision=47573
Diffstat (limited to 'epan/prefs.h')
-rw-r--r--epan/prefs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/epan/prefs.h b/epan/prefs.h
index 8b29860ca6..a2d569fadc 100644
--- a/epan/prefs.h
+++ b/epan/prefs.h
@@ -387,6 +387,15 @@ extern void prefs_register_filename_preference(module_t *module, const char *nam
const char *title, const char *description, const char **var);
/*
+ * Register a preference with a directory name (string) value.
+ * Directory name preferences are basically like string preferences
+ * except that the GUI gives the user the ability to browse for a
+ * directory.
+ */
+extern void prefs_register_directory_preference(module_t *module, const char *name,
+ const char *title, const char *description, const char **var);
+
+/*
* Register a preference with a ranged value.
*/
extern void prefs_register_range_preference(module_t *module, const char *name,