aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/decode_as_dialog.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-11-22 01:07:36 +0000
committerGerald Combs <gerald@wireshark.org>2013-11-22 01:07:36 +0000
commit78266fe17eb7cf0cc6e793d2202a716fdeb77e4b (patch)
tree1a43676b46c9a684bf76709985de54081260b747 /ui/qt/decode_as_dialog.h
parent70709e1b3566afd6054c1a63edfa3b053344026e (diff)
Add an initial "Decode As" dialog. Currently read-only.
Fixup some of the Statistics menu items. svn path=/trunk/; revision=53499
Diffstat (limited to 'ui/qt/decode_as_dialog.h')
-rw-r--r--ui/qt/decode_as_dialog.h76
1 files changed, 76 insertions, 0 deletions
diff --git a/ui/qt/decode_as_dialog.h b/ui/qt/decode_as_dialog.h
new file mode 100644
index 0000000000..207214355a
--- /dev/null
+++ b/ui/qt/decode_as_dialog.h
@@ -0,0 +1,76 @@
+/* stats_tree_dialog.h
+ *
+ * $Id$
+ *
+ * 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 DECODE_AS_DIALOG_H
+#define DECODE_AS_DIALOG_H
+
+#include "config.h"
+
+#include <glib.h>
+
+#include "cfile.h"
+
+#include <QDialog>
+
+namespace Ui {
+class DecodeAsDialog;
+}
+
+class DecodeAsDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit DecodeAsDialog(QWidget *parent = 0, capture_file *cf = NULL);
+ ~DecodeAsDialog();
+
+public slots:
+ void setCaptureFile(capture_file *cf);
+
+private:
+ Ui::DecodeAsDialog *ui;
+
+ capture_file *cap_file_;
+
+ static void buildChangedList(const gchar *table_name, ftenum_t selector_type,
+ gpointer key, gpointer value, gpointer user_data);
+ static void buildDceRpcChangedList(gpointer data, gpointer user_data);
+
+private slots:
+ void fillTable();
+};
+
+#endif // DECODE_AS_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:
+ */