10#ifndef FUNNELSTATISTICS_H
11#define FUNNELSTATISTICS_H
38 struct progdlg *progressDialogNew(
const char *task_title,
const char *item_title,
bool terminate_is_stop,
bool *stop_flag);
39 const char *displayFilter();
40 void emitSetDisplayFilter(
const QString filter);
42 void redissectPackets();
43 void reloadLuaPlugins();
44 void emitApplyDisplayFilter();
45 void emitOpenCaptureFile(QString cf_path, QString filter);
46 static const QString &actionName() {
return action_name_; }
49 void openCaptureFile(QString cf_path, QString filter);
50 void setDisplayFilter(QString filter, FilterAction::Action action, FilterAction::ActionType filterType);
53 void funnelActionTriggered();
54 void displayFilterTextChanged(
const QString &filter);
57 static const QString action_name_;
62 QByteArray display_filter_;
63 QString prepared_filter_;
71 FunnelAction(QString title, funnel_menu_callback callback,
void *callback_data,
bool retap, QObject *parent);
74 funnel_menu_callback callback()
const;
75 QString title()
const;
76 virtual void triggerCallback();
78 void setPacketData(GPtrArray* finfos);
79 void addToMenu(QMenu * ctx_menu, QHash<QString, QMenu *> &menuTextToMenus);
80 void setPacketRequiredFields(
const char *required_fields_str);
81 const QSet<QString> getPacketRequiredFields();
83 QString getPacketSubmenus();
86 void triggerPacketCallback();
90 QString packetSubmenu_;
91 funnel_menu_callback callback_;
95 GPtrArray* packetData_;
96 QSet<QString> packetRequiredFields_;
106 void *callback_data, QObject *parent);
108 virtual void triggerCallback();
115 void *callback_data_;
116 QPointer<IOConsoleDialog> dialog_;
120 void funnel_statistics_reload_menus(
void);
121 void funnel_statistics_load_packet_menus(
void);
122 void funnel_statistics_load_console_menus(
void);
Definition capture_file.h:21
Definition funnel_statistics.h:67
Definition funnel_statistics.h:100
Definition funnel_statistics.h:32
void(* funnel_console_open_cb_t)(void(*print_func)(const char *, void *), void *print_data, void *callback_data)
Definition funnel.h:177
int(* funnel_console_eval_cb_t)(const char *console_input, char **error_ptr, char **error_hint, void *callback_data)
Definition funnel.h:169
void(* funnel_console_close_cb_t)(void *callback_data)
Definition funnel.h:182
void(* funnel_packet_menu_callback)(void *, GPtrArray *)
Definition funnel_statistics.h:29
bool funnel_statistics_packet_menus_modified(void)
Definition funnel_statistics.cpp:568
Definition funnel_statistics.cpp:249
Definition progress_frame.h:31