Kerberos: add kerberos_inject_longterm_key() helper function
[wireshark-sm.git] / ui / qt / follow_stream_action.h
blob5357bae49c83d076e3478e2238b22159d20046e3
1 /** @file
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
8 */
10 #ifndef FOLLOWSTREAMACTION_H
11 #define FOLLOWSTREAMACTION_H
13 #include "config.h"
15 #include <epan/packet_info.h>
16 #include <epan/follow.h>
18 #include <QAction>
20 #include <ui/qt/capture_file.h>
22 // Actions for "Follow Stream" menu items.
24 class FollowStreamAction : public QAction
26 Q_OBJECT
27 public:
28 FollowStreamAction(QObject *parent, register_follow_t *follow = NULL);
30 register_follow_t* follow() const {return follow_;}
31 int protoId() const {return get_follow_proto_id(follow_);}
32 const char* filterName() const {return proto_get_protocol_filter_name(get_follow_proto_id(follow_));}
34 private:
35 register_follow_t *follow_;
38 #endif // FOLLOWSTREAMACTION_H