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_back_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 RESOURCE CBA r_cshelp_softkeys_options_back_find |
|
345 { |
|
346 buttons = |
|
347 { |
|
348 AVKON_CBA_BUTTON |
|
349 { |
|
350 id = EAknSoftkeyOptions; |
|
351 txt = text_softkey_option; |
|
352 }, |
|
353 AVKON_CBA_BUTTON |
|
354 { |
|
355 id = EAknSoftkeyBack; |
|
356 txt = text_softkey_back; |
|
357 }, |
|
358 AVKON_CBA_BUTTON |
|
359 { |
|
360 id = ECSXHOpenTopicText; |
|
361 txt = qtn_help_msk_find; |
|
362 } |
|
363 }; |
|
364 } |
|
365 // --------------------------------------------------------- |
|
366 // |
|
367 // r_CSXH_menubar |
|
368 // Menubar for CsXHelp example |
|
369 // |
|
370 // --------------------------------------------------------- |
|
371 // |
|
372 RESOURCE MENU_BAR r_CSXH_menubar_TopicList |
|
373 { |
|
374 titles = |
|
375 { |
|
376 MENU_TITLE {menu_pane = r_CSXH_menu_TopicList;} |
|
377 }; |
|
378 } |
|
379 |
|
380 RESOURCE MENU_BAR r_CSXH_menubar_KywdTOC1List |
|
381 { |
|
382 titles = |
|
383 { |
|
384 MENU_TITLE {menu_pane = r_CSXH_menu_KywdTOC1List;} |
|
385 }; |
|
386 } |
|
387 |
|
388 RESOURCE MENU_BAR r_CSXH_menubar_KywdTOC2List |
|
389 { |
|
390 titles = |
|
391 { |
|
392 MENU_TITLE {menu_pane = r_CSXH_menu_KywdTOC2List;} |
|
393 }; |
|
394 } |
|
395 |
|
396 |
|
397 // --------------------------------------------------------- |
|
398 // |
|
399 // r_CSXH_menu |
|
400 // Menu for "Options" |
|
401 // |
|
402 // --------------------------------------------------------- |
|
403 // |
|
404 RESOURCE MENU_PANE r_CSXH_menu_TopicList |
|
405 { |
|
406 items = |
|
407 { |
|
408 MENU_ITEM {command = ECSXHOpenTopicText; txt = qtn_help_om_open_topic;flags = EEikMenuItemAction;}, |
|
409 MENU_ITEM {command = ECSXHTOC1ListView; txt = qtn_help_om_help_contents;}, |
|
410 MENU_ITEM {command = ECSXHSearchText; txt = qtn_help_om_search_xhtml;}, |
|
411 MENU_ITEM {command = EAknSoftkeyExit; txt = qtn_options_exit;} |
|
412 }; |
|
413 } |
|
414 |
|
415 RESOURCE MENU_PANE r_CSXH_menu_KywdTOC1List |
|
416 { |
|
417 items = |
|
418 { |
|
419 MENU_ITEM {command = ECSXHOpenTopicText; txt = qtn_help_om_find_topics; flags = EEikMenuItemAction;}, |
|
420 MENU_ITEM {command = ECSXHTOC1ListView; txt = qtn_help_om_help_contents;}, |
|
421 MENU_ITEM {command = EAknSoftkeyExit; txt = qtn_options_exit;} |
|
422 }; |
|
423 } |
|
424 |
|
425 RESOURCE MENU_PANE r_CSXH_menu_KywdTOC2List |
|
426 { |
|
427 items = |
|
428 { |
|
429 MENU_ITEM {command = ECSXHOpenTopicText; txt = qtn_help_om_open_topic; flags = EEikMenuItemAction;}, |
|
430 MENU_ITEM {command = ECSXHTOC1ListView; txt = qtn_help_om_help_contents;}, |
|
431 MENU_ITEM {command = ECSXHSearchText; txt = qtn_help_om_search_xhtml;}, |
|
432 MENU_ITEM {command = EAknSoftkeyExit; txt = qtn_options_exit;} |
|
433 }; |
|
434 } |
|
435 |
|
436 |
|
437 |
|
438 |
|
439 |
|
440 // --------------------------------------------------------- |
|
441 // |
|
442 // r_CSXH_menubar |
|
443 // Menubar for CsXHelp example |
|
444 // |
|
445 // --------------------------------------------------------- |
|
446 // |
|
447 RESOURCE MENU_BAR r_CSXH_menubar_htmltopicview |
|
448 { |
|
449 titles = |
|
450 { |
|
451 MENU_TITLE {menu_pane = r_CSXH_menu_htmltopicview;} |
|
452 }; |
|
453 } |
|
454 |
|
455 |
|
456 // --------------------------------------------------------- |
|
457 // |
|
458 // r_CSXH_menubar |
|
459 // Menubar for CsXHelp example |
|
460 // |
|
461 // --------------------------------------------------------- |
|
462 // |
|
463 RESOURCE MENU_BAR r_CSXH_menubar_TopicTextList |
|
464 { |
|
465 titles = |
|
466 { |
|
467 MENU_TITLE {menu_pane = r_CSXH_menu_TopicTextList;} |
|
468 }; |
|
469 } |
|
470 |
|
471 |
|
472 // --------------------------------------------------------- |
|
473 // |
|
474 // r_CSXH_menu |
|
475 // Menu for "Options" |
|
476 // |
|
477 // --------------------------------------------------------- |
|
478 // |
|
479 RESOURCE MENU_PANE r_CSXH_menu_htmltopicview |
|
480 { |
|
481 items = |
|
482 { |
|
483 MENU_ITEM {command = ECSXHOpenHyperLink; txt = qtn_help_om_open_hyperlink;}, |
|
484 MENU_ITEM {command = ECSXHOpenApplicationTopics; txt = qtn_help_om_application_topics;}, |
|
485 MENU_ITEM {command = ECSXHTOC1ListView; txt = qtn_help_om_help_contents;}, |
|
486 MENU_ITEM {command = ECSXHSearchText; txt = qtn_help_om_search_xhtml;}, |
|
487 MENU_ITEM { command=ECsHelpCmdFontLarge; txt=qtn_help_om_increase_text; }, |
|
488 MENU_ITEM { command=ECsHelpCmdFontSmall; txt=qtn_help_om_decrease_text; }, |
|
489 MENU_ITEM {command = EAknSoftkeyExit; txt = qtn_options_exit;} |
|
490 }; |
|
491 } |
|
492 |
|
493 // --------------------------------------------------------- |
|
494 // |
|
495 // r_CSXH_menu |
|
496 // Menu for "Options" |
|
497 // |
|
498 // --------------------------------------------------------- |
|
499 // |
|
500 RESOURCE MENU_PANE r_CSXH_menu_TopicTextList |
|
501 { |
|
502 items = |
|
503 { |
|
504 MENU_ITEM {command = ECSXHOpenApplicationTopics; txt = qtn_help_om_application_topics;}, |
|
505 MENU_ITEM {command = ECSXHTOC1ListView; txt = qtn_help_om_help_contents;}, |
|
506 MENU_ITEM {command = ECSXHSearchText; txt = qtn_help_om_search_xhtml;}, |
|
507 MENU_ITEM {command = EAknSoftkeyExit; txt = qtn_options_exit;} |
|
508 }; |
|
509 } |
|
510 |
|
511 // --------------------------------------------------------- |
|
512 // |
|
513 // r_type_no_help_topics |
|
514 // when a other app launches help, no topic is available, |
|
515 // then information note with this text is displayed. |
|
516 // --------------------------------------------------------- |
|
517 // |
|
518 |
|
519 RESOURCE TBUF r_type_no_help_topics |
|
520 { |
|
521 buf = qtn_help_note_no_topics; |
|
522 } |
|
523 |
|
524 // --------------------------------------------------------- |
|
525 // |
|
526 // r_type_no_help_topics |
|
527 // when help is unable to launch another application, |
|
528 // then information note with this text is displayed. |
|
529 // --------------------------------------------------------- |
|
530 // |
|
531 |
|
532 RESOURCE TBUF r_qtn_help_note_unable_to_launch_app |
|
533 { |
|
534 buf = qtn_help_note_unable_launch; |
|
535 } |
|
536 |
|
537 // --------------------------------------------------------- |
|
538 // |
|
539 // r_type_no_help_topics |
|
540 // when help is unable to launch another application, |
|
541 // then information note with this text is displayed. |
|
542 // --------------------------------------------------------- |
|
543 // |
|
544 |
|
545 RESOURCE TBUF r_qtn_help_note_app_launch_not_allowed |
|
546 { |
|
547 buf = qtn_help_note_no_internet; |
|
548 } |
|
549 |
|
550 //---------------------------------------------------- |
|
551 // |
|
552 // r_cshelp_categorylist |
|
553 // Define menubar and cba for Category List View |
|
554 // |
|
555 //---------------------------------------------------- |
|
556 // |
|
557 RESOURCE AVKON_VIEW r_cshelp_categorylist |
|
558 { |
|
559 menubar = r_cshelp_menubar_categorylist; |
|
560 cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; |
|
561 } |
|
562 |
|
563 //---------------------------------------------------- |
|
564 // |
|
565 // r_cshelp_topiclist |
|
566 // Define menubar and cba for Topic List View |
|
567 // |
|
568 //---------------------------------------------------- |
|
569 // |
|
570 RESOURCE AVKON_VIEW r_cshelp_topiclist |
|
571 { |
|
572 menubar = r_cshelp_menubar_topiclist; |
|
573 cba = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
574 } |
|
575 |
|
576 |
|
577 //---------------------------------------------------- |
|
578 // |
|
579 // r_cshelp_topiclist |
|
580 // Define menubar and cba for HTML Topic View |
|
581 // |
|
582 //---------------------------------------------------- |
|
583 // |
|
584 |
|
585 |
|
586 RESOURCE CBA r_cshelp_softkeys_options_back_openlink |
|
587 { |
|
588 buttons = |
|
589 { |
|
590 AVKON_CBA_BUTTON |
|
591 { |
|
592 id = EAknSoftkeyOptions; |
|
593 txt = text_softkey_option; |
|
594 }, |
|
595 AVKON_CBA_BUTTON |
|
596 { |
|
597 id = EAknSoftkeyBack; |
|
598 txt = text_softkey_back; |
|
599 }, |
|
600 AVKON_CBA_BUTTON |
|
601 { |
|
602 id = ECSXHOpenHyperLink; |
|
603 txt = qtn_help_msk_open_hyperlink; |
|
604 } |
|
605 }; |
|
606 } |
|
607 |
|
608 |
|
609 //---------------------------------------------------- |
|
610 // |
|
611 // r_cshelp_topic |
|
612 // Define menubar and cba for Topic View |
|
613 // |
|
614 //---------------------------------------------------- |
|
615 // |
|
616 RESOURCE AVKON_VIEW r_cshelp_topic |
|
617 { |
|
618 menubar = r_cshelp_menubar_topic; |
|
619 cba = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
620 } |
|
621 |
|
622 //---------------------------------------------------- |
|
623 // |
|
624 // r_cshelp_topicforsearch |
|
625 // Define menubar and cba for Topic View For Search |
|
626 // |
|
627 //---------------------------------------------------- |
|
628 // |
|
629 RESOURCE AVKON_VIEW r_cshelp_topicforsearch |
|
630 { |
|
631 menubar = r_cshelp_menubar_topic; |
|
632 cba = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
633 } |
|
634 |
|
635 //---------------------------------------------------- |
|
636 // |
|
637 // r_cshelp_search |
|
638 // Define menubar and cba for Search View |
|
639 // |
|
640 //---------------------------------------------------- |
|
641 // |
|
642 RESOURCE AVKON_VIEW r_cshelp_search |
|
643 { |
|
644 menubar = r_cshelp_menubar_search; |
|
645 cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; |
|
646 } |
|
647 |
|
648 //---------------------------------------------------- |
|
649 // |
|
650 // r_cshelp_searchresult |
|
651 // Define menubar and cba for Search Result View |
|
652 // |
|
653 //---------------------------------------------------- |
|
654 // |
|
655 RESOURCE AVKON_VIEW r_cshelp_searchresult |
|
656 { |
|
657 menubar = r_cshelp_menubar_searchresult; |
|
658 cba = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
659 } |
|
660 |
|
661 |
|
662 //---------------------------------------------------- |
|
663 // |
|
664 // r_cshelp_menubar_categorylist |
|
665 // Menubar for Category List View |
|
666 // |
|
667 //---------------------------------------------------- |
|
668 // |
|
669 RESOURCE MENU_BAR r_cshelp_menubar_categorylist |
|
670 { |
|
671 titles = |
|
672 { |
|
673 MENU_TITLE |
|
674 { |
|
675 menu_pane = r_cshelp_categorylist_menu; |
|
676 } |
|
677 }; |
|
678 } |
|
679 |
|
680 |
|
681 //---------------------------------------------------- |
|
682 // |
|
683 // r_cshelp_menubar_topiclist |
|
684 // Menubar for Topic List View |
|
685 // |
|
686 //---------------------------------------------------- |
|
687 // |
|
688 RESOURCE MENU_BAR r_cshelp_menubar_topiclist |
|
689 { |
|
690 titles = |
|
691 { |
|
692 MENU_TITLE |
|
693 { |
|
694 menu_pane = r_cshelp_topiclist_menu; |
|
695 } |
|
696 }; |
|
697 } |
|
698 |
|
699 //---------------------------------------------------- |
|
700 // |
|
701 // r_cshelp_menubar_topic |
|
702 // Menubar for Topic View |
|
703 // |
|
704 //---------------------------------------------------- |
|
705 // |
|
706 RESOURCE MENU_BAR r_cshelp_menubar_topic |
|
707 { |
|
708 titles = |
|
709 { |
|
710 MENU_TITLE |
|
711 { |
|
712 menu_pane = r_cshelp_topic_menu; |
|
713 } |
|
714 }; |
|
715 } |
|
716 |
|
717 //---------------------------------------------------- |
|
718 // |
|
719 // r_cshelp_menubar_search |
|
720 // Menubar for Search View |
|
721 // |
|
722 //---------------------------------------------------- |
|
723 // |
|
724 RESOURCE MENU_BAR r_cshelp_menubar_search |
|
725 { |
|
726 titles = |
|
727 { |
|
728 MENU_TITLE |
|
729 { |
|
730 menu_pane = r_cshelp_search_menu; |
|
731 } |
|
732 }; |
|
733 } |
|
734 |
|
735 //---------------------------------------------------- |
|
736 // |
|
737 // r_cshelp_menubar_searchresult |
|
738 // Menubar for Search Result View |
|
739 // |
|
740 //---------------------------------------------------- |
|
741 // |
|
742 RESOURCE MENU_BAR r_cshelp_menubar_searchresult |
|
743 { |
|
744 titles = |
|
745 { |
|
746 MENU_TITLE |
|
747 { |
|
748 menu_pane = r_cshelp_searchresult_menu; |
|
749 } |
|
750 }; |
|
751 } |
|
752 |
|
753 //---------------------------------------------------- |
|
754 // |
|
755 // r_cshelp_categorylist_menu |
|
756 // Menu pane for Category List View |
|
757 // |
|
758 //---------------------------------------------------- |
|
759 // |
|
760 RESOURCE MENU_PANE r_cshelp_categorylist_menu |
|
761 { |
|
762 items = |
|
763 { |
|
764 MENU_ITEM |
|
765 { |
|
766 command = ECsHelpCmdViewTopicList; |
|
767 txt = qtn_help_om_open_category; |
|
768 }, |
|
769 MENU_ITEM |
|
770 { |
|
771 command = ECsHelpCmdViewSearch; |
|
772 txt = qtn_help_om_search; |
|
773 }, |
|
774 MENU_ITEM |
|
775 { |
|
776 command = EAknCmdExit; |
|
777 txt = qtn_options_exit; |
|
778 } |
|
779 }; |
|
780 } |
|
781 |
|
782 //---------------------------------------------------- |
|
783 // |
|
784 // r_cshelp_topiclist_menu |
|
785 // Menu pane for Topic List View |
|
786 // |
|
787 //---------------------------------------------------- |
|
788 // |
|
789 RESOURCE MENU_PANE r_cshelp_topiclist_menu |
|
790 { |
|
791 items = |
|
792 { |
|
793 MENU_ITEM |
|
794 { |
|
795 command = ECsHelpCmdViewTopic; |
|
796 txt = qtn_help_om_open_topic; |
|
797 }, |
|
798 MENU_ITEM |
|
799 { |
|
800 command = ECsHelpCmdViewCategoryList; |
|
801 txt = qtn_help_om_category_list; |
|
802 }, |
|
803 MENU_ITEM |
|
804 { |
|
805 command = ECsHelpCmdViewSearch; |
|
806 txt = qtn_help_om_search; |
|
807 }, |
|
808 MENU_ITEM |
|
809 { |
|
810 command = EAknCmdExit; |
|
811 txt = qtn_options_exit; |
|
812 } |
|
813 }; |
|
814 } |
|
815 |
|
816 //---------------------------------------------------- |
|
817 // |
|
818 // r_cshelp_topic_menu |
|
819 // Menu pane for Topic View |
|
820 // |
|
821 //---------------------------------------------------- |
|
822 // |
|
823 RESOURCE MENU_PANE r_cshelp_topic_menu |
|
824 { |
|
825 items = |
|
826 { |
|
827 MENU_ITEM |
|
828 { |
|
829 command = ECsHelpCmdViewTopicList; |
|
830 txt = qtn_help_om_topic_list; |
|
831 }, |
|
832 MENU_ITEM |
|
833 { |
|
834 command = ECsHelpCmdViewCategoryList; |
|
835 txt = qtn_help_om_category_list; |
|
836 }, |
|
837 MENU_ITEM |
|
838 { |
|
839 command = ECsHelpCmdViewSearch; |
|
840 txt = qtn_help_om_search; |
|
841 }, |
|
842 MENU_ITEM |
|
843 { |
|
844 command = EAknCmdExit; |
|
845 txt = qtn_options_exit; |
|
846 } |
|
847 }; |
|
848 } |
|
849 |
|
850 //---------------------------------------------------- |
|
851 // |
|
852 // r_cshelp_search_menu |
|
853 // Menu pane for Search View |
|
854 // |
|
855 //---------------------------------------------------- |
|
856 // |
|
857 RESOURCE MENU_PANE r_cshelp_search_menu |
|
858 { |
|
859 items = |
|
860 { |
|
861 MENU_ITEM |
|
862 { |
|
863 command = ECsHelpCmdViewSearchResult; |
|
864 txt = qtn_help_om_find_topics; |
|
865 }, |
|
866 MENU_ITEM |
|
867 { |
|
868 command = ECsHelpCmdViewCategoryList; |
|
869 txt = qtn_help_om_category_list; |
|
870 }, |
|
871 MENU_ITEM |
|
872 { |
|
873 command = EAknCmdExit; |
|
874 txt = qtn_options_exit; |
|
875 } |
|
876 }; |
|
877 } |
|
878 |
|
879 //---------------------------------------------------- |
|
880 // |
|
881 // r_cshelp_searchresult_menu |
|
882 // Menu pane for Search Result View |
|
883 // |
|
884 //---------------------------------------------------- |
|
885 // |
|
886 RESOURCE MENU_PANE r_cshelp_searchresult_menu |
|
887 { |
|
888 items = |
|
889 { |
|
890 MENU_ITEM |
|
891 { |
|
892 command = ECsHelpCmdViewTopicForSearch; |
|
893 txt = qtn_help_om_open_topic; |
|
894 }, |
|
895 MENU_ITEM |
|
896 { |
|
897 command = ECsHelpCmdViewCategoryList; |
|
898 txt = qtn_help_om_category_list; |
|
899 }, |
|
900 MENU_ITEM |
|
901 { |
|
902 command = ECsHelpCmdViewSearch; |
|
903 txt = qtn_help_om_search; |
|
904 }, |
|
905 MENU_ITEM |
|
906 { |
|
907 command = EAknCmdExit; |
|
908 txt = qtn_options_exit; |
|
909 } |
|
910 }; |
|
911 } |
|
912 |
|
913 //---------------------------------------------------- |
|
914 // |
|
915 // r_cshelp_context_menu |
|
916 // Menu pane for Search Result View |
|
917 // |
|
918 //---------------------------------------------------- |
|
919 // |
|
920 RESOURCE MENU_PANE r_cshelp_context_menu |
|
921 { |
|
922 items = |
|
923 { |
|
924 MENU_ITEM |
|
925 { |
|
926 command = ECsHelpCmdViewTopicForContext; |
|
927 txt = qtn_help_om_open_topic; |
|
928 }, |
|
929 MENU_ITEM |
|
930 { |
|
931 command = ECsHelpCmdViewCategoryList; |
|
932 txt = qtn_help_om_category_list; |
|
933 }, |
|
934 MENU_ITEM |
|
935 { |
|
936 command = ECsHelpCmdViewSearch; |
|
937 txt = qtn_help_om_search; |
|
938 }, |
|
939 MENU_ITEM |
|
940 { |
|
941 command = EAknCmdExit; |
|
942 txt = qtn_options_exit; |
|
943 } |
|
944 }; |
|
945 } |
|
946 |
|
947 |
|
948 // --------------------------------------------------------- |
|
949 // |
|
950 // r_cshelp_search_category_tabs |
|
951 // Tab groups for navi pane of Search View and Category View |
|
952 // |
|
953 // --------------------------------------------------------- |
|
954 // |
|
955 RESOURCE TAB_GROUP r_cshelp_search_category_tabs |
|
956 { |
|
957 tab_width = EAknTabWidthWithTwoTabs; // two tabs |
|
958 tabs = |
|
959 { |
|
960 TAB |
|
961 { |
|
962 id = ECsHelpCategoryTab; |
|
963 bmpfile = qtn_help_icon_bitmap_file; |
|
964 bmpid = EMbmCshelpQgn_prop_folder_tab2; |
|
965 bmpmask = EMbmCshelpQgn_prop_folder_tab2_mask; |
|
966 }, |
|
967 TAB |
|
968 { |
|
969 id = ECsHelpSearchTab; |
|
970 bmpfile = qtn_help_icon_bitmap_file; |
|
971 bmpid = EMbmCshelpQgn_prop_list_keyword_tab2; |
|
972 bmpmask = EMbmCshelpQgn_prop_list_keyword_tab2_mask; |
|
973 } |
|
974 }; |
|
975 } |
|
976 |
|
977 // --------------------------------------------------------- |
|
978 // |
|
979 // r_cshelp_search_progress_note |
|
980 // Define progress note for searcing in search result view |
|
981 // |
|
982 // --------------------------------------------------------- |
|
983 // |
|
984 RESOURCE DIALOG r_cshelp_search_progress_note |
|
985 { |
|
986 flags = EAknProgressNoteFlags; |
|
987 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
988 items = |
|
989 { |
|
990 DLG_LINE |
|
991 { |
|
992 type=EAknCtNote; |
|
993 id=EProgressNote; |
|
994 |
|
995 control= AVKON_NOTE |
|
996 { |
|
997 layout = EProgressLayout; |
|
998 singular_label = qtn_help_noteg_searching; |
|
999 }; |
|
1000 } |
|
1001 }; |
|
1002 } |
|
1003 |
|
1004 // --------------------------------------------------------- |
|
1005 // |
|
1006 // r_cshelp_install_uninstall_note |
|
1007 // Define information flag for notifying installation |
|
1008 // |
|
1009 // --------------------------------------------------------- |
|
1010 // |
|
1011 RESOURCE DIALOG r_cshelp_install_uninstall_note |
|
1012 { |
|
1013 flags = EAknInformationNoteFlags; |
|
1014 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
1015 items = |
|
1016 { |
|
1017 DLG_LINE |
|
1018 { |
|
1019 type=EAknCtNote; |
|
1020 id=EInstallNote; |
|
1021 |
|
1022 control= AVKON_NOTE |
|
1023 { |
|
1024 layout = EGeneralLayout; |
|
1025 singular_label = qtn_help_noteg_install; |
|
1026 }; |
|
1027 } |
|
1028 }; |
|
1029 } |
|
1030 |
|
1031 // --------------------------------------------------------- |
|
1032 // |
|
1033 // r_qtn_help_title_help |
|
1034 // Define title of category list view. |
|
1035 // |
|
1036 // --------------------------------------------------------- |
|
1037 // |
|
1038 RESOURCE TBUF32 r_qtn_help_title_help |
|
1039 { |
|
1040 buf = qtn_help_title_help; |
|
1041 } |
|
1042 |
|
1043 // --------------------------------------------------------- |
|
1044 // |
|
1045 // r_qtn_help_note_no_topics |
|
1046 // when a other app launches help, no topic is available, |
|
1047 // then information note with this text is displayed. |
|
1048 // --------------------------------------------------------- |
|
1049 // |
|
1050 RESOURCE TBUF80 r_qtn_help_note_no_topics |
|
1051 { |
|
1052 buf = qtn_help_note_no_topics; |
|
1053 } |
|
1054 |
|
1055 |
|
1056 RESOURCE CBA r_softkeys_options_exit__options |
|
1057 { |
|
1058 buttons = |
|
1059 { |
|
1060 CBA_BUTTON {id=EAknSoftkeyOptions; txt = "Options";}, |
|
1061 CBA_BUTTON {id=EAknSoftkeyExit; txt = "Exit"; }, |
|
1062 CBA_BUTTON {id=EAknSoftkeyOptions; txt = "Options";} |
|
1063 }; |
|
1064 } |
|
1065 |
|
1066 //////////////////////////////////////////////////////////////// |
|
1067 //[FIXME: The resource r_cshelp_topic_view_layout |
|
1068 // is not used anymore. Instead TAknMultiLineTextLayout is used |
|
1069 // (in CCsHelpTopicContainer::SizeChanged and |
|
1070 // inCCsHelpTopicContainer::GetTextFormatL) |
|
1071 // --------------------------------------------------------- |
|
1072 // |
|
1073 // r_cshelp_topic_view_layout |
|
1074 // Define layout of topic view. |
|
1075 // |
|
1076 // --------------------------------------------------------- |
|
1077 // |
|
1078 /************************************************* |
|
1079 RESOURCE AVKON_LAYOUT_EDWIN r_cshelp_topic_view_layout |
|
1080 { |
|
1081 font = topic_view_font; //ELatinPlain12 |
|
1082 C = topic_view_C; //215 |
|
1083 l = topic_view_l; //4 |
|
1084 r = topic_view_r; //5 |
|
1085 B = topic_view_B; //21 |
|
1086 W = topic_view_W; //167 |
|
1087 J = topic_view_J; //ELayoutAlignBidi |
|
1088 lines = topic_view_lines; //8 |
|
1089 nextB = topic_view_nextB; //37 |
|
1090 } |
|
1091 ****************************************************/ |
|
1092 |
|
1093 // To let know what are the services that are provided |
|
1094 RESOURCE AIW_INTEREST r_aiwtutorialapp_interest |
|
1095 { |
|
1096 items = |
|
1097 { |
|
1098 AIW_CRITERIA_ITEM |
|
1099 { |
|
1100 id = ECmdAiwPlaceHolder; |
|
1101 serviceCmd = KAiwCmdHelp; |
|
1102 serviceClass = KAiwClassMenu; |
|
1103 contentType = "help/tutorial"; |
|
1104 defaultProvider = 0x10281D09; |
|
1105 maxProviders = 1; |
|
1106 }, |
|
1107 AIW_CRITERIA_ITEM |
|
1108 { |
|
1109 id = KPresentationExists; // Use service cmd id as id |
|
1110 serviceCmd = KPresentationExists; |
|
1111 serviceClass = KAiwClassMenu; |
|
1112 contentType = "help/tutorial"; |
|
1113 defaultProvider = 0x10281D09; |
|
1114 maxProviders = 1; |
|
1115 }, |
|
1116 AIW_CRITERIA_ITEM |
|
1117 { |
|
1118 id = KPlayPresentation; |
|
1119 serviceCmd = KPlayPresentation; |
|
1120 serviceClass = KAiwClassMenu; |
|
1121 contentType = "help/tutorial"; |
|
1122 defaultProvider = 0x10281D09; |
|
1123 maxProviders = 1; |
|
1124 } |
|
1125 }; |
|
1126 } |
|
1127 // --------------------------------------------------------- |
|
1128 // |
|
1129 // qtn_memlo_ram_out_of_mem |
|
1130 // Text to display for low memory situations. |
|
1131 // |
|
1132 // --------------------------------------------------------- |
|
1133 RESOURCE TBUF256 r_cshelp_retrieve_no_memory_text |
|
1134 { |
|
1135 buf = qtn_memlo_ram_out_of_mem; |
|
1136 } |
|
1137 |
|
1138 #ifdef FF_HELP_TUTORIAL_MERGE |
|
1139 // --------------------------------------------------------- |
|
1140 // |
|
1141 // qtn_memlo_ram_out_of_mem |
|
1142 // Text to display for low memory situations. |
|
1143 // |
|
1144 // --------------------------------------------------------- |
|
1145 RESOURCE TBUF256 r_cshelp_tutorial_text |
|
1146 { |
|
1147 buf = qtn_help_toc_list_item_tutorial; |
|
1148 } |
|
1149 #endif |
|
1150 |
|
1151 // --------------------------------------------------------- |
|
1152 // |
|
1153 // qtn_help_toc_app_helps |
|
1154 // One topic indicates for a collection of post-build helps, |
|
1155 // all installed helps should be put within it |
|
1156 // --------------------------------------------------------- |
|
1157 // |
|
1158 RESOURCE TBUF80 r_cshelp_toc_app_helps |
|
1159 { |
|
1160 buf = qtn_help_toc_app_helps; |
|
1161 } |
|
1162 |
|
1163 // End of File |
|