aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2016-06-27 09:02:51 -0700
committerGerald Combs <gerald@wireshark.org>2016-06-27 20:09:33 +0000
commitb0b2540fbaad26d282a6e335c2b800c056961514 (patch)
treec0e9423776123fb4957bec64d445f947ac07517b /file.h
parentd8ddf84693f335a071982aac5896f86152e91ee5 (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.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/file.h b/file.h
index 165795b..8a54cde 100644
--- a/file.h
+++ b/file.h
@@ -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);