diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2009-06-30 18:05:04 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2009-06-30 18:05:04 +0000 |
commit | e6d0686f7b1291b420618d768d964d00b83cb452 (patch) | |
tree | 3aaafc6ab6cc9e1bda6c0b3103c5279e9eda2fa4 /gtk/new_packet_list.h | |
parent | 92446c8005109d31ad842b29b8b480f7e69d2843 (diff) |
Introduce experimental new feature: GTK2 tree view based packet list
To use the GTK2 based packet list, define NEW_PACKET_LIST when compiling.
To do this with gcc, set the environment variable CPPFLAGS to
"-DNEW_PACKET_LIST" and re-run configure.
Many features do not yet work. This work began with prototypes by Ulf
quite a while back. I've put quite a bit of work into this so far and
as discussed with a few of the core team members at Sharkfest09 and it was
decided that it would be best to commit what I have so far to allow others to
help work on this.
svn path=/trunk/; revision=28892
Diffstat (limited to 'gtk/new_packet_list.h')
-rw-r--r-- | gtk/new_packet_list.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/gtk/new_packet_list.h b/gtk/new_packet_list.h new file mode 100644 index 0000000000..7f748a9315 --- /dev/null +++ b/gtk/new_packet_list.h @@ -0,0 +1,43 @@ +/* new_packet_list.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 __NEW_PACKET_LIST_H__ +#define __NEW_PACKET_LIST_H__ + +#ifdef NEW_PACKET_LIST + +#include <gtk/gtk.h> + +GtkWidget *new_packet_list_create(void); +guint new_packet_list_append(column_info cinfo, gpointer fdata); +void new_packet_list_freeze(void); +void new_packet_list_thaw(void); +void new_packet_list_next(void); +void new_packet_list_prev(void); +void new_packet_list_resize_columns_cb(GtkWidget *widget _U_, gpointer data _U_); +gpointer new_packet_list_get_row_data(gint row); + +#endif /* NEW_PACKET_LIST */ + +#endif /* __NEW_PACKET_LIST_H__ */ |