Wireshark-commits: [Wireshark-commits] master eeed4d1: UI: Implementing menus for plugins

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 14 Apr 2015 04:00:44 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=eeed4d1121f122aa5579153872193b9a91d8ad52
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

eeed4d1 by Roland Knall (roland.knall@xxxxxxxxxxxxxxxxx):

    UI: Implementing menus for plugins
    
     Plugins may utilize the tap interface to provide special tools
     or analysis options, not otherwise available in Wireshark, or
     perhaps not allowed to be distributed freely. Up until now, those
     tools either had to start automatically, or could not be started
     at all, or had to be started separately.
    
     It should be possible, that those tools may be started using a
     menu entry directly from Wireshark. This interface tries to achieve
     exactly that.
    
     This interface uses a clean interface, which can be implemented in
     any plugin or dissector. Documentation for this has been added to
     README.plugins.
    
     Separators are only supported for now in the Qt interface, but
     URLs can now be added as a simple item, and the UI will use the
     same methods used for other URL calls to open them.
    
    Change-Id: I170107dafb66f6badaa864d05a9091e5cbbf52c2
    Reviewed-on: https://code.wireshark.org/review/7865
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  035d741   Fix zlib DLL copy.
    adds  eeed4d1   UI: Implementing menus for plugins


Summary of changes:
 doc/README.plugins          |   47 +++++++++
 epan/CMakeLists.txt         |    1 +
 epan/Makefile.common        |    2 +
 epan/ext_menubar.c          |  186 ++++++++++++++++++++++++++++++++++++
 epan/ext_menubar.h          |  165 ++++++++++++++++++++++++++++++++
 ui/gtk/main_menubar.c       |  220 +++++++++++++++++++++++++++++++++++++++++++
 ui/qt/main_window.cpp       |   75 +++++++++++++++
 ui/qt/main_window.h         |    6 ++
 ui/qt/main_window_slots.cpp |   29 +++++-
 9 files changed, 730 insertions(+), 1 deletion(-)
 create mode 100644 epan/ext_menubar.c
 create mode 100644 epan/ext_menubar.h