forked from osmocom/wireshark
![Moshe Kaplan](/assets/img/avatar_default.png)
Add @file markers for UI header files so that Doxygen will generate documentation for them.
61 lines
1.6 KiB
C++
61 lines
1.6 KiB
C++
/** @file
|
|
*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef FUNNELSTATISTICS_H
|
|
#define FUNNELSTATISTICS_H
|
|
|
|
#include <QObject>
|
|
|
|
#include "capture_file.h"
|
|
#include <ui/qt/filter_action.h>
|
|
|
|
struct _funnel_ops_t;
|
|
struct progdlg;
|
|
|
|
class FunnelStatistics : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit FunnelStatistics(QObject *parent, CaptureFile &cf);
|
|
~FunnelStatistics();
|
|
void retapPackets();
|
|
struct progdlg *progressDialogNew(const gchar *task_title, const gchar *item_title, gboolean terminate_is_stop, gboolean *stop_flag);
|
|
const char *displayFilter();
|
|
void emitSetDisplayFilter(const QString filter);
|
|
void reloadPackets();
|
|
void redissectPackets();
|
|
void reloadLuaPlugins();
|
|
void emitApplyDisplayFilter();
|
|
void emitOpenCaptureFile(QString cf_path, QString filter);
|
|
static const QString &actionName() { return action_name_; }
|
|
|
|
signals:
|
|
void openCaptureFile(QString cf_path, QString filter);
|
|
void setDisplayFilter(QString filter, FilterAction::Action action, FilterAction::ActionType filterType);
|
|
|
|
public slots:
|
|
void funnelActionTriggered();
|
|
void displayFilterTextChanged(const QString &filter);
|
|
|
|
private:
|
|
static const QString action_name_;
|
|
struct _funnel_ops_t *funnel_ops_;
|
|
struct _funnel_ops_id_t *funnel_ops_id_;
|
|
|
|
CaptureFile &capture_file_;
|
|
QByteArray display_filter_;
|
|
QString prepared_filter_;
|
|
};
|
|
|
|
extern "C" {
|
|
void funnel_statistics_reload_menus(void);
|
|
} // extern "C"
|
|
|
|
#endif // FUNNELSTATISTICS_H
|