MSWSP: add parse_CNatLanguageRestriction()
[wireshark-wip.git] / ui / qt / packet_comment_dialog.h
blob2822841e0b183cab84cf477c51e4b235e57a60f5
1 /* packet_comment_dialog.h
3 * $Id$
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 #ifndef PACKET_COMMENT_DIALOG_H
25 #define PACKET_COMMENT_DIALOG_H
27 #include <QDialog>
29 namespace Ui {
30 class PacketCommentDialog;
33 class PacketCommentDialog : public QDialog
35 Q_OBJECT
37 public:
38 explicit PacketCommentDialog(QWidget *parent = 0, QString comment = QString());
39 ~PacketCommentDialog();
40 QString text();
42 private slots:
43 void on_buttonBox_helpRequested();
45 private:
46 Ui::PacketCommentDialog *pc_ui_;
49 #endif // PACKET_COMMENT_DIALOG_H