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 FOLLOWSTREAMACTION_H
11 #define FOLLOWSTREAMACTION_H
15 #include <epan/packet_info.h>
16 #include <epan/follow.h>
20 #include <ui/qt/capture_file.h>
22 // Actions for "Follow Stream" menu items.
24 class FollowStreamAction
: public QAction
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_
));}
35 register_follow_t
*follow_
;
38 #endif // FOLLOWSTREAMACTION_H