From 9ba9cd83a4f72339b15aebbc1fbdde32f08ef3bc Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Tue, 9 Sep 2014 16:42:58 -0400 Subject: 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 Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs --- capchild/capture_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'capchild/capture_sync.c') diff --git a/capchild/capture_sync.c b/capchild/capture_sync.c index 8542105a04..e1c6870745 100644 --- a/capchild/capture_sync.c +++ b/capchild/capture_sync.c @@ -127,7 +127,7 @@ static void (*fetch_dumpcap_pid)(int) = NULL; void -capture_session_init(capture_session *cap_session, void *cf) +capture_session_init(capture_session *cap_session, struct _capture_file *cf) { cap_session->cf = cf; cap_session->fork_child = -1; /* invalid process handle */ -- cgit v1.2.3