Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
remote_capture_dialog.h
1 /* remote_capture_dialog.h
2  *
3  * Wireshark - Network traffic analyzer
4  * By Gerald Combs <gerald@wireshark.org>
5  * Copyright 1998 Gerald Combs
6  *
7  * SPDX-License-Identifier: GPL-2.0-or-later
8  */
9 
10 #ifndef REMOTE_CAPTURE_DIALOG_H
11 #define REMOTE_CAPTURE_DIALOG_H
12 
13 #include <config.h>
14 
15 #ifdef HAVE_PCAP_REMOTE
16 #include <QDialog>
17 #include <glib.h>
18 #include "capture_opts.h"
19 
20 
21 namespace Ui {
22 class RemoteCaptureDialog;
23 }
24 
25 class RemoteCaptureDialog : public QDialog
26 {
27  Q_OBJECT
28 
29 public:
30  explicit RemoteCaptureDialog(QWidget *parent = 0);
31  ~RemoteCaptureDialog();
32 
33 signals:
34  void remoteAdded(GList *rlist, remote_options *roptions);
35 
36 private slots:
37  void on_pwAuth_toggled(bool checked);
38  void on_nullAuth_toggled(bool checked);
39  void apply_remote();
40  void hostChanged(QString host);
41 
42 private:
43  Ui::RemoteCaptureDialog *ui;
44 
45  void fillComboBox();
46 };
47 #endif
48 #endif // REMOTE_CAPTURE_DIALOG_H
49 
50 /*
51  * Editor modelines
52  *
53  * Local Variables:
54  * c-basic-offset: 4
55  * tab-width: 8
56  * indent-tabs-mode: nil
57  * End:
58  *
59  * ex: set shiftwidth=4 tabstop=8 expandtab:
60  * :indentSize=4:tabSize=8:noTabs=true:
61  */
Definition: ui_about_dialog.h:291