diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-11-25 21:50:58 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-11-25 21:50:58 +0000 |
commit | e2735b15e0fbd85f74b5504f3c3f4fa18804fc5c (patch) | |
tree | 87a2166d3d34795b18231f044a0d17a67df7f4e3 /ui/qt/main_window.h | |
parent | 2c9ea8a51fc4fbeabd37f9aad6f00fdbfa7bb6c1 (diff) |
No libpcap, no capturing, no capture interfaces. Ifdef the entire
capture interfaces dialog code, *and* the code that calls it, under
HAVE_LIBPCAP.
Still more stuff to remove from the no-pcap UI, such as the Capture
menu, the capture filter in the main window, and the list of interfaces
in the main window.
svn path=/trunk/; revision=53582
Diffstat (limited to 'ui/qt/main_window.h')
-rw-r--r-- | ui/qt/main_window.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/qt/main_window.h b/ui/qt/main_window.h index f30de3a509..2ecc38b3eb 100644 --- a/ui/qt/main_window.h +++ b/ui/qt/main_window.h @@ -117,7 +117,9 @@ private: bool capture_stopping_; bool capture_filter_valid_; +#ifdef HAVE_LIBPCAP CaptureInterfacesDialog capture_interfaces_dialog_; +#endif // Pipe input gint pipe_source_; @@ -263,7 +265,9 @@ private slots: void on_actionGoGoToPacket_triggered(); void resetPreviousFocus(); +#ifdef HAVE_LIBPCAP void on_actionCaptureOptions_triggered(); +#endif void matchSelectedFilter(MainWindow::MatchSelected filter_type, bool apply = false, bool copy_only = false); void on_actionAnalyzeAAFSelected_triggered(); @@ -323,7 +327,9 @@ private slots: void on_actionStatisticsTcpStreamRoundTripTime_triggered(); void on_actionStatisticsTcpStreamWindowScaling_triggered(); +#ifdef HAVE_LIBPCAP void on_actionCaptureInterfaces_triggered(); +#endif void openStatisticsTreeDialog(const gchar *abbr); void on_actionStatisticsANCP_triggered(); |