Modify multicheck to accept parent parameter.
authorTomasz Moń <desowin@gmail.com>
Fri, 19 Sep 2014 17:34:07 +0000 (19:34 +0200)
committerPascal Quantin <pascal.quantin@gmail.com>
Mon, 6 Oct 2014 09:51:56 +0000 (09:51 +0000)
commit9c1225f73511b59dd74273545fac401d711cea36
tree03b12e1443a273cd91e83a66a24f8092a87ce880
parent07844512004aacc0a9ecc01ade01081f59a24c64
Modify multicheck to accept parent parameter.

This makes it possible for multicheck to become a tree-like structure.

Example:
arg {number=4}{call=--devices}{display=Devices}{tooltip=Device selector}{type=multicheck}
value {arg=4}{value=dev1}{display=Parent Device}{enabled=t}{default=t}
value {arg=4}{value=dev2}{display=Child Device}{parent=dev1}{enabled=t}
value {arg=4}{value=dev3}{display=Another Parent Device}{enabled=t}
value {arg=4}{value=dev4}{display=Non-clickable Child Device}{parent=dev3}
value {arg=4}{value=dev5}{display=Non-clickable Child of Child}{parent=dev4}

Change-Id: I59dd7208ca0ec90cccfc49ae049559cdc6c69a4b
Reviewed-on: https://code.wireshark.org/review/4192
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Roland Knall <rknall@gmail.com>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
extcap_parser.c
extcap_parser.h
ui/gtk/extcap_gtk.c
ui/gtk/extcap_gtk.h