2000-08-08 12:28:50 +00:00
|
|
|
/* help_dlg.h
|
|
|
|
*
|
2004-07-18 00:24:25 +00:00
|
|
|
* $Id$
|
2000-08-08 12:28:50 +00:00
|
|
|
*
|
2003-01-26 19:35:31 +00:00
|
|
|
* Laurent Deniel <laurent.deniel@free.fr>
|
2000-08-08 12:28:50 +00:00
|
|
|
*
|
2006-05-21 05:12:17 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
2006-05-22 07:29:40 +00:00
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
2000-08-08 12:28:50 +00:00
|
|
|
* Copyright 2000 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.
|
2002-08-28 21:04:11 +00:00
|
|
|
*
|
2000-08-08 12:28:50 +00:00
|
|
|
* 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.
|
2002-08-28 21:04:11 +00:00
|
|
|
*
|
2000-08-08 12:28:50 +00:00
|
|
|
* 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2000-08-11 13:37:21 +00:00
|
|
|
#ifndef __HELP_DLG_H__
|
|
|
|
#define __HELP_DLG_H__
|
|
|
|
|
2004-06-01 17:33:37 +00:00
|
|
|
/** @file
|
|
|
|
* "Help" dialog box.
|
2004-06-04 20:05:31 +00:00
|
|
|
* @ingroup dialog_group
|
2004-06-01 17:33:37 +00:00
|
|
|
*/
|
|
|
|
|
2004-09-16 22:07:03 +00:00
|
|
|
typedef enum {
|
2006-05-28 17:19:08 +00:00
|
|
|
/* pages online at www.wireshark.org */
|
2004-09-16 22:07:03 +00:00
|
|
|
ONLINEPAGE_HOME,
|
2004-09-24 15:41:46 +00:00
|
|
|
ONLINEPAGE_WIKI,
|
2004-09-16 22:07:03 +00:00
|
|
|
ONLINEPAGE_USERGUIDE,
|
|
|
|
ONLINEPAGE_FAQ,
|
|
|
|
ONLINEPAGE_DOWNLOAD,
|
|
|
|
ONLINEPAGE_SAMPLE_FILES,
|
|
|
|
|
|
|
|
/* local manual pages */
|
2006-05-28 17:19:08 +00:00
|
|
|
LOCALPAGE_MAN_WIRESHARK = 100,
|
|
|
|
LOCALPAGE_MAN_WIRESHARK_FILTER,
|
2006-05-31 17:38:42 +00:00
|
|
|
LOCALPAGE_MAN_TSHARK,
|
2006-02-24 23:59:22 +00:00
|
|
|
LOCALPAGE_MAN_DUMPCAP,
|
2004-09-16 22:07:03 +00:00
|
|
|
LOCALPAGE_MAN_MERGECAP,
|
|
|
|
LOCALPAGE_MAN_EDITCAP,
|
2005-01-20 23:17:23 +00:00
|
|
|
LOCALPAGE_MAN_TEXT2PCAP,
|
2004-09-16 22:07:03 +00:00
|
|
|
|
2005-01-20 23:17:23 +00:00
|
|
|
/* help pages (textfiles or local HTML User's Guide) */
|
2004-09-16 22:07:03 +00:00
|
|
|
HELP_CONTENT = 200,
|
2005-01-20 23:17:23 +00:00
|
|
|
HELP_GETTING_STARTED, /* currently unused */
|
2004-09-16 22:07:03 +00:00
|
|
|
HELP_CAPTURE_OPTIONS_DIALOG,
|
|
|
|
HELP_CAPTURE_FILTERS_DIALOG,
|
2005-01-20 23:17:23 +00:00
|
|
|
HELP_DISPLAY_FILTERS_DIALOG,
|
|
|
|
HELP_COLORING_RULES_DIALOG,
|
2008-01-14 16:40:23 +00:00
|
|
|
HELP_CONFIG_PROFILES_DIALOG,
|
2005-01-20 23:17:23 +00:00
|
|
|
HELP_PRINT_DIALOG,
|
|
|
|
HELP_FIND_DIALOG,
|
2005-04-29 14:51:52 +00:00
|
|
|
HELP_FILESET_DIALOG,
|
2005-01-20 23:17:23 +00:00
|
|
|
HELP_GOTO_DIALOG,
|
|
|
|
HELP_CAPTURE_INTERFACES_DIALOG,
|
|
|
|
HELP_ENABLED_PROTOCOLS_DIALOG,
|
|
|
|
HELP_DECODE_AS_DIALOG,
|
|
|
|
HELP_DECODE_AS_SHOW_DIALOG,
|
2008-02-17 21:22:00 +00:00
|
|
|
HELP_FOLLOW_TCP_STREAM_DIALOG,
|
|
|
|
HELP_EXPERT_INFO_DIALOG,
|
2005-01-20 23:17:23 +00:00
|
|
|
HELP_STATS_SUMMARY_DIALOG,
|
|
|
|
HELP_STATS_PROTO_HIERARCHY_DIALOG,
|
|
|
|
HELP_STATS_ENDPOINTS_DIALOG,
|
|
|
|
HELP_STATS_CONVERSATIONS_DIALOG,
|
2006-04-20 20:27:44 +00:00
|
|
|
HELP_STATS_IO_GRAPH_DIALOG,
|
2008-02-14 09:33:57 +00:00
|
|
|
HELP_STATS_WLAN_TRAFFIC_DIALOG,
|
2006-04-20 20:27:44 +00:00
|
|
|
HELP_CAPTURE_INTERFACES_DETAILS_DIALOG,
|
2006-08-24 21:40:53 +00:00
|
|
|
HELP_PREFERENCES_DIALOG,
|
2006-08-30 20:27:12 +00:00
|
|
|
HELP_CAPTURE_INFO_DIALOG,
|
|
|
|
HELP_EXPORT_FILE_DIALOG,
|
|
|
|
HELP_EXPORT_BYTES_DIALOG,
|
2007-03-03 03:14:00 +00:00
|
|
|
HELP_EXPORT_OBJECT_LIST,
|
2006-08-30 20:27:12 +00:00
|
|
|
HELP_OPEN_DIALOG,
|
|
|
|
HELP_MERGE_DIALOG,
|
|
|
|
HELP_SAVE_DIALOG,
|
|
|
|
HELP_EXPORT_FILE_WIN32_DIALOG,
|
|
|
|
HELP_EXPORT_BYTES_WIN32_DIALOG,
|
|
|
|
HELP_OPEN_WIN32_DIALOG,
|
|
|
|
HELP_MERGE_WIN32_DIALOG,
|
|
|
|
HELP_SAVE_WIN32_DIALOG
|
2005-01-20 23:17:23 +00:00
|
|
|
} topic_action_e;
|
2004-09-16 22:07:03 +00:00
|
|
|
|
|
|
|
|
2005-01-20 23:17:23 +00:00
|
|
|
/** Open a specific topic (create a "Help" dialog box or open a webpage).
|
2004-09-16 22:07:03 +00:00
|
|
|
*
|
2005-01-20 23:17:23 +00:00
|
|
|
* @param widget parent widget (unused)
|
|
|
|
* @param topic the topic to display
|
2004-09-16 22:07:03 +00:00
|
|
|
*/
|
2005-01-20 23:17:23 +00:00
|
|
|
void topic_cb(GtkWidget *widget, topic_action_e topic);
|
2004-09-16 22:07:03 +00:00
|
|
|
|
2005-01-20 23:17:23 +00:00
|
|
|
/** Open a specific topic called from a menu item.
|
2004-09-16 22:07:03 +00:00
|
|
|
*
|
|
|
|
* @param widget parent widget (unused)
|
2005-01-20 23:17:23 +00:00
|
|
|
* @param data user_data (unused)
|
|
|
|
* @param topic the topic to display
|
2004-09-16 22:07:03 +00:00
|
|
|
*/
|
2005-07-19 20:46:38 +00:00
|
|
|
void topic_menu_cb(GtkWidget *widget _U_, gpointer data _U_, topic_action_e topic);
|
2004-09-16 22:07:03 +00:00
|
|
|
|
2005-01-20 23:17:23 +00:00
|
|
|
/** Check, if a specific topic is available.
|
2004-09-16 22:07:03 +00:00
|
|
|
*
|
2005-07-19 20:46:38 +00:00
|
|
|
* @param action the topic action to display
|
2005-01-20 23:17:23 +00:00
|
|
|
* @return TRUE, if topic is available, FALSE if not
|
2004-09-16 22:07:03 +00:00
|
|
|
*/
|
2005-01-20 23:17:23 +00:00
|
|
|
gboolean topic_available(topic_action_e action);
|
|
|
|
|
|
|
|
/** Redraw all the help dialog text widgets, to use a new font. */
|
|
|
|
void help_redraw(void);
|
2004-09-16 22:07:03 +00:00
|
|
|
|
2007-02-05 05:06:21 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Open the help dialog and show a specific HTML help page.
|
|
|
|
*/
|
|
|
|
#if (GLIB_MAJOR_VERSION >= 2)
|
|
|
|
void help_topic_html(const gchar *topic);
|
|
|
|
#endif
|
|
|
|
|
2000-08-11 13:37:21 +00:00
|
|
|
#endif
|