diff options
author | Gerald Combs <gerald@wireshark.org> | 2016-06-27 09:02:51 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2016-06-27 20:09:33 +0000 |
commit | b0b2540fbaad26d282a6e335c2b800c056961514 (patch) | |
tree | c0e9423776123fb4957bec64d445f947ac07517b /file.h | |
parent | d8ddf84693f335a071982aac5896f86152e91ee5 (diff) |
Qt: Clean up capture file callbacks.
Mark some callbacks GTK+ only as appropriate. Change a debug message to
an assert since we handle all callbacks.
Change-Id: I4266f0d7134d19a9c0432354ea36de67501275b4
Reviewed-on: https://code.wireshark.org/review/16171
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -73,18 +73,18 @@ typedef enum { cf_cb_file_rescan_finished, cf_cb_file_retap_started, cf_cb_file_retap_finished, - cf_cb_file_fast_save_finished, - cf_cb_packet_selected, - cf_cb_packet_unselected, - cf_cb_field_unselected, + cf_cb_file_fast_save_finished, /* GTK+ only? */ + cf_cb_packet_selected, /* GTK+ only. */ + cf_cb_packet_unselected, /* GTK+ only. */ + cf_cb_field_unselected, /* GTK+ only. */ cf_cb_file_save_started, cf_cb_file_save_finished, cf_cb_file_save_failed, cf_cb_file_save_stopped, - cf_cb_file_export_specified_packets_started, - cf_cb_file_export_specified_packets_finished, - cf_cb_file_export_specified_packets_failed, - cf_cb_file_export_specified_packets_stopped + cf_cb_file_export_specified_packets_started, /* GTK+ only. */ + cf_cb_file_export_specified_packets_finished, /* GTK+ only. */ + cf_cb_file_export_specified_packets_failed, /* GTK+ only. */ + cf_cb_file_export_specified_packets_stopped /* GTK+ only. */ } cf_cbs; typedef void (*cf_callback_t) (gint event, gpointer data, gpointer user_data); |