From a2b2dd4b284e43a98dacf742fc0801d3bdc03028 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Irene=20R=C3=BCngeler?= Date: Mon, 9 Dec 2013 10:07:33 +0000 Subject: Add a function and an enum to register an uat preference for QT only. svn path=/trunk/; revision=53880 --- epan/prefs.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'epan/prefs.h') diff --git a/epan/prefs.h b/epan/prefs.h index 24445dd4ae..be1ed8d887 100644 --- a/epan/prefs.h +++ b/epan/prefs.h @@ -458,6 +458,17 @@ WS_DLL_PUBLIC void prefs_register_uat_preference(module_t *module, const char *description, struct epan_uat* uat); +/* + * Register a uat 'preference' for QT only. It adds a button that opens the uat's window in the + * preferences tab of the module. + */ +WS_DLL_PUBLIC void prefs_register_uat_preference_qt(module_t *module, + const char *name, + const char* title, + const char *description, + struct epan_uat* uat); + + /* * Register a color preference. Currently does not have any "GUI Dialog" support * so the color data needs to be managed independently. Currently used by the -- cgit v1.2.3