2014-08-04 11:57:17 +00:00
|
|
|
/* 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
|
|
|
|
|
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();
|
|
|
|
void hostChanged(QString host);
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::RemoteCaptureDialog *ui;
|
|
|
|
|
|
|
|
void fillComboBox();
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
#endif // REMOTE_CAPTURE_DIALOG_H
|
|
|
|
|
2014-08-11 06:58:13 +00:00
|
|
|
/*
|
|
|
|
* 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:
|
|
|
|
*/
|