aboutsummaryrefslogtreecommitdiffstats
path: root/epan/plugin_if.h
diff options
context:
space:
mode:
authorRoland Knall <rknall@gmail.com>2017-03-03 20:55:13 +0100
committerMichael Mann <mmann78@netscape.net>2017-03-04 00:56:51 +0000
commit807fe8ed99b09c33c02c7574a830ce0b344d6e91 (patch)
tree6c734784549ba422a6e914626cba9066b0b48f89 /epan/plugin_if.h
parent4a703e01f47d1127756dab5f43b53cc49179cf9f (diff)
pluginIF: Allow en-/disable of elements
Allow the enable/disable of an element Change-Id: I9652e8d74b261ba259cebfba53e7bc7ef560d347 Reviewed-on: https://code.wireshark.org/review/20370 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'epan/plugin_if.h')
-rw-r--r--epan/plugin_if.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/plugin_if.h b/epan/plugin_if.h
index 34e800a370..61258a92d8 100644
--- a/epan/plugin_if.h
+++ b/epan/plugin_if.h
@@ -140,7 +140,8 @@ typedef enum
EXT_TOOLBAR_UPDATE_DATA,
EXT_TOOLBAR_UPDATE_DATABYINDEX,
EXT_TOOLBAR_UPDATE_DATA_ADD,
- EXT_TOOLBAR_UPDATE_DATA_REMOVE
+ EXT_TOOLBAR_UPDATE_DATA_REMOVE,
+ EXT_TOOLBAR_SET_ACTIVE
} ext_toolbar_update_type_t;
typedef struct _ext_toolbar_update_t
@@ -356,6 +357,8 @@ WS_DLL_PUBLIC void ext_toolbar_update_data_remove_entry(ext_toolbar_t * entry, g
/* Search for and return if found an entry from the toolbar with the given label */
WS_DLL_PUBLIC ext_toolbar_t * ext_toolbar_entry_by_label(const ext_toolbar_t * toolbar, const gchar * label);
+/* Set the ui element for the given enry to the status */
+WS_DLL_PUBLIC void ext_toolbar_update_data_set_active(ext_toolbar_t * entry, gboolean status);
/*
* Structure definition for the plugin_if_get_ws_info function