home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / include / xp_help.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  12.1 KB  |  264 lines

  1. /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18. /* xp_help.h                                                      *
  19.  
  20.  
  21. /*
  22.  *                                                                  *
  23.  * Revision history:                                                *
  24.  *   Author: Edwin Aoki                                             *
  25.  *   Extensive Revision: Kevin Driscoll 3/19/97                     *
  26.  *   Updated ONLY Mail/News entries: Kevin Driscoll 3/21/97         *
  27.  *   Updated to add discussion IDs: Kevin Driscoll 4/22/97          *
  28.  *   Added missing/modified IDs:  Gina Cariga 4/22/97               *
  29.  *   Added offline & help_edit_dict IDs: Kevin Driscoll 4/28/97     *
  30.  *   Added 2 HELP_HTML_MAIL IDs: Kevin Driscoll 4/29/97             *
  31.  *   Fixed 5 wrong component names in helpIDs: Kevin Driscoll 5/7/97*
  32.  *   Fixed 1 and added 1 ID: Kevin Driscoll 5/9/97                  *
  33.  *   Corrected 7 helpside IDs as per Melton: Kevin Driscoll 5/12/97 *
  34.  *   Added 1 new ID for conference: Kevin Driscoll 5/12/97          *
  35.  *   Corrected 2 IDs for offine download: Kevin Driscoll 5/21/97    *
  36.  *******************************************************************/
  37.  
  38. #ifndef XP_HELP_H
  39. #define XP_HELP_H
  40.  
  41.  
  42. /* The main entry point into help for most folks.  This function takes a string
  43.    which represents the component and topic name for a Communicator help topic.
  44.    It prepends the netscape vendor to create a fully-qualified topic name.  If
  45.    an MWContext which represents the current window is available, pass that in,
  46.    otherwise, specify NULL and NetHelp will locate an appropriate context to use.
  47.    In either event, XP_NetHelp then calls NET_LoadNetHelpTopic, below. */
  48.  
  49. extern void
  50. XP_NetHelp(MWContext *pContext, const char *topic);
  51.  
  52.  
  53. /* Called by FEs to load a fully-qualified topic.  This function is implemented in
  54.    libnet/mkhelp.c, but it's extracted here so unrelated FE parts don't have
  55.    to include mkhelp.h */
  56.  
  57. extern void
  58. NET_LoadNetHelpTopic(MWContext *pContext, const char *topic);
  59.  
  60.  
  61. /* These defines correspond to help tags that can be passed to
  62.    XP_NetHelp, above, to invoke nethelp. */
  63.  
  64.  
  65. /* Main product help */
  66.  
  67. #define    HELP_COMMUNICATOR            "home:start_here"
  68.  
  69. /* Address Book Dialogs */
  70.  
  71. #define    HELP_ADDRESS_BOOK                "messengr:ADDRESS_BOOK"
  72. #define    HELP_ADD_LIST_MAILING_LIST        "messengr:ADD_LIST_MAILING_LIST"
  73. #define    HELP_ADD_USER_NETSCAPE_COOLTALK    "messengr:ADD_USER_NETSCAPE_COOLTALK"
  74. #define    HELP_ADD_USER_PROPS            "messengr:ADD_USER_PROPERTIES"
  75. #define    HELP_ADD_USER_SECURITY            "messengr:ADD_USER_SECURITY"
  76. #define    HELP_ADD_USER_CONTACT            "messengr:ADD_USER_CONTACT"
  77. #define    HELP_ADD_USER_NETSCAPE_COOLTALK    "messengr:ADD_USER_NETSCAPE_COOLTALK"
  78. #define    HELP_LDAP_SERVER_PROPS            "messengr:LDAP_SERVER_PROPERTIES"
  79. #define    HELP_EDIT_USER_CALLPOINT        "messengr:ADD_USER_NETSCAPE_COOLTALK"
  80. #define    HELP_EDIT_USER_CONTACT            "messengr:ADD_USER_CONTACT"
  81. #define    HELP_EDIT_USER                "messengr:ADD_USER_PROPERTIES"
  82. #define    HELP_EDIT_USER_SECURITY            "messengr:EDIT_USER_SECURITY"
  83. #define    HELP_MAIL_LIST_PROPS            "messengr:ADD_LIST_MAILING_LIST"
  84. #define    HELP_SEARCH_MAILNEWS            "messengr:SEARCH_MAILNEWS"
  85. #define    HELP_SEARCH_LDAP                "messengr:SEARCH_LDAP"
  86. #define    HELP_SELECT_ADDRESSES            "messengr:SELECT_ADDRESSES"
  87. #define    HELP_SEARCH_ADDRESS_BOOKS        "messengr:SEARCH_ADDRESS_BOOKS"
  88.  
  89. /* Bookmark Dialogs */
  90.  
  91. #define    HELP_BOOKMARK_PROPERTIES    "navigatr:BOOKMARK_PROPERTIES"
  92. #define    HELP_FIND_IN_BOOKMARKS        "navigatr:FIND_IN_BOOKMARKS"
  93.  
  94. /* Browser Dialogs */
  95.  
  96. #define    HELP_OPEN_PAGE            "navigatr:OPEN_PAGE"
  97. #define    HELP_SEARCH_HISTORY_LIST    "navigatr:SEARCH_HISTORY_LIST"
  98.  
  99. /* Conference Dialogs */
  100.  
  101. #define    HELP_ADD_TO_SENDLIST        "confernc:ADD_TO_SENDLIST"
  102. #define    HELP_CANVAS_SIZE            "confernc:CANVAS_SIZE"
  103. #define    HELP_CHAT_FILE_SAVE        "confernc:CHAT_FILE_SAVE"
  104. #define    HELP_COLLAB_BROWSER        "confernc:COLLAB_BROWSER"
  105. #define    HELP_CHAT_ABOUT            "confernc:CONF_CHAT_ABOUT"
  106. #define    HELP_CHAT_EDITLOG            "confernc:CONF_CHAT_EDITLOG"
  107. #define    HELP_CHAT_EDITPAD            "confernc:CONF_CHAT_EDITPAD"
  108. #define    HELP_CONF_FILEX            "confernc:CONF_FILEX_ABOUT"
  109. #define    HELP_CONF_FILERCV            "confernc:CONF_FILEX_FILERCV"
  110. #define    HELP_CONF_FILESND            "confernc:CONF_FILEX_FILESND"
  111. #define    HELP_CONF_WB_ABOUT        "confernc:CONF_WB_ABOUT"
  112. #define    HELP_DIRECT_CALL            "confernc:DIRECT_CALL"
  113. #define    HELP_FILE_INCLUDE            "confernc:FILE_INCLUDE"
  114. #define    HELP_FILE_OPEN            "confernc:FILE_OPEN"
  115. #define    HELP_PROPS_AUDIO            "confernc:PROPERTIES_AUDIO"
  116. #define    HELP_PROPS_AUDIO_ADVANCED    "confernc:PROPERTIES_AUDIO_ADVANCED"
  117. #define    HELP_PROPS_BUSINESS_CARD    "confernc:PROPERTIES_BUSINESS_CARD"
  118. #define    HELP_PROPS_CALL            "confernc:PROPERTIES_CALL"
  119. #define    HELP_PROPS_SPEED_DIAL        "confernc:PROPERTIES_SPEED_DIAL"
  120. #define    HELP_RECORD_VOICEMAIL        "confernc:RECORD_VOICEMAIL"
  121. #define    HELP_SEND_VOICEMAIL        "confernc:SEND_VOICEMAIL"
  122. #define    HELP_WB_FILE_SAVE            "confernc:WB_FILE_SAVE"
  123.  
  124. /* Editor Dialogs */
  125.  
  126. #define    HELP_DOC_PROPS_ADVANCED        "composer:DOCUMENT_PROPERTIES_ADVANCED"
  127. #define    HELP_DOC_PROPS_APPEARANCE    "composer:DOCUMENT_PROPERTIES_APPEARANCE"
  128. #define    HELP_DOC_PROPS_GENERAL        "composer:DOCUMENT_PROPERTIES_GENERAL"
  129. #define    HELP_HTML_TAG            "composer:HTML_TAG"
  130. #define    HELP_NEW_TABLE_PROPS        "composer:NEW_TABLE_PROPERTIES"
  131. #define    HELP_PROPS_CHARACTER        "composer:PROPERTIES_CHARACTER"
  132. #define    HELP_PROPS_HRULE            "composer:PROPERTIES_HRULE"
  133. #define    HELP_PROPS_IMAGE            "composer:PROPERTIES_IMAGE"
  134. #define    HELP_PROPS_IMAGE_ALT        "composer:PROPERTIES_IMAGE_ALT"
  135. #define    HELP_PROPS_LINK            "composer:PROPERTIES_LINK"
  136. #define    HELP_PROPS_PARAGRAPH        "composer:PROPERTIES_PARAGRAPH"
  137. #define    HELP_PROPS_TARGET            "composer:PROPERTIES_TARGET"
  138. #define    HELP_PUBLISH_FILES        "composer:PUBLISH_FILES"
  139. #define    HELP_TABLE_PROPS_CELL        "composer:TABLE_PROPERTIES_CELL"
  140. #define    HELP_TABLE_PROPS_ROW        "composer:TABLE_PROPERTIES_ROW"
  141. #define    HELP_TABLE_PROPS_TABLE        "composer:TABLE_PROPERTIES_TABLE"
  142. #define    HELP_SPELL_CHECK            "composer:SPELL_CHECK"
  143. #define    HELP_IMAGE_CONVERSION        "composer:IMAGE_CONVERSION"
  144. #define    HELP_EXTRA_HTML            "composer:EXTRA_HTML"
  145. #define    HELP_COLOR_PICKER              "composer:COLOR_PICKER"
  146.  
  147. /* Mail Dialogs */
  148.  
  149. #define    HELP_FILTER_RULES                "messengr:FILTER_RULES"
  150. #define    HELP_MAIL_FILTERS                "messengr:MAIL_FILTERS"
  151. #define    HELP_MAIL_FOLDER_PROPS_GENERAL    "messengr:MAIL_FOLDER_PROPERTIES_GENERAL"
  152. #define    HELP_MAIL_FOLDER                "messengr:MAIL_FOLDER"            
  153. #define    HELP_MAIL_NEWS_WIZARD            "messengr:MAIL_NEWS_WIZARD"
  154. #define    HELP_MESSAGE_LIST_WINDOW        "messengr:MESSAGE_LIST_WINDOW"
  155. #define    HELP_MAIL_MESSAGE_WINDOW        "messengr:MAIL_MESSAGE_WINDOW"
  156.  
  157. #define    HELP_HTML_MAIL_QUESTION            "messengr:HTML_MAIL_QUESTION"
  158. #define    HELP_HTML_MAIL_QUESTION_RECIPIENT    "messengr:HTML_MAIL_QUESTION_RECIPIENT"
  159.  
  160. /* Main Preferences: Appearance */
  161.  
  162. #define    HELP_PREFS_APPEARANCE            "navigatr:PREFERENCES_APPEARANCE"
  163. #define    HELP_PREFS_APPEARANCE_FONTS        "navigatr:PREFERENCES_APPEARANCE_FONTS"
  164. #define    HELP_PREFS_APPEARANCE_COLORS        "navigatr:PREFERENCES_APPEARANCE_COLORS"
  165.  
  166. /* Main Preferences: Browser */
  167.  
  168. #define    HELP_PREFS_BROWSER            "navigatr:PREFERENCES_NAVIGATOR"
  169. #define    HELP_PREFS_BROWSER_LANGUAGES        "navigatr:PREFERENCES_NAVIGATOR_LANGUAGES"
  170. #define    HELP_PREFS_BROWSER_APPLICATIONS    "navigatr:PREFERENCES_NAVIGATOR_APPLICATIONS"
  171.  
  172. /* Main Preferences: Mail and Groups */
  173.  
  174. #define    HELP_PREFS_MAILNEWS_MAIN_PANE        "messengr:PREFERENCES_MAILNEWS_MAIN_PANE"
  175. #define    HELP_PREFS_MAILNEWS_IDENTITY        "messengr:PREFERENCES_MAILNEWS_IDENTITY"
  176. #define    HELP_PREFS_MAILNEWS_MESSAGES        "messengr:PREFERENCES_MAILNEWS_MESSAGES"
  177. #define    HELP_PREFS_MAILNEWS_MAILSERVER    "messengr:PREFERENCES_MAILNEWS_MAILSERVER"
  178. #define    HELP_PREFS_MAILNEWS_GROUPSERVER    "messengr:PREFERENCES_MAILNEWS_GROUPSERVER"
  179. #define    HELP_PREFS_MAILNEWS_DIRECTORY        "messengr:PREFERENCES_MAILNEWS_DIRECTORY"
  180. #define    HELP_MAILNEWS_EDIT_CARD            "messengr:MAILNEWS_EDIT_CARD"
  181. #define    HELP_MAILNEWS_EDIT_CARD_NAME_TAB    "messengr:ADD_USER_PROPERTIES"
  182. #define    HELP_MAILNEWS_EDIT_CARD_CONTACT_TAB    "messengr:ADD_USER_CONTACT"
  183. #define    HELP_MAILNEWS_EDIT_CARD_CONFERENCE_CARD    "messengr:ADD_USER_NETSCAPE_COOLTALK"
  184.  
  185. /* Main Preferences: LI */
  186.  
  187. #define    HELP_PREFS_LI_LOGIN            "navigatr:PREFERENCES_NAVIGATOR"
  188. #define    HELP_PREFS_LI_SERVER        "navigatr:PREFERENCES_NAVIGATOR_LANGUAGES"
  189. #define    HELP_PREFS_LI_FILES    "navigatr:PREFERENCES_NAVIGATOR_APPLICATIONS"
  190.  
  191. #ifndef MOZ_MAIL_NEWS
  192. #define  HELP_PREFS_IDENTITY              "navigatr:PREFERENCES_IDENTITY"
  193. #endif /* MOZ_MAIL_NEWS */
  194.  
  195. /* Main Preferences: Composer */
  196.  
  197. #ifdef XP_MAC
  198. #define    HELP_PREFS_COMPOSER                "composer:PREFERENCES_EDITOR_GENERAL"
  199. #define    HELP_PREFS_COMPOSER_PUBLISHING    "composer:PREFERENCES_EDITOR_PUBLISH"
  200. #else
  201. #define    HELP_PREFS_COMPOSER            "messengr:PREFERENCES_COMPOSER"
  202. #define    HELP_PREFS_COMPOSER_PUBLISHING    "messengr:PREFERENCES_COMPOSER_PUBLISHING"
  203. #endif
  204.  
  205. /* Main Preferences: Offline */
  206.  
  207. #define    HELP_PREFS_OFFLINE            "navigatr:PREFERENCES_OFFLINE"
  208. #define    HELP_PREFS_OFFLINE_GROUPS        "navigatr:PREFERENCES_OFFLINE_GROUPS"
  209.  
  210. /* Main Preferences: Advanced */
  211.  
  212. #define    HELP_PREFS_ADVANCED            "navigatr:PREFERENCES_ADVANCED"
  213. #define    HELP_PREFS_ADVANCED_CACHE        "navigatr:PREFERENCES_ADVANCED_CACHE"
  214. #define    HELP_PREFS_ADVANCED_PROXIES        "navigatr:PREFERENCES_ADVANCED_PROXIES"
  215. #define    HELP_PREFS_ADVANCED_DISK_SPACE    "navigatr:PREFERENCES_ADVANCED_DISK_SPACE"
  216.  
  217. /* Main Preferences: Conference */
  218.  
  219. #define    HELP_CONF_PREFS_PROPS_CALL        "home:PROPERTIES_CALL"
  220. #define    HELP_CONF_PREFS_PROPS_AUDIO        "home:PROPERTIES_AUDIO"
  221. #define    HELP_CONF_PREFS_PROPS_BUSINESS_CARD    "home:PROPERTIES_BUSINESS_CARD"
  222.  
  223. /* Editor Preferences */
  224.  
  225. #define    HELP_EDIT_PREFS_EDITOR_APPEARANCE        "composer:PREFERENCES_EDITOR_APPEARANCE"
  226. #define    HELP_EDIT_PREFS_EDITOR_GENERAL        "composer:PREFERENCES_EDITOR_GENERAL"
  227. #define    HELP_EDIT_PREFS_EDITOR_PUBLISH        "composer:PREFERENCES_EDITOR_PUBLISH"
  228. #define    HELP_EDIT_DICTIONARY                "composer:EDIT_DICTIONARY"
  229.  
  230. /* Security Preferences */
  231.  
  232. #define    HELP_SEC_PREFS_SEC_GENERAL            "home:PREFERENCES_SECURITY_GENERAL"
  233. #define    HELP_SEC_PREFS_SEC_PASSWORDS            "home:PREFERENCES_SECURITY_PASSWORDS"
  234. #define    HELP_SEC_PREFS_SEC_PERSONAL_CERTIFICATES    "home:PREFERENCES_SECURITY_PERSONAL_CERTIFICATES"
  235. #define    HELP_SEC_PREFS_SEC_SITE_CERTIFICATES    "home:PREFERENCES_SECURITY_SITE_CERTIFICATES"
  236.  
  237.  
  238. /* Security Advisor Dialogs */
  239.  
  240. #define    HELP_SEC_PASS            "home:SECURITY_ADVISOR_PASSWORDS"
  241. #define    HELP_SEC_PCERT            "home:SECURITY_ADVISOR_PERSONAL_CERTIFICATES"
  242. #define    HELP_SEC_ADV            "home:SECURITY_ADVISOR_SECURITY_ADVISOR"
  243. #define    HELP_SEC_SCERT            "home:SECURITY_ADVISOR_SITE_CERTIFICATES"
  244.  
  245. /* Discussion Dialogs */
  246.  
  247. #define    HELP_NEWS_DISCUSION_GENERAL            "collabra:NEWS_DISCUSSION_GENERAL"
  248. #define    HELP_NEWS_DISCUSION_DOWNLOAD            "collabra:NEWS_DISCUSSION_DOWNLOAD"
  249. #define    HELP_NEWS_DISCUSION_DISKSPACE            "collabra:NEWS_DISCUSSION_DISKSPACE"
  250. #define    HELP_NEWS_NEW_GROUP_SERVER            "collabra:NEWS_NEW_GROUP_SERVER"
  251. #define    HELP_NEWS_ADD_DIRECTORY_SERVER        "collabra:NEWS_ADD_DIRECTORY_SERVER"
  252. #define    HELP_NEWS_DIRECTORY_SERVER_PROPERTY        "collabra:NEWS_DIRECTORY_SERVER_PROPERTY"
  253. #define    HELP_DISCUSSION_HOST_PROPERTIES        "collabra:DISCUSSION_HOST_PROPERTIES"
  254. #define    HELP_SUBSCRIBE_SEARCH                "collabra:SUBSCRIBE_SEARCH"
  255. #define    HELP_SUBSCRIBE_LIST_NEW                "collabra:SUBSCRIBE_LIST_NEW"
  256. #define    HELP_SUBSCRIBE_LIST_ALL                "collabra:SUBSCRIBE_LIST_ALL"
  257. #define    HELP_ADD_SERVER                    "collabra:ADD_SERVER"
  258.  
  259.  
  260. #define    HELP_OFFLINE_DOWNLOAD                "collabra:NEWS_DISCUSSION_DOWNLOAD_OFFLINE"
  261. #define    HELP_OFFLINE_DISCUSSION_GROUPS        "collabra:NEWS_DISCUSSION_GROUPS"
  262.  
  263. #endif
  264.