diff options
author | Irene RĂ¼ngeler <I.Ruengeler@fh-muenster.de> | 2013-12-09 10:07:33 +0000 |
---|---|---|
committer | Irene RĂ¼ngeler <I.Ruengeler@fh-muenster.de> | 2013-12-09 10:07:33 +0000 |
commit | a2b2dd4b284e43a98dacf742fc0801d3bdc03028 (patch) | |
tree | 45bd95ab7a0c59eeafc0fc484c777f69339913ac /epan/prefs-int.h | |
parent | 293e390c6129d7badce01279b4b9facb9f701fc8 (diff) |
Add a function and an enum to register an uat preference for QT only.
svn path=/trunk/; revision=53880
Diffstat (limited to 'epan/prefs-int.h')
-rw-r--r-- | epan/prefs-int.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/prefs-int.h b/epan/prefs-int.h index 52fc65fa6e..ae2772e600 100644 --- a/epan/prefs-int.h +++ b/epan/prefs-int.h @@ -108,6 +108,12 @@ typedef enum { PREF_DIRNAME } pref_type_t; +typedef enum { + GUI_ALL, + GUI_GTK, + GUI_QT +} gui_type_t; + /** Struct to hold preference data */ struct preference { const char *name; /**< name of preference */ @@ -115,6 +121,7 @@ struct preference { const char *description; /**< human-readable description of preference */ int ordinal; /**< ordinal number of this preference */ pref_type_t type; /**< type of that preference */ + gui_type_t gui; /**< type of the GUI (QT, GTK or both) the preference is registered for */ union { /* The Qt preference code assumes that these will all be pointers (and unique) */ guint *uint; gboolean *boolp; |