csxhelp/data/CsHelp.rss
changeset 0 1f04cf54edd8
child 5 d06b1526f62c
equal deleted inserted replaced
-1:000000000000 0:1f04cf54edd8
       
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *     Main resource file for the CsHelp application.
       
    16 *
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 //  RESOURCE IDENTIFIER
       
    22 NAME  HELP // 4 letter ID
       
    23 
       
    24 //  INCLUDES
       
    25 #include <eikon.rh>
       
    26 #include <eikon.rsg>
       
    27 #include <avkon.rsg>
       
    28 #include <avkon.rh>
       
    29 #include <avkon.mbg>
       
    30 #include <e32keys.h>
       
    31 #include <cshelp.mbg>
       
    32 #include <avkon.loc>
       
    33 #include <avkon.hrh>
       
    34 
       
    35 #include <appinfo.rh>
       
    36 
       
    37 #include <AiwCommon.rh>
       
    38 
       
    39 #include <data_caging_paths_strings.hrh>
       
    40 
       
    41 #include "CsHelp.hrh"
       
    42 #include <csxhelp.loc>
       
    43 #include "cshelp.laf"
       
    44 
       
    45 //  CONSTANTS  
       
    46 
       
    47 #define DRIVE "Z:"
       
    48 #define DIRPATH "\\"
       
    49 
       
    50 #ifdef RD_APPS_TO_EXES
       
    51 #define DIR APP_BITMAP_DIR DIRPATH 
       
    52 #else
       
    53 #define DIR "\\system\\apps\\cshelp\\"
       
    54 #endif
       
    55 
       
    56 #define FILE "cshelp.mbm"  
       
    57 
       
    58 #define FULLPATH DRIVE DIR FILE
       
    59 #define qtn_help_icon_bitmap_file   FULLPATH
       
    60 
       
    61 
       
    62 //  RESOURCE DEFINITIONS 
       
    63 
       
    64 RESOURCE RSS_SIGNATURE
       
    65     {
       
    66     }
       
    67 
       
    68 RESOURCE TBUF1
       
    69     {
       
    70     }
       
    71 
       
    72 RESOURCE EIK_APP_INFO
       
    73     {
       
    74     }
       
    75 
       
    76 
       
    77 
       
    78 ////////////NEW:////////////////////////////////////////
       
    79 RESOURCE LOCALISABLE_APP_INFO r_cshelp_localisable_app_info
       
    80     {
       
    81     short_caption = qtn_apps_grid_help;   //This is shown in appmenu grid view (Csxhelp.loc)
       
    82     caption_and_icon = 
       
    83     CAPTION_AND_ICON_INFO
       
    84         {
       
    85         caption = qtn_apps_ls1_help;		//This is shown in appmenu list view (Csxhelp.loc)
       
    86 #ifdef __SCALABLE_ICONS
       
    87         number_of_icons = 1;
       
    88 #ifdef RD_APPS_TO_EXES
       
    89         icon_file = APP_BITMAP_DIR"\\Cshelp_aif.mif";
       
    90  #else // !RD_APPS_TO_EXES
       
    91         icon_file = "\\System\\Apps\\Cshelp\\Cshelp_aif.mif";
       
    92  #endif // RD_APPS_TO_EXES
       
    93 #else
       
    94         number_of_icons = 2;
       
    95 #ifdef RD_APPS_TO_EXES
       
    96         icon_file = APP_BITMAP_DIR"\\Cshelp_aif.mbm";
       
    97  #else // !RD_APPS_TO_EXES
       
    98         icon_file = "\\System\\Apps\\Cshelp\\Cshelp_aif.mbm";
       
    99  #endif // RD_APPS_TO_EXES
       
   100 #endif
       
   101         };
       
   102     }
       
   103 ////////////NEW////////////////////////////////////////
       
   104 
       
   105 ///CSX Start
       
   106 RESOURCE AVKON_VIEW r_CSXH_toc1
       
   107 {
       
   108 	menubar = r_CSXH_menubar;
       
   109     cba = r_cshelp_softkeys_options_exit_open;
       
   110 }
       
   111 
       
   112 RESOURCE AVKON_VIEW r_TopicList
       
   113     {
       
   114     menubar = r_CSXH_menubar_TopicList;
       
   115     cba = r_cshelp_softkeys_options_back_open;
       
   116     }
       
   117 
       
   118 RESOURCE AVKON_VIEW r_KywdTOC1List
       
   119     {
       
   120     menubar = r_CSXH_menubar_KywdTOC1List;
       
   121     cba = r_cshelp_softkeys_options_exit_find;
       
   122     }
       
   123 
       
   124 RESOURCE AVKON_VIEW r_KywdTOC2List
       
   125     {
       
   126     menubar = r_CSXH_menubar_KywdTOC2List;
       
   127     cba = r_cshelp_softkeys_options_back_open;
       
   128     }
       
   129 
       
   130 RESOURCE AVKON_VIEW r_TopicTextList
       
   131     {
       
   132     menubar = r_CSXH_menubar_TopicTextList;
       
   133     cba = r_cshelp_softkeys_options_back;
       
   134     }
       
   135     
       
   136 RESOURCE AVKON_VIEW r_cshelp_topicforcontext
       
   137     {
       
   138     menubar = r_CSXH_menubar_TopicTextList;
       
   139     cba = r_cshelp_softkeys_options_close;
       
   140     }
       
   141 
       
   142 RESOURCE AVKON_VIEW r_cshelp_htmltopicview
       
   143     {
       
   144     menubar = r_CSXH_menubar_htmltopicview;  
       
   145     cba = r_cshelp_softkeys_options_back_openlink;
       
   146     }
       
   147 
       
   148 RESOURCE AVKON_VIEW r_cshelp_htmltopicforcontext
       
   149     {
       
   150     menubar = r_CSXH_menubar_htmltopicview;
       
   151     cba = r_cshelp_softkeys_options_close_openlink;
       
   152     }
       
   153 
       
   154 
       
   155 // ---------------------------------------------------------
       
   156 //   
       
   157 //   r_CSXH_menubar
       
   158 //   Menubar for CSXH example
       
   159 //
       
   160 // ---------------------------------------------------------
       
   161 //
       
   162 RESOURCE MENU_BAR r_CSXH_menubar
       
   163     {
       
   164     titles =
       
   165         {
       
   166         MENU_TITLE {menu_pane = r_CSXH_menu;}
       
   167         };
       
   168     }
       
   169 
       
   170 
       
   171 // ---------------------------------------------------------
       
   172 //   
       
   173 //   r_CSXH_menu
       
   174 //   Menu for "Options"
       
   175 //
       
   176 // ---------------------------------------------------------
       
   177 //
       
   178 RESOURCE MENU_PANE r_CSXH_menu
       
   179     {
       
   180     items = 
       
   181         {
       
   182         MENU_ITEM {command = ECSXHOpenItem;  txt = qtn_help_om_open_category; flags = EEikMenuItemAction;},
       
   183         MENU_ITEM {command = ECSXHSearchText;  txt = qtn_help_om_search_xhtml;},                
       
   184         MENU_ITEM {command = EAknSoftkeyExit;   txt = qtn_options_exit;}
       
   185         };
       
   186     }
       
   187 
       
   188 
       
   189 
       
   190 //----------------------------------------------------
       
   191 //   
       
   192 //    r_cshelpsoftkey_cba_options_back
       
   193 //    Define cba for Context View
       
   194 //
       
   195 //----------------------------------------------------
       
   196 //
       
   197 //TSW Error:EAJA-6XLFTW :
       
   198 //S60 3.2 Help: Selection key opens Option menu in Topic view 
       
   199 //If MSK is not defined, "." appears in the MSK, 
       
   200 //On Middle key press, Options menu items are shown to the user 
       
   201 RESOURCE CBA r_cshelp_softkeys_options_back
       
   202     {
       
   203     buttons =
       
   204         {
       
   205         AVKON_CBA_BUTTON
       
   206             {
       
   207             id = EAknSoftkeyOptions;
       
   208             txt = text_softkey_option;
       
   209             },
       
   210         AVKON_CBA_BUTTON
       
   211             {
       
   212             id = EAknSoftkeyBack;
       
   213             txt = text_softkey_back;
       
   214             },
       
   215         AVKON_CBA_BUTTON
       
   216             {
       
   217             id = ECSXHDummyMSK;
       
   218             txt = "";
       
   219             }    
       
   220         };
       
   221     }
       
   222         
       
   223 //----------------------------------------------------
       
   224 //   
       
   225 //    r_cshelpsoftkey_cba_options_close
       
   226 //    Define cba for Context View
       
   227 //
       
   228 //----------------------------------------------------
       
   229 //
       
   230 //TSW Error:EAJA-6XLFTW :
       
   231 //S60 3.2 Help: Selection key opens Option menu in Topic view 
       
   232 //If MSK is not defined, "." appears in the MSK, 
       
   233 //On Middle key press, Options menu items are shown to the user 
       
   234 RESOURCE CBA r_cshelp_softkeys_options_close
       
   235     {
       
   236     buttons =
       
   237         {
       
   238         AVKON_CBA_BUTTON
       
   239             {
       
   240             id = EAknSoftkeyOptions;
       
   241             txt = text_softkey_option;
       
   242             },
       
   243         AVKON_CBA_BUTTON
       
   244             {
       
   245             id = EAknSoftkeyClose;
       
   246             txt = text_softkey_close;
       
   247             },
       
   248         AVKON_CBA_BUTTON
       
   249             {
       
   250             id = ECSXHDummyMSK;
       
   251             txt = "";
       
   252             }    
       
   253         };
       
   254     }
       
   255 
       
   256 RESOURCE CBA r_cshelp_softkeys_options_close_openlink
       
   257     {
       
   258     buttons =
       
   259         {
       
   260         AVKON_CBA_BUTTON
       
   261             {
       
   262             id = EAknSoftkeyOptions;
       
   263             txt = text_softkey_option;
       
   264             },
       
   265         AVKON_CBA_BUTTON
       
   266             {
       
   267             id = EAknSoftkeyClose;
       
   268             txt = text_softkey_close;
       
   269             },
       
   270 		AVKON_CBA_BUTTON
       
   271             {
       
   272             id = ECSXHOpenHyperLink;
       
   273             txt = qtn_help_msk_open_hyperlink;
       
   274             }            
       
   275         };
       
   276     }
       
   277 
       
   278 
       
   279 RESOURCE CBA r_cshelp_softkeys_options_back_open
       
   280     {
       
   281     buttons =
       
   282         {
       
   283         AVKON_CBA_BUTTON
       
   284             {
       
   285             id = EAknSoftkeyOptions;
       
   286             txt = text_softkey_option;
       
   287             },
       
   288         AVKON_CBA_BUTTON
       
   289             {
       
   290             id = EAknSoftkeyBack;
       
   291             txt = text_softkey_back;
       
   292             },
       
   293         AVKON_CBA_BUTTON
       
   294             {
       
   295             id = ECSXHOpenTopicText;
       
   296             txt = qtn_msk_open;
       
   297             }
       
   298         };
       
   299     }
       
   300 
       
   301 RESOURCE CBA r_cshelp_softkeys_options_exit_open
       
   302     {
       
   303     buttons =
       
   304         {
       
   305         AVKON_CBA_BUTTON
       
   306             {
       
   307             id = EAknSoftkeyOptions;
       
   308             txt = text_softkey_option;
       
   309             },
       
   310         AVKON_CBA_BUTTON
       
   311             {
       
   312             id = EAknSoftkeyExit;
       
   313             txt = text_softkey_exit;
       
   314             },
       
   315         AVKON_CBA_BUTTON
       
   316             {
       
   317             id = ECSXHOpenTopicText;
       
   318             txt = qtn_msk_open;
       
   319             }
       
   320         };
       
   321     }
       
   322 RESOURCE CBA r_cshelp_softkeys_options_exit_find
       
   323     {
       
   324     buttons =
       
   325         {
       
   326         AVKON_CBA_BUTTON
       
   327             {
       
   328             id = EAknSoftkeyOptions;
       
   329             txt = text_softkey_option;
       
   330             },
       
   331         AVKON_CBA_BUTTON
       
   332             {
       
   333             id = EAknSoftkeyExit;
       
   334             txt = text_softkey_exit;
       
   335             },
       
   336         AVKON_CBA_BUTTON
       
   337             {
       
   338             id = ECSXHOpenTopicText;
       
   339             txt = qtn_help_msk_find;
       
   340             }
       
   341         };
       
   342     }
       
   343 // ---------------------------------------------------------
       
   344 //   
       
   345 //   r_CSXH_menubar
       
   346 //   Menubar for CsXHelp example
       
   347 //
       
   348 // ---------------------------------------------------------
       
   349 //
       
   350 RESOURCE MENU_BAR r_CSXH_menubar_TopicList
       
   351     {
       
   352     titles =
       
   353         {
       
   354         MENU_TITLE {menu_pane = r_CSXH_menu_TopicList;}
       
   355         };
       
   356     }
       
   357 
       
   358 RESOURCE MENU_BAR r_CSXH_menubar_KywdTOC1List
       
   359     {
       
   360     titles =
       
   361         {
       
   362         MENU_TITLE {menu_pane = r_CSXH_menu_KywdTOC1List;}
       
   363         };
       
   364     }
       
   365 
       
   366 RESOURCE MENU_BAR r_CSXH_menubar_KywdTOC2List
       
   367     {
       
   368     titles =
       
   369         {
       
   370         MENU_TITLE {menu_pane = r_CSXH_menu_KywdTOC2List;}
       
   371         };
       
   372     }
       
   373 
       
   374 
       
   375 // ---------------------------------------------------------
       
   376 //   
       
   377 //   r_CSXH_menu
       
   378 //   Menu for "Options"
       
   379 //
       
   380 // ---------------------------------------------------------
       
   381 //
       
   382 RESOURCE MENU_PANE r_CSXH_menu_TopicList
       
   383     {
       
   384     items = 
       
   385         {
       
   386         MENU_ITEM {command = ECSXHOpenTopicText;  txt = qtn_help_om_open_topic;flags = EEikMenuItemAction;},                
       
   387         MENU_ITEM {command = ECSXHTOC1ListView;  txt = qtn_help_om_help_contents;},        
       
   388         MENU_ITEM {command = ECSXHSearchText;  txt = qtn_help_om_search_xhtml;},                
       
   389         MENU_ITEM {command = EAknSoftkeyExit;   txt = qtn_options_exit;}
       
   390         };
       
   391     }
       
   392     
       
   393 RESOURCE MENU_PANE r_CSXH_menu_KywdTOC1List
       
   394     {
       
   395     items = 
       
   396         {
       
   397         MENU_ITEM {command = ECSXHOpenTopicText;  txt = qtn_help_om_find_topics; flags = EEikMenuItemAction;},                
       
   398         MENU_ITEM {command = ECSXHTOC1ListView;  txt = qtn_help_om_help_contents;},        
       
   399         MENU_ITEM {command = EAknSoftkeyExit;   txt = qtn_options_exit;}
       
   400         };
       
   401     }
       
   402 
       
   403 RESOURCE MENU_PANE r_CSXH_menu_KywdTOC2List
       
   404     {
       
   405     items = 
       
   406         {
       
   407         MENU_ITEM {command = ECSXHOpenTopicText;  txt = qtn_help_om_open_topic; flags = EEikMenuItemAction;},                
       
   408         MENU_ITEM {command = ECSXHTOC1ListView;  txt = qtn_help_om_help_contents;},        
       
   409         MENU_ITEM {command = ECSXHSearchText;  txt = qtn_help_om_search_xhtml;},                
       
   410         MENU_ITEM {command = EAknSoftkeyExit;   txt = qtn_options_exit;}
       
   411         };
       
   412     }
       
   413 
       
   414 
       
   415 
       
   416 
       
   417 
       
   418 // ---------------------------------------------------------
       
   419 //   
       
   420 //   r_CSXH_menubar
       
   421 //   Menubar for CsXHelp example
       
   422 //
       
   423 // ---------------------------------------------------------
       
   424 //
       
   425 RESOURCE MENU_BAR r_CSXH_menubar_htmltopicview
       
   426     {
       
   427     titles =
       
   428         {
       
   429         MENU_TITLE {menu_pane = r_CSXH_menu_htmltopicview;}
       
   430         };
       
   431     }
       
   432 
       
   433 
       
   434 // ---------------------------------------------------------
       
   435 //   
       
   436 //   r_CSXH_menubar
       
   437 //   Menubar for CsXHelp example
       
   438 //
       
   439 // ---------------------------------------------------------
       
   440 //
       
   441 RESOURCE MENU_BAR r_CSXH_menubar_TopicTextList
       
   442     {
       
   443     titles =
       
   444         {
       
   445         MENU_TITLE {menu_pane = r_CSXH_menu_TopicTextList;}
       
   446         };
       
   447     }
       
   448 
       
   449 
       
   450 // ---------------------------------------------------------
       
   451 //   
       
   452 //   r_CSXH_menu
       
   453 //   Menu for "Options"
       
   454 //
       
   455 // ---------------------------------------------------------
       
   456 //
       
   457 RESOURCE MENU_PANE r_CSXH_menu_htmltopicview
       
   458     {
       
   459     items = 
       
   460         {
       
   461         MENU_ITEM {command = ECSXHOpenHyperLink;  txt = qtn_help_om_open_hyperlink;},    
       
   462         MENU_ITEM {command = ECSXHOpenApplicationTopics;  txt = qtn_help_om_application_topics;},
       
   463         MENU_ITEM {command = ECSXHTOC1ListView;  txt = qtn_help_om_help_contents;},
       
   464         MENU_ITEM {command = ECSXHSearchText;  txt = qtn_help_om_search_xhtml;},        
       
   465         MENU_ITEM { command=ECsHelpCmdFontLarge; txt=qtn_help_om_increase_text; },        	
       
   466         MENU_ITEM { command=ECsHelpCmdFontSmall; txt=qtn_help_om_decrease_text; },        
       
   467         MENU_ITEM {command = EAknSoftkeyExit;   txt = qtn_options_exit;}
       
   468         };
       
   469     }
       
   470 
       
   471 // ---------------------------------------------------------
       
   472 //   
       
   473 //   r_CSXH_menu
       
   474 //   Menu for "Options"
       
   475 //
       
   476 // ---------------------------------------------------------
       
   477 //
       
   478 RESOURCE MENU_PANE r_CSXH_menu_TopicTextList
       
   479     {
       
   480     items = 
       
   481         {
       
   482         MENU_ITEM {command = ECSXHOpenApplicationTopics;  txt = qtn_help_om_application_topics;},
       
   483         MENU_ITEM {command = ECSXHTOC1ListView;  txt = qtn_help_om_help_contents;},
       
   484         MENU_ITEM {command = ECSXHSearchText;  txt = qtn_help_om_search_xhtml;},
       
   485         MENU_ITEM {command = EAknSoftkeyExit;   txt = qtn_options_exit;}
       
   486         };
       
   487     }
       
   488     
       
   489 // ---------------------------------------------------------
       
   490 //   
       
   491 //   r_type_no_help_topics
       
   492 //   when a other app launches help, no topic is available,
       
   493 //   then information note with this text is displayed.
       
   494 // ---------------------------------------------------------
       
   495 //
       
   496 
       
   497 RESOURCE TBUF r_type_no_help_topics 
       
   498     {
       
   499     buf = qtn_help_note_no_topics;
       
   500     }
       
   501 
       
   502 // ---------------------------------------------------------
       
   503 //   
       
   504 //   r_type_no_help_topics
       
   505 //   when help is unable to launch another application,
       
   506 //   then information note with this text is displayed.
       
   507 // ---------------------------------------------------------
       
   508 //
       
   509 
       
   510 RESOURCE TBUF r_qtn_help_note_unable_to_launch_app 
       
   511     {
       
   512     buf = qtn_help_note_unable_launch;
       
   513     }
       
   514 
       
   515 // ---------------------------------------------------------
       
   516 //   
       
   517 //   r_type_no_help_topics
       
   518 //   when help is unable to launch another application,
       
   519 //   then information note with this text is displayed.
       
   520 // ---------------------------------------------------------
       
   521 //
       
   522 
       
   523 RESOURCE TBUF r_qtn_help_note_app_launch_not_allowed 
       
   524     {
       
   525     buf = qtn_help_note_no_internet;
       
   526     }
       
   527     
       
   528 //----------------------------------------------------
       
   529 //   
       
   530 //    r_cshelp_categorylist
       
   531 //    Define menubar and cba for Category List View
       
   532 //
       
   533 //----------------------------------------------------
       
   534 //
       
   535 RESOURCE AVKON_VIEW r_cshelp_categorylist
       
   536     {
       
   537     menubar = r_cshelp_menubar_categorylist;  
       
   538     cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
       
   539     }
       
   540 
       
   541 //----------------------------------------------------
       
   542 //   
       
   543 //    r_cshelp_topiclist
       
   544 //    Define menubar and cba for Topic List View
       
   545 //
       
   546 //----------------------------------------------------
       
   547 //
       
   548 RESOURCE AVKON_VIEW r_cshelp_topiclist
       
   549     {
       
   550     menubar = r_cshelp_menubar_topiclist;  
       
   551     cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
       
   552     }
       
   553 
       
   554 
       
   555 //----------------------------------------------------
       
   556 //   
       
   557 //    r_cshelp_topiclist
       
   558 //    Define menubar and cba for HTML Topic View
       
   559 //
       
   560 //----------------------------------------------------
       
   561 //
       
   562 
       
   563 
       
   564 RESOURCE CBA r_cshelp_softkeys_options_back_openlink
       
   565     {
       
   566     buttons =
       
   567         {
       
   568         AVKON_CBA_BUTTON
       
   569             {
       
   570             id = EAknSoftkeyOptions;
       
   571             txt = text_softkey_option;
       
   572             },
       
   573         AVKON_CBA_BUTTON
       
   574             {
       
   575             id = EAknSoftkeyBack;
       
   576             txt = text_softkey_back;
       
   577             },
       
   578 		AVKON_CBA_BUTTON
       
   579             {
       
   580             id = ECSXHOpenHyperLink;
       
   581             txt = qtn_help_msk_open_hyperlink;
       
   582             }            
       
   583         };
       
   584     }
       
   585 
       
   586 
       
   587 //----------------------------------------------------
       
   588 //   
       
   589 //    r_cshelp_topic
       
   590 //    Define menubar and cba for Topic View
       
   591 //
       
   592 //----------------------------------------------------
       
   593 //
       
   594 RESOURCE AVKON_VIEW r_cshelp_topic
       
   595     {
       
   596     menubar = r_cshelp_menubar_topic;  
       
   597     cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
       
   598     }
       
   599 
       
   600 //----------------------------------------------------
       
   601 //   
       
   602 //    r_cshelp_topicforsearch
       
   603 //    Define menubar and cba for Topic View For Search
       
   604 //
       
   605 //----------------------------------------------------
       
   606 //
       
   607 RESOURCE AVKON_VIEW r_cshelp_topicforsearch
       
   608     {
       
   609     menubar = r_cshelp_menubar_topic;  
       
   610     cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
       
   611     }
       
   612 
       
   613 //----------------------------------------------------
       
   614 //   
       
   615 //    r_cshelp_search
       
   616 //    Define menubar and cba for Search View
       
   617 //
       
   618 //----------------------------------------------------
       
   619 //
       
   620 RESOURCE AVKON_VIEW r_cshelp_search
       
   621     {
       
   622     menubar = r_cshelp_menubar_search;  
       
   623     cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
       
   624     }
       
   625 
       
   626 //----------------------------------------------------
       
   627 //   
       
   628 //    r_cshelp_searchresult
       
   629 //    Define menubar and cba for Search Result View
       
   630 //
       
   631 //----------------------------------------------------
       
   632 //
       
   633 RESOURCE AVKON_VIEW r_cshelp_searchresult
       
   634     {
       
   635     menubar = r_cshelp_menubar_searchresult;  
       
   636     cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
       
   637     }
       
   638 
       
   639 
       
   640 //----------------------------------------------------
       
   641 //   
       
   642 //    r_cshelp_menubar_categorylist
       
   643 //    Menubar for Category List View
       
   644 //
       
   645 //----------------------------------------------------
       
   646 //
       
   647 RESOURCE MENU_BAR r_cshelp_menubar_categorylist
       
   648     {
       
   649     titles = 
       
   650         {
       
   651         MENU_TITLE
       
   652             {
       
   653             menu_pane = r_cshelp_categorylist_menu;
       
   654             }
       
   655         };
       
   656     }
       
   657 
       
   658     
       
   659 //----------------------------------------------------
       
   660 //   
       
   661 //    r_cshelp_menubar_topiclist
       
   662 //    Menubar for Topic List View
       
   663 //
       
   664 //----------------------------------------------------
       
   665 //
       
   666 RESOURCE MENU_BAR r_cshelp_menubar_topiclist
       
   667     {
       
   668     titles = 
       
   669         {
       
   670         MENU_TITLE 
       
   671             {
       
   672             menu_pane = r_cshelp_topiclist_menu;
       
   673             }
       
   674         };
       
   675     }
       
   676 
       
   677 //----------------------------------------------------
       
   678 //   
       
   679 //    r_cshelp_menubar_topic
       
   680 //    Menubar for Topic View
       
   681 //
       
   682 //----------------------------------------------------
       
   683 //
       
   684 RESOURCE MENU_BAR r_cshelp_menubar_topic
       
   685     {
       
   686     titles = 
       
   687         {
       
   688         MENU_TITLE 
       
   689             {
       
   690             menu_pane = r_cshelp_topic_menu;
       
   691             }
       
   692         };
       
   693     }
       
   694 
       
   695 //----------------------------------------------------
       
   696 //   
       
   697 //    r_cshelp_menubar_search
       
   698 //    Menubar for Search View
       
   699 //
       
   700 //----------------------------------------------------
       
   701 //
       
   702 RESOURCE MENU_BAR r_cshelp_menubar_search
       
   703     {
       
   704     titles = 
       
   705         {
       
   706         MENU_TITLE
       
   707             {
       
   708             menu_pane = r_cshelp_search_menu;
       
   709             }
       
   710         };
       
   711     }
       
   712 
       
   713 //----------------------------------------------------
       
   714 //   
       
   715 //    r_cshelp_menubar_searchresult
       
   716 //    Menubar for Search Result View
       
   717 //
       
   718 //----------------------------------------------------
       
   719 //
       
   720 RESOURCE MENU_BAR r_cshelp_menubar_searchresult
       
   721     {
       
   722     titles = 
       
   723         {
       
   724         MENU_TITLE 
       
   725             {
       
   726             menu_pane = r_cshelp_searchresult_menu;
       
   727             }
       
   728         };
       
   729     }
       
   730 
       
   731 //----------------------------------------------------
       
   732 //   
       
   733 //    r_cshelp_categorylist_menu
       
   734 //    Menu pane for Category List View
       
   735 //
       
   736 //----------------------------------------------------
       
   737 //
       
   738 RESOURCE MENU_PANE r_cshelp_categorylist_menu
       
   739     {
       
   740     items = 
       
   741         {
       
   742         MENU_ITEM
       
   743             {
       
   744             command = ECsHelpCmdViewTopicList;
       
   745             txt = qtn_help_om_open_category;
       
   746             },
       
   747         MENU_ITEM
       
   748             {
       
   749             command = ECsHelpCmdViewSearch;
       
   750             txt = qtn_help_om_search;
       
   751             },
       
   752         MENU_ITEM
       
   753             {
       
   754             command = EAknCmdExit;
       
   755             txt = qtn_options_exit;
       
   756             }
       
   757         };
       
   758     }
       
   759 
       
   760 //----------------------------------------------------
       
   761 //   
       
   762 //    r_cshelp_topiclist_menu
       
   763 //    Menu pane for Topic List View
       
   764 //
       
   765 //----------------------------------------------------
       
   766 //
       
   767 RESOURCE MENU_PANE r_cshelp_topiclist_menu
       
   768     {
       
   769     items = 
       
   770         {
       
   771         MENU_ITEM
       
   772             {
       
   773             command = ECsHelpCmdViewTopic;
       
   774             txt = qtn_help_om_open_topic;
       
   775             },
       
   776         MENU_ITEM
       
   777             {
       
   778             command = ECsHelpCmdViewCategoryList; 
       
   779             txt = qtn_help_om_category_list;
       
   780             },
       
   781         MENU_ITEM
       
   782             {
       
   783             command = ECsHelpCmdViewSearch;
       
   784             txt = qtn_help_om_search;
       
   785             },
       
   786         MENU_ITEM
       
   787             {
       
   788             command = EAknCmdExit;
       
   789             txt = qtn_options_exit;
       
   790             }
       
   791         };
       
   792     }
       
   793 
       
   794 //----------------------------------------------------
       
   795 //   
       
   796 //    r_cshelp_topic_menu
       
   797 //    Menu pane for Topic View
       
   798 //
       
   799 //----------------------------------------------------
       
   800 //
       
   801 RESOURCE MENU_PANE r_cshelp_topic_menu
       
   802     {
       
   803     items = 
       
   804         {
       
   805         MENU_ITEM
       
   806             {
       
   807             command = ECsHelpCmdViewTopicList;
       
   808             txt = qtn_help_om_topic_list;
       
   809             },
       
   810         MENU_ITEM
       
   811             {
       
   812             command = ECsHelpCmdViewCategoryList;
       
   813             txt = qtn_help_om_category_list; 
       
   814             },
       
   815         MENU_ITEM
       
   816             {
       
   817             command = ECsHelpCmdViewSearch;
       
   818             txt = qtn_help_om_search;
       
   819             },
       
   820         MENU_ITEM
       
   821             {
       
   822             command = EAknCmdExit;
       
   823             txt = qtn_options_exit;
       
   824             }
       
   825         };
       
   826     }
       
   827 
       
   828 //----------------------------------------------------
       
   829 //   
       
   830 //    r_cshelp_search_menu
       
   831 //    Menu pane for Search View
       
   832 //
       
   833 //----------------------------------------------------
       
   834 //
       
   835 RESOURCE MENU_PANE r_cshelp_search_menu
       
   836     {
       
   837     items = 
       
   838         {
       
   839         MENU_ITEM
       
   840             {
       
   841             command = ECsHelpCmdViewSearchResult;
       
   842             txt = qtn_help_om_find_topics;
       
   843             },
       
   844         MENU_ITEM
       
   845             {
       
   846             command = ECsHelpCmdViewCategoryList;
       
   847             txt = qtn_help_om_category_list;
       
   848             },
       
   849         MENU_ITEM
       
   850             {
       
   851             command = EAknCmdExit;
       
   852             txt = qtn_options_exit;
       
   853             }
       
   854         };
       
   855     }
       
   856 
       
   857 //----------------------------------------------------
       
   858 //   
       
   859 //    r_cshelp_searchresult_menu
       
   860 //    Menu pane for Search Result View
       
   861 //
       
   862 //----------------------------------------------------
       
   863 //
       
   864 RESOURCE MENU_PANE r_cshelp_searchresult_menu
       
   865     {
       
   866     items = 
       
   867         {
       
   868         MENU_ITEM
       
   869             {
       
   870             command = ECsHelpCmdViewTopicForSearch;
       
   871             txt = qtn_help_om_open_topic;
       
   872             },
       
   873         MENU_ITEM
       
   874             {
       
   875             command = ECsHelpCmdViewCategoryList;
       
   876             txt = qtn_help_om_category_list;
       
   877             },
       
   878         MENU_ITEM
       
   879             {
       
   880             command = ECsHelpCmdViewSearch;
       
   881             txt = qtn_help_om_search;
       
   882             },
       
   883         MENU_ITEM
       
   884             {
       
   885             command = EAknCmdExit;
       
   886             txt = qtn_options_exit;
       
   887             }
       
   888         };
       
   889     }
       
   890 
       
   891 //----------------------------------------------------
       
   892 //   
       
   893 //    r_cshelp_context_menu
       
   894 //    Menu pane for Search Result View
       
   895 //
       
   896 //----------------------------------------------------
       
   897 //
       
   898 RESOURCE MENU_PANE r_cshelp_context_menu
       
   899     {
       
   900     items = 
       
   901         {
       
   902         MENU_ITEM
       
   903             {
       
   904             command = ECsHelpCmdViewTopicForContext;
       
   905             txt = qtn_help_om_open_topic;
       
   906             },
       
   907         MENU_ITEM
       
   908             {
       
   909             command = ECsHelpCmdViewCategoryList; 
       
   910             txt = qtn_help_om_category_list;
       
   911             },
       
   912         MENU_ITEM
       
   913             {
       
   914             command = ECsHelpCmdViewSearch;
       
   915             txt = qtn_help_om_search;
       
   916             },
       
   917         MENU_ITEM
       
   918             {
       
   919             command = EAknCmdExit;
       
   920             txt = qtn_options_exit;
       
   921             }
       
   922         };
       
   923     }
       
   924 
       
   925 
       
   926 // ---------------------------------------------------------
       
   927 //   
       
   928 //    r_cshelp_search_category_tabs
       
   929 //    Tab groups for navi pane of Search View and Category View
       
   930 //
       
   931 // ---------------------------------------------------------
       
   932 //
       
   933 RESOURCE TAB_GROUP r_cshelp_search_category_tabs
       
   934     {
       
   935     tab_width = EAknTabWidthWithTwoTabs;  // two tabs
       
   936     tabs = 
       
   937         {
       
   938         TAB
       
   939             {
       
   940             id = ECsHelpCategoryTab;
       
   941             bmpfile = qtn_help_icon_bitmap_file;
       
   942             bmpid = EMbmCshelpQgn_prop_folder_tab2;             
       
   943             bmpmask = EMbmCshelpQgn_prop_folder_tab2_mask;		
       
   944             },
       
   945         TAB
       
   946             {
       
   947             id = ECsHelpSearchTab;
       
   948             bmpfile = qtn_help_icon_bitmap_file;
       
   949             bmpid = EMbmCshelpQgn_prop_list_keyword_tab2;
       
   950             bmpmask = EMbmCshelpQgn_prop_list_keyword_tab2_mask;
       
   951             }
       
   952         };
       
   953     }
       
   954             
       
   955 // ---------------------------------------------------------
       
   956 //   
       
   957 //   r_cshelp_search_progress_note
       
   958 //   Define progress note for searcing in search result view
       
   959 //
       
   960 // ---------------------------------------------------------
       
   961 //
       
   962 RESOURCE DIALOG r_cshelp_search_progress_note
       
   963     {
       
   964     flags = EAknProgressNoteFlags;
       
   965     buttons = R_AVKON_SOFTKEYS_EMPTY;
       
   966     items =
       
   967         {
       
   968         DLG_LINE
       
   969             {
       
   970             type=EAknCtNote;
       
   971             id=EProgressNote;
       
   972 
       
   973             control= AVKON_NOTE
       
   974                 { 
       
   975                 layout = EProgressLayout;
       
   976                 singular_label = qtn_help_noteg_searching;
       
   977                 };
       
   978             }
       
   979         };
       
   980     }
       
   981 
       
   982 // ---------------------------------------------------------
       
   983 //   
       
   984 //   r_cshelp_install_uninstall_note
       
   985 //   Define information flag for notifying installation
       
   986 //
       
   987 // ---------------------------------------------------------
       
   988 //
       
   989 RESOURCE DIALOG r_cshelp_install_uninstall_note
       
   990     {
       
   991     flags = EAknInformationNoteFlags;
       
   992     buttons = R_AVKON_SOFTKEYS_EMPTY;
       
   993     items =
       
   994         {
       
   995         DLG_LINE
       
   996             {
       
   997             type=EAknCtNote;
       
   998             id=EInstallNote;
       
   999 
       
  1000             control= AVKON_NOTE
       
  1001                 { 
       
  1002                 layout = EGeneralLayout;
       
  1003                 singular_label = qtn_help_noteg_install;
       
  1004                 };
       
  1005             }
       
  1006         };
       
  1007     }
       
  1008     
       
  1009 // ---------------------------------------------------------
       
  1010 //   
       
  1011 //   r_qtn_help_title_help
       
  1012 //   Define title of category list view. 
       
  1013 //
       
  1014 // ---------------------------------------------------------
       
  1015 //
       
  1016 RESOURCE TBUF32 r_qtn_help_title_help
       
  1017     {
       
  1018     buf = qtn_help_title_help;
       
  1019     }
       
  1020 
       
  1021 // ---------------------------------------------------------
       
  1022 //   
       
  1023 //   r_qtn_help_note_no_topics
       
  1024 //   when a other app launches help, no topic is available,
       
  1025 //   then information note with this text is displayed.
       
  1026 // ---------------------------------------------------------
       
  1027 //
       
  1028 RESOURCE TBUF80 r_qtn_help_note_no_topics
       
  1029     {
       
  1030     buf = qtn_help_note_no_topics;
       
  1031     }
       
  1032 
       
  1033 
       
  1034 RESOURCE CBA r_softkeys_options_exit__options
       
  1035     {
       
  1036     buttons =
       
  1037         {
       
  1038         CBA_BUTTON {id=EAknSoftkeyOptions; txt = "Options";},
       
  1039         CBA_BUTTON {id=EAknSoftkeyExit; txt = "Exit"; },
       
  1040         CBA_BUTTON {id=EAknSoftkeyOptions; txt = "Options";}
       
  1041         };
       
  1042     }
       
  1043 
       
  1044 ////////////////////////////////////////////////////////////////
       
  1045 //[FIXME: The resource r_cshelp_topic_view_layout
       
  1046 // is not used anymore. Instead TAknMultiLineTextLayout is used
       
  1047 // (in CCsHelpTopicContainer::SizeChanged and 
       
  1048 //  inCCsHelpTopicContainer::GetTextFormatL)
       
  1049 // ---------------------------------------------------------
       
  1050 //   
       
  1051 //   r_cshelp_topic_view_layout
       
  1052 //   Define layout of topic view.
       
  1053 //
       
  1054 // ---------------------------------------------------------
       
  1055 //
       
  1056 /*************************************************
       
  1057 RESOURCE AVKON_LAYOUT_EDWIN r_cshelp_topic_view_layout
       
  1058     { 
       
  1059     font = topic_view_font;     //ELatinPlain12
       
  1060     C = topic_view_C;           //215 
       
  1061     l = topic_view_l;           //4
       
  1062     r = topic_view_r;           //5
       
  1063     B = topic_view_B;           //21
       
  1064     W = topic_view_W;           //167
       
  1065     J = topic_view_J;           //ELayoutAlignBidi
       
  1066     lines = topic_view_lines;   //8
       
  1067     nextB = topic_view_nextB;   //37
       
  1068     }
       
  1069 ****************************************************/
       
  1070 
       
  1071 // To let know what are the services that are provided
       
  1072 RESOURCE AIW_INTEREST r_aiwtutorialapp_interest
       
  1073 {
       
  1074     items =
       
  1075     {
       
  1076         AIW_CRITERIA_ITEM
       
  1077         {
       
  1078             id = ECmdAiwPlaceHolder;
       
  1079             serviceCmd = KAiwCmdHelp;
       
  1080             serviceClass = KAiwClassMenu;
       
  1081             contentType = "help/tutorial";
       
  1082             defaultProvider = 0x10281D09;
       
  1083             maxProviders = 1;
       
  1084         },
       
  1085         AIW_CRITERIA_ITEM
       
  1086         {
       
  1087             id = KPresentationExists;   // Use service cmd id as id
       
  1088             serviceCmd = KPresentationExists;
       
  1089             serviceClass = KAiwClassMenu;
       
  1090             contentType = "help/tutorial";
       
  1091             defaultProvider = 0x10281D09;
       
  1092             maxProviders = 1;
       
  1093         },
       
  1094         AIW_CRITERIA_ITEM
       
  1095         {
       
  1096             id = KPlayPresentation;
       
  1097             serviceCmd = KPlayPresentation;
       
  1098             serviceClass = KAiwClassMenu;
       
  1099             contentType = "help/tutorial";
       
  1100             defaultProvider = 0x10281D09;
       
  1101             maxProviders = 1;
       
  1102         }
       
  1103     };
       
  1104 }
       
  1105 // ---------------------------------------------------------
       
  1106 //   
       
  1107 //   qtn_memlo_ram_out_of_mem
       
  1108 //   Text to display for low memory situations. 
       
  1109 //
       
  1110 // ---------------------------------------------------------	
       
  1111 RESOURCE TBUF256 r_cshelp_retrieve_no_memory_text
       
  1112     {
       
  1113     buf = qtn_memlo_ram_out_of_mem;
       
  1114     }
       
  1115 
       
  1116 #ifdef FF_HELP_TUTORIAL_MERGE    
       
  1117 // ---------------------------------------------------------
       
  1118 //   
       
  1119 //   qtn_memlo_ram_out_of_mem
       
  1120 //   Text to display for low memory situations. 
       
  1121 //
       
  1122 // ---------------------------------------------------------	
       
  1123 RESOURCE TBUF256 r_cshelp_tutorial_text
       
  1124     {
       
  1125     buf = qtn_help_toc_list_item_tutorial;
       
  1126     }
       
  1127 #endif    
       
  1128 // End of File