![Alexis La Goutte](/assets/img/avatar_default.png)
Fix also some indent (tab->4spaces) Change-Id: Ieef26591d405c6abe622f9fa26d2a7117af3c259 Reviewed-on: https://code.wireshark.org/review/3548 Reviewed-by: Anders Broman <a.broman58@gmail.com>
74 lines
1.8 KiB
C++
74 lines
1.8 KiB
C++
/* remote_capture_dialog.h
|
|
*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
*/
|
|
|
|
#ifndef REMOTE_CAPTURE_DIALOG_H
|
|
#define REMOTE_CAPTURE_DIALOG_H
|
|
|
|
#include "config.h"
|
|
|
|
#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();
|
|
void hostChanged(QString host);
|
|
|
|
private:
|
|
Ui::RemoteCaptureDialog *ui;
|
|
|
|
void fillComboBox();
|
|
};
|
|
#endif
|
|
#endif // REMOTE_CAPTURE_DIALOG_H
|
|
|
|
/*
|
|
* Editor modelines
|
|
*
|
|
* Local Variables:
|
|
* c-basic-offset: 4
|
|
* tab-width: 8
|
|
* indent-tabs-mode: nil
|
|
* End:
|
|
*
|
|
* ex: set shiftwidth=4 tabstop=8 expandtab:
|
|
* :indentSize=4:tabSize=8:noTabs=true:
|
|
*/
|