From 321386e9f49d88b64f48868c6e4079b2073547a1 Mon Sep 17 00:00:00 2001 From: Roland Knall Date: Tue, 24 Jan 2017 17:34:07 +0100 Subject: PluginIF: AdditionalToolbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Creates an interface for plugins and other parts of the code, to add a new toolbar to the system and have various widget types interact with this toolbar. All toolbars added via this interface, will be added to an additional submenu called "Additional Toolbars" within Wireshark. Also a demo plugin is being provided, demonstrating various features of the toolbar, including updating the gui elements. It also demonstrates how to update toolbar items. Change-Id: I8d0351224b3d7f4b90220d58970b51695551d7e3 Reviewed-on: https://code.wireshark.org/review/19803 Petri-Dish: Roland Knall Tested-by: Petri Dish Buildbot Reviewed-by: Stig Bjørlykke Reviewed-by: Roland Knall --- CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 75d001162d..92b2df5e31 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1240,6 +1240,15 @@ if(ENABLE_PLUGINS) plugins/wimaxmacphy ${CUSTOM_PLUGIN_SRC_DIR} ) + + # Build demo plugin, only if asked explicitly + if(ENABLE_PLUGIN_IFDEMO) + set(PLUGIN_SRC_DIRS + ${PLUGIN_SRC_DIRS} + plugins/pluginifdemo + ) + endif() + # It seems this stuff doesn't build with autofoo either... # if(YAPP_FOUND) # set(PLUGIN_SRC_DIRS -- cgit v1.2.1