2021-11-30 13:01:36 +00:00
|
|
|
/** @file
|
2014-08-04 11:57:17 +00:00
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
2018-04-30 07:47:58 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
2014-08-04 11:57:17 +00:00
|
|
|
|
|
|
|
#ifndef REMOTE_CAPTURE_DIALOG_H
|
|
|
|
#define REMOTE_CAPTURE_DIALOG_H
|
|
|
|
|
2015-04-26 17:21:09 +00:00
|
|
|
#include <config.h>
|
2014-08-08 22:14:54 +00:00
|
|
|
|
2014-08-04 11:57:17 +00:00
|
|
|
#ifdef HAVE_PCAP_REMOTE
|
|
|
|
#include <QDialog>
|
|
|
|
#include <glib.h>
|
|
|
|
#include "capture_opts.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class RemoteCaptureDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class RemoteCaptureDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit RemoteCaptureDialog(QWidget *parent = 0);
|
|
|
|
~RemoteCaptureDialog();
|
|
|
|
|
|
|
|
signals:
|
|
|
|
void remoteAdded(GList *rlist, remote_options *roptions);
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_pwAuth_toggled(bool checked);
|
|
|
|
void on_nullAuth_toggled(bool checked);
|
|
|
|
void apply_remote();
|
2022-09-12 16:14:38 +00:00
|
|
|
void hostChanged(const QString host);
|
2014-08-04 11:57:17 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::RemoteCaptureDialog *ui;
|
|
|
|
|
|
|
|
void fillComboBox();
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
#endif // REMOTE_CAPTURE_DIALOG_H
|