summaryrefslogtreecommitdiffstats
path: root/ui/qt/remote_settings_dialog.h
blob: 8e751e09465f0c1618f840f71a16811ee7d4e948 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/** @file
 *
 * Wireshark - Network traffic analyzer
 * By Gerald Combs <gerald@wireshark.org>
 * Copyright 1998 Gerald Combs
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef REMOTE_SETTINGS_DIALOG_H
#define REMOTE_SETTINGS_DIALOG_H

#include <config.h>

#ifdef HAVE_PCAP_REMOTE
#include <QDialog>
#include "capture_opts.h"

namespace Ui {
class RemoteSettingsDialog;
}

class RemoteSettingsDialog : public QDialog
{
    Q_OBJECT

public:
    explicit RemoteSettingsDialog(QWidget *parent = 0, interface_t *iface = NULL);
    ~RemoteSettingsDialog();

signals:
    void remoteSettingsChanged(interface_t *iface);

private slots:
    void on_buttonBox_accepted();

private:
    Ui::RemoteSettingsDialog *ui;
    interface_t mydevice;
};
#endif
#endif // REMOTE_SETTINGS_DIALOG_H