5 * Laurent Deniel <laurent.deniel@free.fr>
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 2000 Gerald Combs
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27 #ifndef __HELP_DLG_H__
28 #define __HELP_DLG_H__
32 * @ingroup dialog_group
36 /* pages online at www.wireshark.org */
42 ONLINEPAGE_SAMPLE_FILES,
44 /* local manual pages */
45 LOCALPAGE_MAN_WIRESHARK = 100,
46 LOCALPAGE_MAN_WIRESHARK_FILTER,
48 LOCALPAGE_MAN_DUMPCAP,
49 LOCALPAGE_MAN_MERGECAP,
50 LOCALPAGE_MAN_EDITCAP,
51 LOCALPAGE_MAN_TEXT2PCAP,
53 /* help pages (textfiles or local HTML User's Guide) */
55 HELP_GETTING_STARTED, /* currently unused */
56 HELP_CAPTURE_OPTIONS_DIALOG,
57 HELP_CAPTURE_FILTERS_DIALOG,
58 HELP_DISPLAY_FILTERS_DIALOG,
59 HELP_COLORING_RULES_DIALOG,
64 HELP_CAPTURE_INTERFACES_DIALOG,
65 HELP_ENABLED_PROTOCOLS_DIALOG,
66 HELP_DECODE_AS_DIALOG,
67 HELP_DECODE_AS_SHOW_DIALOG,
68 HELP_FOLLOW_TCP_STREAM_DIALOG, /* currently unused */
69 HELP_STATS_SUMMARY_DIALOG,
70 HELP_STATS_PROTO_HIERARCHY_DIALOG,
71 HELP_STATS_ENDPOINTS_DIALOG,
72 HELP_STATS_CONVERSATIONS_DIALOG,
73 HELP_STATS_IO_GRAPH_DIALOG,
74 HELP_CAPTURE_INTERFACES_DETAILS_DIALOG,
75 HELP_PREFERENCES_DIALOG
79 /** Open a specific topic (create a "Help" dialog box or open a webpage).
81 * @param widget parent widget (unused)
82 * @param topic the topic to display
84 void topic_cb(GtkWidget *widget, topic_action_e topic);
86 /** Open a specific topic called from a menu item.
88 * @param widget parent widget (unused)
89 * @param data user_data (unused)
90 * @param topic the topic to display
92 void topic_menu_cb(GtkWidget *widget _U_, gpointer data _U_, topic_action_e topic);
94 /** Check, if a specific topic is available.
96 * @param action the topic action to display
97 * @return TRUE, if topic is available, FALSE if not
99 gboolean topic_available(topic_action_e action);
101 /** Redraw all the help dialog text widgets, to use a new font. */
102 void help_redraw(void);