HACK: 1. try to match RowsetProperties
[wireshark-wip.git] / ui / qt / packet_list_record.h
blob0a62f36fe8a733be2e9a4a0a762e52d39f883673
1 /* packet_list_record.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_LIST_RECORD_H
25 #define PACKET_LIST_RECORD_H
27 #include "config.h"
29 #include <glib.h>
31 #include <epan/column-info.h>
32 #include <epan/packet.h>
34 #include <QList>
35 #include <QVariant>
37 class PacketListRecord
39 public:
40 PacketListRecord(frame_data *frameData);
41 QVariant data(int col_num, column_info *cinfo) const;
42 frame_data *getFdata();
44 private:
45 /** The column text for some columns */
46 //gchar **col_text_;
47 /**< The length of the column text strings in 'col_text' */
48 //guint *col_text_len_;
50 frame_data *fdata_;
52 /** Has this record been columnized? */
53 //gboolean columnized_;
54 /** Has this record been colorized? */
55 //gboolean colorized_;
57 /* admin stuff used by the custom list model */
58 /** position within the physical array */
59 //guint physical_pos_;
60 /** position within the visible array */
61 //gint visible_pos_;
65 #endif // PACKET_LIST_RECORD_H
68 * Editor modelines
70 * Local Variables:
71 * c-basic-offset: 4
72 * tab-width: 8
73 * indent-tabs-mode: nil
74 * End:
76 * ex: set shiftwidth=4 tabstop=8 expandtab:
77 * :indentSize=4:tabSize=8:noTabs=true: