--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/csxhelp/data/CsHelp.rss Wed Sep 01 12:30:56 2010 +0100
@@ -0,0 +1,1163 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+* Main resource file for the CsHelp application.
+*
+*
+*/
+
+
+// RESOURCE IDENTIFIER
+NAME HELP // 4 letter ID
+
+// INCLUDES
+#include <eikon.rh>
+#include <eikon.rsg>
+#include <avkon.rsg>
+#include <avkon.rh>
+#include <avkon.mbg>
+#include <e32keys.h>
+#include <cshelp.mbg>
+#include <avkon.loc>
+#include <avkon.hrh>
+
+#include <appinfo.rh>
+
+#include <AiwCommon.rh>
+
+#include <data_caging_paths_strings.hrh>
+
+#include "CsHelp.hrh"
+#include <csxhelp.loc>
+#include "cshelp.laf"
+
+// CONSTANTS
+
+#define DRIVE "Z:"
+#define DIRPATH "\\"
+
+#ifdef RD_APPS_TO_EXES
+#define DIR APP_BITMAP_DIR DIRPATH
+#else
+#define DIR "\\system\\apps\\cshelp\\"
+#endif
+
+#define FILE "cshelp.mbm"
+
+#define FULLPATH DRIVE DIR FILE
+#define qtn_help_icon_bitmap_file FULLPATH
+
+
+// RESOURCE DEFINITIONS
+
+RESOURCE RSS_SIGNATURE
+ {
+ }
+
+RESOURCE TBUF1
+ {
+ }
+
+RESOURCE EIK_APP_INFO
+ {
+ }
+
+
+
+////////////NEW:////////////////////////////////////////
+RESOURCE LOCALISABLE_APP_INFO r_cshelp_localisable_app_info
+ {
+ short_caption = qtn_apps_grid_help; //This is shown in appmenu grid view (Csxhelp.loc)
+ caption_and_icon =
+ CAPTION_AND_ICON_INFO
+ {
+ caption = qtn_apps_ls1_help; //This is shown in appmenu list view (Csxhelp.loc)
+#ifdef __SCALABLE_ICONS
+ number_of_icons = 1;
+#ifdef RD_APPS_TO_EXES
+ icon_file = APP_BITMAP_DIR"\\Cshelp_aif.mif";
+ #else // !RD_APPS_TO_EXES
+ icon_file = "\\System\\Apps\\Cshelp\\Cshelp_aif.mif";
+ #endif // RD_APPS_TO_EXES
+#else
+ number_of_icons = 2;
+#ifdef RD_APPS_TO_EXES
+ icon_file = APP_BITMAP_DIR"\\Cshelp_aif.mbm";
+ #else // !RD_APPS_TO_EXES
+ icon_file = "\\System\\Apps\\Cshelp\\Cshelp_aif.mbm";
+ #endif // RD_APPS_TO_EXES
+#endif
+ };
+ }
+////////////NEW////////////////////////////////////////
+
+///CSX Start
+RESOURCE AVKON_VIEW r_CSXH_toc1
+{
+ menubar = r_CSXH_menubar;
+ cba = r_cshelp_softkeys_options_exit_open;
+}
+
+RESOURCE AVKON_VIEW r_TopicList
+ {
+ menubar = r_CSXH_menubar_TopicList;
+ cba = r_cshelp_softkeys_options_back_open;
+ }
+
+RESOURCE AVKON_VIEW r_KywdTOC1List
+ {
+ menubar = r_CSXH_menubar_KywdTOC1List;
+ cba = r_cshelp_softkeys_options_back_find;
+ }
+
+RESOURCE AVKON_VIEW r_KywdTOC2List
+ {
+ menubar = r_CSXH_menubar_KywdTOC2List;
+ cba = r_cshelp_softkeys_options_back_open;
+ }
+
+RESOURCE AVKON_VIEW r_TopicTextList
+ {
+ menubar = r_CSXH_menubar_TopicTextList;
+ cba = r_cshelp_softkeys_options_back;
+ }
+
+RESOURCE AVKON_VIEW r_cshelp_topicforcontext
+ {
+ menubar = r_CSXH_menubar_TopicTextList;
+ cba = r_cshelp_softkeys_options_close;
+ }
+
+RESOURCE AVKON_VIEW r_cshelp_htmltopicview
+ {
+ menubar = r_CSXH_menubar_htmltopicview;
+ cba = r_cshelp_softkeys_options_back_openlink;
+ }
+
+RESOURCE AVKON_VIEW r_cshelp_htmltopicforcontext
+ {
+ menubar = r_CSXH_menubar_htmltopicview;
+ cba = r_cshelp_softkeys_options_close_openlink;
+ }
+
+
+// ---------------------------------------------------------
+//
+// r_CSXH_menubar
+// Menubar for CSXH example
+//
+// ---------------------------------------------------------
+//
+RESOURCE MENU_BAR r_CSXH_menubar
+ {
+ titles =
+ {
+ MENU_TITLE {menu_pane = r_CSXH_menu;}
+ };
+ }
+
+
+// ---------------------------------------------------------
+//
+// r_CSXH_menu
+// Menu for "Options"
+//
+// ---------------------------------------------------------
+//
+RESOURCE MENU_PANE r_CSXH_menu
+ {
+ items =
+ {
+ MENU_ITEM {command = ECSXHOpenItem; txt = qtn_help_om_open_category; flags = EEikMenuItemAction;},
+ MENU_ITEM {command = ECSXHSearchText; txt = qtn_help_om_search_xhtml;},
+ MENU_ITEM {command = EAknSoftkeyExit; txt = qtn_options_exit;}
+ };
+ }
+
+
+
+//----------------------------------------------------
+//
+// r_cshelpsoftkey_cba_options_back
+// Define cba for Context View
+//
+//----------------------------------------------------
+//
+//TSW Error:EAJA-6XLFTW :
+//S60 3.2 Help: Selection key opens Option menu in Topic view
+//If MSK is not defined, "." appears in the MSK,
+//On Middle key press, Options menu items are shown to the user
+RESOURCE CBA r_cshelp_softkeys_options_back
+ {
+ buttons =
+ {
+ AVKON_CBA_BUTTON
+ {
+ id = EAknSoftkeyOptions;
+ txt = text_softkey_option;
+ },
+ AVKON_CBA_BUTTON
+ {
+ id = EAknSoftkeyBack;
+ txt = text_softkey_back;
+ },
+ AVKON_CBA_BUTTON
+ {
+ id = ECSXHDummyMSK;
+ txt = "";
+ }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_cshelpsoftkey_cba_options_close
+// Define cba for Context View
+//
+//----------------------------------------------------
+//
+//TSW Error:EAJA-6XLFTW :
+//S60 3.2 Help: Selection key opens Option menu in Topic view
+//If MSK is not defined, "." appears in the MSK,
+//On Middle key press, Options menu items are shown to the user
+RESOURCE CBA r_cshelp_softkeys_options_close
+ {
+ buttons =
+ {
+ AVKON_CBA_BUTTON
+ {
+ id = EAknSoftkeyOptions;
+ txt = text_softkey_option;
+ },
+ AVKON_CBA_BUTTON
+ {
+ id = EAknSoftkeyClose;
+ txt = text_softkey_close;
+ },
+ AVKON_CBA_BUTTON
+ {
+ id = ECSXHDummyMSK;
+ txt = "";
+ }
+ };
+ }
+
+RESOURCE CBA r_cshelp_softkeys_options_close_openlink
+ {
+ buttons =
+ {
+ AVKON_CBA_BUTTON
+ {
+ id = EAknSoftkeyOptions;
+ txt = text_softkey_option;
+ },
+ AVKON_CBA_BUTTON
+ {
+ id = EAknSoftkeyClose;
+ txt = text_softkey_close;
+ },
+ AVKON_CBA_BUTTON
+ {
+ id = ECSXHOpenHyperLink;
+ txt = qtn_help_msk_open_hyperlink;
+ }
+ };
+ }
+
+
+RESOURCE CBA r_cshelp_softkeys_options_back_open
+ {
+ buttons =
+ {
+ AVKON_CBA_BUTTON
+ {
+ id = EAknSoftkeyOptions;
+ txt = text_softkey_option;
+ },
+ AVKON_CBA_BUTTON
+ {
+ id = EAknSoftkeyBack;
+ txt = text_softkey_back;
+ },
+ AVKON_CBA_BUTTON
+ {
+ id = ECSXHOpenTopicText;
+ txt = qtn_msk_open;
+ }
+ };
+ }
+
+RESOURCE CBA r_cshelp_softkeys_options_exit_open
+ {
+ buttons =
+ {
+ AVKON_CBA_BUTTON
+ {
+ id = EAknSoftkeyOptions;
+ txt = text_softkey_option;
+ },
+ AVKON_CBA_BUTTON
+ {
+ id = EAknSoftkeyExit;
+ txt = text_softkey_exit;
+ },
+ AVKON_CBA_BUTTON
+ {
+ id = ECSXHOpenTopicText;
+ txt = qtn_msk_open;
+ }
+ };
+ }
+RESOURCE CBA r_cshelp_softkeys_options_exit_find
+ {
+ buttons =
+ {
+ AVKON_CBA_BUTTON
+ {
+ id = EAknSoftkeyOptions;
+ txt = text_softkey_option;
+ },
+ AVKON_CBA_BUTTON
+ {
+ id = EAknSoftkeyExit;
+ txt = text_softkey_exit;
+ },
+ AVKON_CBA_BUTTON
+ {
+ id = ECSXHOpenTopicText;
+ txt = qtn_help_msk_find;
+ }
+ };
+ }
+
+RESOURCE CBA r_cshelp_softkeys_options_back_find
+ {
+ buttons =
+ {
+ AVKON_CBA_BUTTON
+ {
+ id = EAknSoftkeyOptions;
+ txt = text_softkey_option;
+ },
+ AVKON_CBA_BUTTON
+ {
+ id = EAknSoftkeyBack;
+ txt = text_softkey_back;
+ },
+ AVKON_CBA_BUTTON
+ {
+ id = ECSXHOpenTopicText;
+ txt = qtn_help_msk_find;
+ }
+ };
+ }
+// ---------------------------------------------------------
+//
+// r_CSXH_menubar
+// Menubar for CsXHelp example
+//
+// ---------------------------------------------------------
+//
+RESOURCE MENU_BAR r_CSXH_menubar_TopicList
+ {
+ titles =
+ {
+ MENU_TITLE {menu_pane = r_CSXH_menu_TopicList;}
+ };
+ }
+
+RESOURCE MENU_BAR r_CSXH_menubar_KywdTOC1List
+ {
+ titles =
+ {
+ MENU_TITLE {menu_pane = r_CSXH_menu_KywdTOC1List;}
+ };
+ }
+
+RESOURCE MENU_BAR r_CSXH_menubar_KywdTOC2List
+ {
+ titles =
+ {
+ MENU_TITLE {menu_pane = r_CSXH_menu_KywdTOC2List;}
+ };
+ }
+
+
+// ---------------------------------------------------------
+//
+// r_CSXH_menu
+// Menu for "Options"
+//
+// ---------------------------------------------------------
+//
+RESOURCE MENU_PANE r_CSXH_menu_TopicList
+ {
+ items =
+ {
+ MENU_ITEM {command = ECSXHOpenTopicText; txt = qtn_help_om_open_topic;flags = EEikMenuItemAction;},
+ MENU_ITEM {command = ECSXHTOC1ListView; txt = qtn_help_om_help_contents;},
+ MENU_ITEM {command = ECSXHSearchText; txt = qtn_help_om_search_xhtml;},
+ MENU_ITEM {command = EAknSoftkeyExit; txt = qtn_options_exit;}
+ };
+ }
+
+RESOURCE MENU_PANE r_CSXH_menu_KywdTOC1List
+ {
+ items =
+ {
+ MENU_ITEM {command = ECSXHOpenTopicText; txt = qtn_help_om_find_topics; flags = EEikMenuItemAction;},
+ MENU_ITEM {command = ECSXHTOC1ListView; txt = qtn_help_om_help_contents;},
+ MENU_ITEM {command = EAknSoftkeyExit; txt = qtn_options_exit;}
+ };
+ }
+
+RESOURCE MENU_PANE r_CSXH_menu_KywdTOC2List
+ {
+ items =
+ {
+ MENU_ITEM {command = ECSXHOpenTopicText; txt = qtn_help_om_open_topic; flags = EEikMenuItemAction;},
+ MENU_ITEM {command = ECSXHTOC1ListView; txt = qtn_help_om_help_contents;},
+ MENU_ITEM {command = ECSXHSearchText; txt = qtn_help_om_search_xhtml;},
+ MENU_ITEM {command = EAknSoftkeyExit; txt = qtn_options_exit;}
+ };
+ }
+
+
+
+
+
+// ---------------------------------------------------------
+//
+// r_CSXH_menubar
+// Menubar for CsXHelp example
+//
+// ---------------------------------------------------------
+//
+RESOURCE MENU_BAR r_CSXH_menubar_htmltopicview
+ {
+ titles =
+ {
+ MENU_TITLE {menu_pane = r_CSXH_menu_htmltopicview;}
+ };
+ }
+
+
+// ---------------------------------------------------------
+//
+// r_CSXH_menubar
+// Menubar for CsXHelp example
+//
+// ---------------------------------------------------------
+//
+RESOURCE MENU_BAR r_CSXH_menubar_TopicTextList
+ {
+ titles =
+ {
+ MENU_TITLE {menu_pane = r_CSXH_menu_TopicTextList;}
+ };
+ }
+
+
+// ---------------------------------------------------------
+//
+// r_CSXH_menu
+// Menu for "Options"
+//
+// ---------------------------------------------------------
+//
+RESOURCE MENU_PANE r_CSXH_menu_htmltopicview
+ {
+ items =
+ {
+ MENU_ITEM {command = ECSXHOpenHyperLink; txt = qtn_help_om_open_hyperlink;},
+ MENU_ITEM {command = ECSXHOpenApplicationTopics; txt = qtn_help_om_application_topics;},
+ MENU_ITEM {command = ECSXHTOC1ListView; txt = qtn_help_om_help_contents;},
+ MENU_ITEM {command = ECSXHSearchText; txt = qtn_help_om_search_xhtml;},
+ MENU_ITEM { command=ECsHelpCmdFontLarge; txt=qtn_help_om_increase_text; },
+ MENU_ITEM { command=ECsHelpCmdFontSmall; txt=qtn_help_om_decrease_text; },
+ MENU_ITEM {command = EAknSoftkeyExit; txt = qtn_options_exit;}
+ };
+ }
+
+// ---------------------------------------------------------
+//
+// r_CSXH_menu
+// Menu for "Options"
+//
+// ---------------------------------------------------------
+//
+RESOURCE MENU_PANE r_CSXH_menu_TopicTextList
+ {
+ items =
+ {
+ MENU_ITEM {command = ECSXHOpenApplicationTopics; txt = qtn_help_om_application_topics;},
+ MENU_ITEM {command = ECSXHTOC1ListView; txt = qtn_help_om_help_contents;},
+ MENU_ITEM {command = ECSXHSearchText; txt = qtn_help_om_search_xhtml;},
+ MENU_ITEM {command = EAknSoftkeyExit; txt = qtn_options_exit;}
+ };
+ }
+
+// ---------------------------------------------------------
+//
+// r_type_no_help_topics
+// when a other app launches help, no topic is available,
+// then information note with this text is displayed.
+// ---------------------------------------------------------
+//
+
+RESOURCE TBUF r_type_no_help_topics
+ {
+ buf = qtn_help_note_no_topics;
+ }
+
+// ---------------------------------------------------------
+//
+// r_type_no_help_topics
+// when help is unable to launch another application,
+// then information note with this text is displayed.
+// ---------------------------------------------------------
+//
+
+RESOURCE TBUF r_qtn_help_note_unable_to_launch_app
+ {
+ buf = qtn_help_note_unable_launch;
+ }
+
+// ---------------------------------------------------------
+//
+// r_type_no_help_topics
+// when help is unable to launch another application,
+// then information note with this text is displayed.
+// ---------------------------------------------------------
+//
+
+RESOURCE TBUF r_qtn_help_note_app_launch_not_allowed
+ {
+ buf = qtn_help_note_no_internet;
+ }
+
+//----------------------------------------------------
+//
+// r_cshelp_categorylist
+// Define menubar and cba for Category List View
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_cshelp_categorylist
+ {
+ menubar = r_cshelp_menubar_categorylist;
+ cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
+ }
+
+//----------------------------------------------------
+//
+// r_cshelp_topiclist
+// Define menubar and cba for Topic List View
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_cshelp_topiclist
+ {
+ menubar = r_cshelp_menubar_topiclist;
+ cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
+ }
+
+
+//----------------------------------------------------
+//
+// r_cshelp_topiclist
+// Define menubar and cba for HTML Topic View
+//
+//----------------------------------------------------
+//
+
+
+RESOURCE CBA r_cshelp_softkeys_options_back_openlink
+ {
+ buttons =
+ {
+ AVKON_CBA_BUTTON
+ {
+ id = EAknSoftkeyOptions;
+ txt = text_softkey_option;
+ },
+ AVKON_CBA_BUTTON
+ {
+ id = EAknSoftkeyBack;
+ txt = text_softkey_back;
+ },
+ AVKON_CBA_BUTTON
+ {
+ id = ECSXHOpenHyperLink;
+ txt = qtn_help_msk_open_hyperlink;
+ }
+ };
+ }
+
+
+//----------------------------------------------------
+//
+// r_cshelp_topic
+// Define menubar and cba for Topic View
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_cshelp_topic
+ {
+ menubar = r_cshelp_menubar_topic;
+ cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
+ }
+
+//----------------------------------------------------
+//
+// r_cshelp_topicforsearch
+// Define menubar and cba for Topic View For Search
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_cshelp_topicforsearch
+ {
+ menubar = r_cshelp_menubar_topic;
+ cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
+ }
+
+//----------------------------------------------------
+//
+// r_cshelp_search
+// Define menubar and cba for Search View
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_cshelp_search
+ {
+ menubar = r_cshelp_menubar_search;
+ cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
+ }
+
+//----------------------------------------------------
+//
+// r_cshelp_searchresult
+// Define menubar and cba for Search Result View
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_cshelp_searchresult
+ {
+ menubar = r_cshelp_menubar_searchresult;
+ cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
+ }
+
+
+//----------------------------------------------------
+//
+// r_cshelp_menubar_categorylist
+// Menubar for Category List View
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_BAR r_cshelp_menubar_categorylist
+ {
+ titles =
+ {
+ MENU_TITLE
+ {
+ menu_pane = r_cshelp_categorylist_menu;
+ }
+ };
+ }
+
+
+//----------------------------------------------------
+//
+// r_cshelp_menubar_topiclist
+// Menubar for Topic List View
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_BAR r_cshelp_menubar_topiclist
+ {
+ titles =
+ {
+ MENU_TITLE
+ {
+ menu_pane = r_cshelp_topiclist_menu;
+ }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_cshelp_menubar_topic
+// Menubar for Topic View
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_BAR r_cshelp_menubar_topic
+ {
+ titles =
+ {
+ MENU_TITLE
+ {
+ menu_pane = r_cshelp_topic_menu;
+ }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_cshelp_menubar_search
+// Menubar for Search View
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_BAR r_cshelp_menubar_search
+ {
+ titles =
+ {
+ MENU_TITLE
+ {
+ menu_pane = r_cshelp_search_menu;
+ }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_cshelp_menubar_searchresult
+// Menubar for Search Result View
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_BAR r_cshelp_menubar_searchresult
+ {
+ titles =
+ {
+ MENU_TITLE
+ {
+ menu_pane = r_cshelp_searchresult_menu;
+ }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_cshelp_categorylist_menu
+// Menu pane for Category List View
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_PANE r_cshelp_categorylist_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = ECsHelpCmdViewTopicList;
+ txt = qtn_help_om_open_category;
+ },
+ MENU_ITEM
+ {
+ command = ECsHelpCmdViewSearch;
+ txt = qtn_help_om_search;
+ },
+ MENU_ITEM
+ {
+ command = EAknCmdExit;
+ txt = qtn_options_exit;
+ }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_cshelp_topiclist_menu
+// Menu pane for Topic List View
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_PANE r_cshelp_topiclist_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = ECsHelpCmdViewTopic;
+ txt = qtn_help_om_open_topic;
+ },
+ MENU_ITEM
+ {
+ command = ECsHelpCmdViewCategoryList;
+ txt = qtn_help_om_category_list;
+ },
+ MENU_ITEM
+ {
+ command = ECsHelpCmdViewSearch;
+ txt = qtn_help_om_search;
+ },
+ MENU_ITEM
+ {
+ command = EAknCmdExit;
+ txt = qtn_options_exit;
+ }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_cshelp_topic_menu
+// Menu pane for Topic View
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_PANE r_cshelp_topic_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = ECsHelpCmdViewTopicList;
+ txt = qtn_help_om_topic_list;
+ },
+ MENU_ITEM
+ {
+ command = ECsHelpCmdViewCategoryList;
+ txt = qtn_help_om_category_list;
+ },
+ MENU_ITEM
+ {
+ command = ECsHelpCmdViewSearch;
+ txt = qtn_help_om_search;
+ },
+ MENU_ITEM
+ {
+ command = EAknCmdExit;
+ txt = qtn_options_exit;
+ }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_cshelp_search_menu
+// Menu pane for Search View
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_PANE r_cshelp_search_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = ECsHelpCmdViewSearchResult;
+ txt = qtn_help_om_find_topics;
+ },
+ MENU_ITEM
+ {
+ command = ECsHelpCmdViewCategoryList;
+ txt = qtn_help_om_category_list;
+ },
+ MENU_ITEM
+ {
+ command = EAknCmdExit;
+ txt = qtn_options_exit;
+ }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_cshelp_searchresult_menu
+// Menu pane for Search Result View
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_PANE r_cshelp_searchresult_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = ECsHelpCmdViewTopicForSearch;
+ txt = qtn_help_om_open_topic;
+ },
+ MENU_ITEM
+ {
+ command = ECsHelpCmdViewCategoryList;
+ txt = qtn_help_om_category_list;
+ },
+ MENU_ITEM
+ {
+ command = ECsHelpCmdViewSearch;
+ txt = qtn_help_om_search;
+ },
+ MENU_ITEM
+ {
+ command = EAknCmdExit;
+ txt = qtn_options_exit;
+ }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_cshelp_context_menu
+// Menu pane for Search Result View
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_PANE r_cshelp_context_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = ECsHelpCmdViewTopicForContext;
+ txt = qtn_help_om_open_topic;
+ },
+ MENU_ITEM
+ {
+ command = ECsHelpCmdViewCategoryList;
+ txt = qtn_help_om_category_list;
+ },
+ MENU_ITEM
+ {
+ command = ECsHelpCmdViewSearch;
+ txt = qtn_help_om_search;
+ },
+ MENU_ITEM
+ {
+ command = EAknCmdExit;
+ txt = qtn_options_exit;
+ }
+ };
+ }
+
+
+// ---------------------------------------------------------
+//
+// r_cshelp_search_category_tabs
+// Tab groups for navi pane of Search View and Category View
+//
+// ---------------------------------------------------------
+//
+RESOURCE TAB_GROUP r_cshelp_search_category_tabs
+ {
+ tab_width = EAknTabWidthWithTwoTabs; // two tabs
+ tabs =
+ {
+ TAB
+ {
+ id = ECsHelpCategoryTab;
+ bmpfile = qtn_help_icon_bitmap_file;
+ bmpid = EMbmCshelpQgn_prop_folder_tab2;
+ bmpmask = EMbmCshelpQgn_prop_folder_tab2_mask;
+ },
+ TAB
+ {
+ id = ECsHelpSearchTab;
+ bmpfile = qtn_help_icon_bitmap_file;
+ bmpid = EMbmCshelpQgn_prop_list_keyword_tab2;
+ bmpmask = EMbmCshelpQgn_prop_list_keyword_tab2_mask;
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+//
+// r_cshelp_search_progress_note
+// Define progress note for searcing in search result view
+//
+// ---------------------------------------------------------
+//
+RESOURCE DIALOG r_cshelp_search_progress_note
+ {
+ flags = EAknProgressNoteFlags;
+ buttons = R_AVKON_SOFTKEYS_EMPTY;
+ items =
+ {
+ DLG_LINE
+ {
+ type=EAknCtNote;
+ id=EProgressNote;
+
+ control= AVKON_NOTE
+ {
+ layout = EProgressLayout;
+ singular_label = qtn_help_noteg_searching;
+ };
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+//
+// r_cshelp_install_uninstall_note
+// Define information flag for notifying installation
+//
+// ---------------------------------------------------------
+//
+RESOURCE DIALOG r_cshelp_install_uninstall_note
+ {
+ flags = EAknInformationNoteFlags;
+ buttons = R_AVKON_SOFTKEYS_EMPTY;
+ items =
+ {
+ DLG_LINE
+ {
+ type=EAknCtNote;
+ id=EInstallNote;
+
+ control= AVKON_NOTE
+ {
+ layout = EGeneralLayout;
+ singular_label = qtn_help_noteg_install;
+ };
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+//
+// r_qtn_help_title_help
+// Define title of category list view.
+//
+// ---------------------------------------------------------
+//
+RESOURCE TBUF32 r_qtn_help_title_help
+ {
+ buf = qtn_help_title_help;
+ }
+
+// ---------------------------------------------------------
+//
+// r_qtn_help_note_no_topics
+// when a other app launches help, no topic is available,
+// then information note with this text is displayed.
+// ---------------------------------------------------------
+//
+RESOURCE TBUF80 r_qtn_help_note_no_topics
+ {
+ buf = qtn_help_note_no_topics;
+ }
+
+
+RESOURCE CBA r_softkeys_options_exit__options
+ {
+ buttons =
+ {
+ CBA_BUTTON {id=EAknSoftkeyOptions; txt = "Options";},
+ CBA_BUTTON {id=EAknSoftkeyExit; txt = "Exit"; },
+ CBA_BUTTON {id=EAknSoftkeyOptions; txt = "Options";}
+ };
+ }
+
+////////////////////////////////////////////////////////////////
+//[FIXME: The resource r_cshelp_topic_view_layout
+// is not used anymore. Instead TAknMultiLineTextLayout is used
+// (in CCsHelpTopicContainer::SizeChanged and
+// inCCsHelpTopicContainer::GetTextFormatL)
+// ---------------------------------------------------------
+//
+// r_cshelp_topic_view_layout
+// Define layout of topic view.
+//
+// ---------------------------------------------------------
+//
+/*************************************************
+RESOURCE AVKON_LAYOUT_EDWIN r_cshelp_topic_view_layout
+ {
+ font = topic_view_font; //ELatinPlain12
+ C = topic_view_C; //215
+ l = topic_view_l; //4
+ r = topic_view_r; //5
+ B = topic_view_B; //21
+ W = topic_view_W; //167
+ J = topic_view_J; //ELayoutAlignBidi
+ lines = topic_view_lines; //8
+ nextB = topic_view_nextB; //37
+ }
+****************************************************/
+
+// To let know what are the services that are provided
+RESOURCE AIW_INTEREST r_aiwtutorialapp_interest
+{
+ items =
+ {
+ AIW_CRITERIA_ITEM
+ {
+ id = ECmdAiwPlaceHolder;
+ serviceCmd = KAiwCmdHelp;
+ serviceClass = KAiwClassMenu;
+ contentType = "help/tutorial";
+ defaultProvider = 0x10281D09;
+ maxProviders = 1;
+ },
+ AIW_CRITERIA_ITEM
+ {
+ id = KPresentationExists; // Use service cmd id as id
+ serviceCmd = KPresentationExists;
+ serviceClass = KAiwClassMenu;
+ contentType = "help/tutorial";
+ defaultProvider = 0x10281D09;
+ maxProviders = 1;
+ },
+ AIW_CRITERIA_ITEM
+ {
+ id = KPlayPresentation;
+ serviceCmd = KPlayPresentation;
+ serviceClass = KAiwClassMenu;
+ contentType = "help/tutorial";
+ defaultProvider = 0x10281D09;
+ maxProviders = 1;
+ }
+ };
+}
+// ---------------------------------------------------------
+//
+// qtn_memlo_ram_out_of_mem
+// Text to display for low memory situations.
+//
+// ---------------------------------------------------------
+RESOURCE TBUF256 r_cshelp_retrieve_no_memory_text
+ {
+ buf = qtn_memlo_ram_out_of_mem;
+ }
+
+#ifdef FF_HELP_TUTORIAL_MERGE
+// ---------------------------------------------------------
+//
+// qtn_memlo_ram_out_of_mem
+// Text to display for low memory situations.
+//
+// ---------------------------------------------------------
+RESOURCE TBUF256 r_cshelp_tutorial_text
+ {
+ buf = qtn_help_toc_list_item_tutorial;
+ }
+#endif
+
+// ---------------------------------------------------------
+//
+// qtn_help_toc_app_helps
+// One topic indicates for a collection of post-build helps,
+// all installed helps should be put within it
+// ---------------------------------------------------------
+//
+RESOURCE TBUF80 r_cshelp_toc_app_helps
+ {
+ buf = qtn_help_toc_app_helps;
+ }
+
+// End of File