diff options
author | Gerald Combs <gerald@wireshark.org> | 2014-11-18 16:21:42 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-12-09 21:25:33 +0000 |
commit | 4921e559906aee70c4665f1c739057e227787e01 (patch) | |
tree | 4465cb9e9de152bfb57f00852e437994e2d85cd9 /ui/voip_calls.h | |
parent | 3147087de323c0294b51006f97b641fc408f1b06 (diff) | |
download | wireshark-4921e559906aee70c4665f1c739057e227787e01.tar.gz |
Qt: Initial VoIP Calls dialog.
Add Telephony menu items for VoIP Calls and SIP Flows. Put VoIP Calls at
the top, since that seems to be the primary item.
Add configure-time checks for QtMultimediaWidgets in anticipation of
adding a VoIP playback dialog.
Add an icon for the playback button. (Yes, I've been avoiding
GNOME-level gratuitous icons so far but this is one of the rare
occiasions where it makes sense.)
Add a help link define for the VoIP calls dialog.
Change-Id: I5d0799685c598ad9af76fe9667f8ea7d14b66050
Reviewed-on: https://code.wireshark.org/review/5674
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 'ui/voip_calls.h')
-rw-r--r-- | ui/voip_calls.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/ui/voip_calls.h b/ui/voip_calls.h index ccaf2e984f..fc6cdb5904 100644 --- a/ui/voip_calls.h +++ b/ui/voip_calls.h @@ -34,11 +34,22 @@ #ifndef __VOIP_CALLS_H__ #define __VOIP_CALLS_H__ +/** @file + * "VoIP Calls" dialog box common routines. + * @ingroup main_ui_group + */ + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #include <glib.h> #include <stdio.h> #include "epan/address.h" +#include "epan/packet.h" #include "epan/guid-utils.h" +#include "epan/tap.h" #include "epan/tap-voip.h" #include "ui/tap-sequence-analysis.h" @@ -160,7 +171,7 @@ typedef struct _voip_calls_info { nstime_t start_rel_ts; frame_data *stop_fd; nstime_t stop_rel_ts; - gboolean selected; + gboolean selected; /* GTK+ only */ } voip_calls_info_t; @@ -176,6 +187,7 @@ typedef struct _voip_calls_tapinfo { tap_reset_cb tap_reset; /**< tap reset callback */ tap_packet_cb tap_packet; /**< tap per-packet callback */ tap_draw_cb tap_draw; /**< tap draw callback */ + void *tap_data; /**< data for tap callbacks */ int ncalls; /**< number of call */ GQueue* callsinfos; /**< queue with all calls */ GHashTable* callsinfo_hashtable[1]; /**< array of hashes per voip protocol; currently only the one for SIP is used */ @@ -237,6 +249,10 @@ void voip_calls_remove_all_tap_listeners(voip_calls_tapinfo_t *tap_id_base); */ void voip_calls_reset_all_taps(voip_calls_tapinfo_t *tapinfo); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* __VOIP_CALLS_H__ */ /* |