Qt: Add a CaptureFile class.
authorGerald Combs <gerald@wireshark.org>
Tue, 9 Sep 2014 20:42:58 +0000 (16:42 -0400)
committerGerald Combs <gerald@wireshark.org>
Sat, 20 Dec 2014 17:39:29 +0000 (17:39 +0000)
commit9ba9cd83a4f72339b15aebbc1fbdde32f08ef3bc
tree4ed17ac7d9681f43bf1e0e1069bb2a84a48a8387
parent2bb8255e29e26c7c14f7a83ce33b41f9af18501e
Qt: Add a CaptureFile class.

Wrap the capture_file struct in a QObject which translates cf_cb_* and
capture_cb_* events into signals. Move the global cfile to
capture_file.cpp.

Don't use a void pointer for the capture file struct.

Change-Id: Ic5d5efb4bb1db64aa0247245890e5669b1da723a
Reviewed-on: https://code.wireshark.org/review/5885
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
21 files changed:
capchild/capture_ifinfo.c
capchild/capture_session.h
capchild/capture_sync.c
echld/dispatcher.c
file.c
file.h
tshark.c
ui/capture.c
ui/capture.h
ui/gtk/main.c
ui/qt/CMakeLists.txt
ui/qt/Makefile.common
ui/qt/Wireshark.pro
ui/qt/capture_file.cpp [new file with mode: 0644]
ui/qt/capture_file.h [new file with mode: 0644]
ui/qt/main.cpp
ui/qt/main_window.cpp
ui/qt/main_window.h
ui/qt/main_window_slots.cpp
ui/qt/wireshark_application.cpp
ui/qt/wireshark_application.h