Wireshark-commits: [Wireshark-commits] master 927ffaa: extcap: Add Save functionality to options di

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 1 Feb 2016 12:12:59 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=927ffaa794d5fb24e0b4f3fba08c4c31f4dd7d63
Submitter: Roland Knall (rknall@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

927ffaa by Roland Knall (roland.knall@xxxxxxxxxxxxxxxxx):

    extcap: Add Save functionality to options dialog
    
    This patch creates the functionality of saving all parameters
    for extcap devices in the general preference section.
    
    For now, multiselect and fileselect do not save their values
    but patches for this will be provided in the future
    
    Also, all preferences are stored as strings to make handling
    easier. This might change in the future, but for the first version
    it will stick.
    
    Restore to Defaults is not implemented as of yet, and will be
    in a future version, once the preference storing is finalized
    
    Bug: 11666
    Change-Id: I178346405146d2e43f4f3481c05c92c0b3595af5
    Reviewed-on: https://code.wireshark.org/review/13451
    Petri-Dish: Roland Knall <rknall@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    

Actions performed:

    from  5e89f93   androiddump: fix printf format warning.
    adds  927ffaa   extcap: Add Save functionality to options dialog


Summary of changes:
 doc/README.extcap               |    3 +-
 doc/extcap_example.py           |    5 +-
 epan/prefs.c                    |   22 ++++++
 epan/prefs.h                    |    3 +
 extcap.c                        |  146 ++++++++++++++++++++++++++++++++-------
 extcap.h                        |    4 ++
 extcap_parser.c                 |    6 +-
 extcap_parser.h                 |    4 +-
 ui/gtk/main.c                   |    8 +++
 ui/qt/extcap_argument.cpp       |   59 +++++++++++++++-
 ui/qt/extcap_argument.h         |    4 ++
 ui/qt/extcap_options_dialog.cpp |   86 ++++++++++++++++++++++-
 ui/qt/extcap_options_dialog.h   |    1 +
 ui/qt/extcap_options_dialog.ui  |   19 ++++-
 wireshark-qt.cpp                |    8 +++
 15 files changed, 343 insertions(+), 35 deletions(-)