summaryrefslogtreecommitdiff
path: root/ui/qt/interface_tree_model.h
diff options
context:
space:
mode:
authorRoland Knall <roland.knall@br-automation.com>2016-12-27 10:14:32 +0100
committerRoland Knall <rknall@gmail.com>2016-12-27 11:55:51 +0000
commit9d47bf993932c064c60ea79592a06f0ffd383fd6 (patch)
tree82c7bf282defab09fec6ecf75d889df5c51387d2 /ui/qt/interface_tree_model.h
parent8e6953a64b0b785918d4a234e1eb09de21cfb5b8 (diff)
downloadwireshark-9d47bf993932c064c60ea79592a06f0ffd383fd6.tar.gz
InterfaceList: Add check for remote interface
Add a check, to allow the filtering of remote only interfaces. Also add the necessary options to the type menu. Change-Id: Ib82519362454094f64abf1cbe6d7bc917990d7ac Reviewed-on: https://code.wireshark.org/review/19438 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'ui/qt/interface_tree_model.h')
-rw-r--r--ui/qt/interface_tree_model.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/qt/interface_tree_model.h b/ui/qt/interface_tree_model.h
index 5517308791..33daff9eed 100644
--- a/ui/qt/interface_tree_model.h
+++ b/ui/qt/interface_tree_model.h
@@ -88,6 +88,10 @@ public:
QVariant getColumnContent(int idx, int col, int role = Qt::DisplayRole);
+#ifdef HAVE_PCAP_REMOTE
+ bool isRemote(int idx);
+#endif
+
static const QString DefaultNumericValue;
public slots: