3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
10 #ifndef __RESPONSE_TIME_DELAY_DIALOG_H__
11 #define __RESPONSE_TIME_DELAY_DIALOG_H__
13 #include "tap_parameter_dialog.h"
15 struct _rtd_stat_table
;
17 class ResponseTimeDelayDialog
: public TapParameterDialog
22 ResponseTimeDelayDialog(QWidget
&parent
, CaptureFile
&cf
, struct register_rtd
*rtd
, const QString filter
, int help_topic
= 0);
23 static TapParameterDialog
*createRtdDialog(QWidget
&parent
, const QString cfg_str
, const QString filter
, CaptureFile
&cf
);
26 /** Add a response time delay table.
28 * @param rtd_table The table to add.
30 // gtk:service_response_table.h:init_srt_table
31 void addRtdTable(const struct _rtd_stat_table
*rtd_table
);
34 struct register_rtd
*rtd_
;
36 // Callbacks for register_tap_listener
37 static void tapReset(void *rtdd_ptr
);
38 static void tapDraw(void *rtdd_ptr
);
40 virtual QList
<QVariant
> treeItemData(QTreeWidgetItem
*ti
) const;
43 virtual void fillTree();
46 /** Register function to register dissectors that support RTD for Qt.
48 * @param key is unused
49 * @param value register_rtd_t* representing dissetor RTD table
50 * @param userdata is unused
52 bool register_response_time_delay_tables(const void *key
, void *value
, void *userdata
);
54 #endif // __RESPONSE_TIME_DELAY_DIALOG_H__