diff options
author | Roland Knall <roland.knall@br-automation.com> | 2017-01-24 17:34:07 +0100 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2017-02-24 08:12:46 +0000 |
commit | 321386e9f49d88b64f48868c6e4079b2073547a1 (patch) | |
tree | d30943f392b322b6dd7e1245f7efc3915051ab55 /CMakeLists.txt | |
parent | bd9afdddfe45b4c9c6e966df7264d12cdfd85f42 (diff) | |
download | wireshark-321386e9f49d88b64f48868c6e4079b2073547a1.tar.gz |
PluginIF: AdditionalToolbar
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 <rknall@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
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 |