|
1 /* |
|
2 * Copyright (c) 2002-2006 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 * This file contains all the resources for the module. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 // RESOURCE IDENTIFIER |
|
22 NAME MMSV // 4 letter ID |
|
23 |
|
24 // INCLUDES |
|
25 #include <bldvariant.hrh> |
|
26 |
|
27 #include <eikon.rh> |
|
28 #include <eikon.rsg> |
|
29 #include <avkon.rh> |
|
30 #include <avkon.rsg> |
|
31 #include <avkon.mbg> |
|
32 #include <avkon.hrh> |
|
33 |
|
34 #include <aknsconstants.hrh> // EAknsMajorGeneric etc. |
|
35 |
|
36 #include <finditem.hrh> |
|
37 |
|
38 #include <MsgEditor.rh> |
|
39 |
|
40 #include <avkon.loc> |
|
41 #include <drmcommon.loc> |
|
42 #include <messaging.loc> |
|
43 #include <unieditor.loc> |
|
44 |
|
45 #include <appinfo.rh> |
|
46 #include <data_caging_paths_strings.hrh> |
|
47 |
|
48 #include <MsgEditor.hrh> |
|
49 #include "MmsViewer.hrh" |
|
50 #include <mmsui.loc> |
|
51 |
|
52 #include <mmsui.mbg> // title icon |
|
53 #include <muiu.mbg> // title icon |
|
54 |
|
55 // RESOURCES |
|
56 |
|
57 RESOURCE RSS_SIGNATURE { } |
|
58 |
|
59 RESOURCE TBUF { buf = ""; } |
|
60 |
|
61 // RESOURCE DEFINITIONS |
|
62 // --------------------------------------------------------- |
|
63 // |
|
64 // eik_app_info |
|
65 // Application resource info |
|
66 // |
|
67 // --------------------------------------------------------- |
|
68 // |
|
69 |
|
70 RESOURCE EIK_APP_INFO |
|
71 { |
|
72 menubar = r_mmsviewer_menu; |
|
73 status_pane = r_mmsviewer_status_pane; |
|
74 cba = r_mmsviewer_softkeys_options_back_empty; |
|
75 custom_app_info_extension = r_mmsviewer_app_info_extension; |
|
76 } |
|
77 |
|
78 // --------------------------------------------------------- |
|
79 // |
|
80 // r_mmsviewer_app_info_extension |
|
81 // Application resource info extension |
|
82 // |
|
83 // --------------------------------------------------------- |
|
84 // |
|
85 RESOURCE EIK_APP_INFO_EXT r_mmsviewer_app_info_extension |
|
86 { |
|
87 popup_toolbar = r_mmsviewer_app_toolbar; |
|
88 } |
|
89 |
|
90 |
|
91 //---------------------------------------------------- |
|
92 // |
|
93 // r_mmsviewer_app_toolbar - CAknToolbar |
|
94 // Application toolbar |
|
95 // |
|
96 //---------------------------------------------------- |
|
97 // |
|
98 // Needed by skinning. In toolbar resource definition skin support and bitmap methods are used, in case skin |
|
99 // does not support toolbar icons |
|
100 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_mmsviewer_reply_button_state_extension |
|
101 { |
|
102 bmbSkinIdMajor= EAknsMajorGeneric; |
|
103 bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbMsgReply; |
|
104 } |
|
105 |
|
106 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_mmsviewer_forward_button_state_extension |
|
107 { |
|
108 bmbSkinIdMajor= EAknsMajorGeneric; |
|
109 bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbMsgForward; |
|
110 } |
|
111 |
|
112 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_mmsviewer_delete_button_state_extension |
|
113 { |
|
114 bmbSkinIdMajor= EAknsMajorGeneric; |
|
115 bmbSkinIdMinor= EAknsMinorGenericQgnIndiMgTbDelete; |
|
116 } |
|
117 |
|
118 |
|
119 RESOURCE AVKON_TOOLBAR r_mmsviewer_app_toolbar |
|
120 { |
|
121 flags = KAknToolbarFixed; |
|
122 items = |
|
123 { |
|
124 TBAR_CTRL |
|
125 { |
|
126 type = EAknCtButton; |
|
127 id = EMmsViewerToolbarReply; |
|
128 control = AVKON_BUTTON |
|
129 { |
|
130 flags = KAknButtonSizeFitText; |
|
131 states = |
|
132 { |
|
133 AVKON_BUTTON_STATE |
|
134 { |
|
135 helptxt = qtn_mms_tb_tooltip_reply; |
|
136 bmpfile = BITMAP_DIR"\\muiu.mif"; |
|
137 bmpid = EMbmMuiuQgn_indi_tb_msg_reply; |
|
138 bmpmask = EMbmMuiuQgn_indi_tb_msg_reply_mask; |
|
139 extension = r_mmsviewer_reply_button_state_extension; |
|
140 } |
|
141 }; |
|
142 }; |
|
143 }, |
|
144 TBAR_CTRL |
|
145 { |
|
146 type = EAknCtButton; |
|
147 id = EMmsViewerToolbarForward; |
|
148 control = AVKON_BUTTON |
|
149 { |
|
150 flags = KAknButtonSizeFitText; |
|
151 states = |
|
152 { |
|
153 AVKON_BUTTON_STATE |
|
154 { |
|
155 helptxt = qtn_mms_tb_tooltip_forward; |
|
156 bmpfile = BITMAP_DIR"\\muiu.mif"; |
|
157 bmpid = EMbmMuiuQgn_indi_tb_msg_forward; |
|
158 bmpmask = EMbmMuiuQgn_indi_tb_msg_forward_mask; |
|
159 extension = r_mmsviewer_forward_button_state_extension; |
|
160 } |
|
161 }; |
|
162 }; |
|
163 }, |
|
164 TBAR_CTRL |
|
165 { |
|
166 type = EAknCtButton; |
|
167 id = EMmsViewerToolbarDelete; |
|
168 control = AVKON_BUTTON |
|
169 { |
|
170 flags = KAknButtonSizeFitText; |
|
171 states = |
|
172 { |
|
173 AVKON_BUTTON_STATE |
|
174 { |
|
175 helptxt = qtn_mms_tb_tooltip_delete; |
|
176 bmpfile = BITMAP_DIR"\\muiu.mif"; |
|
177 bmpid = EMbmMuiuQgn_indi_mg_tb_delete; |
|
178 bmpmask = EMbmMuiuQgn_indi_mg_tb_delete; |
|
179 extension = r_mmsviewer_delete_button_state_extension; |
|
180 } |
|
181 }; |
|
182 }; |
|
183 } |
|
184 }; |
|
185 } |
|
186 |
|
187 |
|
188 // RESOURCE DEFINITIONS |
|
189 // --------------------------------------------------------- |
|
190 // |
|
191 // Default Viewer CBA |
|
192 // |
|
193 // --------------------------------------------------------- |
|
194 // |
|
195 RESOURCE CBA r_mmsviewer_softkeys_options_back_empty |
|
196 { |
|
197 buttons = |
|
198 { |
|
199 CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;}, |
|
200 CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back; }, |
|
201 CBA_BUTTON {id=0; txt = text_softkey_empty; } |
|
202 }; |
|
203 } |
|
204 |
|
205 // RESOURCE DEFINITIONS |
|
206 // --------------------------------------------------------- |
|
207 // |
|
208 // MSK CBA buttons |
|
209 // |
|
210 // --------------------------------------------------------- |
|
211 // |
|
212 |
|
213 RESOURCE CBA_BUTTON r_mmsviewer_msk_button_context_menu |
|
214 { |
|
215 id = EAknSoftkeyContextOptions; |
|
216 txt = text_softkey_option; |
|
217 } |
|
218 |
|
219 RESOURCE CBA_BUTTON r_mmsviewer_msk_button_play_audio |
|
220 { |
|
221 id = EMmsViewerPlayAudio; |
|
222 txt = qtn_msk_play; |
|
223 } |
|
224 |
|
225 RESOURCE CBA_BUTTON r_mmsviewer_msk_button_play_video |
|
226 { |
|
227 id = EMmsViewerPlayVideo; |
|
228 txt = qtn_msk_play; |
|
229 } |
|
230 |
|
231 RESOURCE CBA_BUTTON r_mmsviewer_msk_button_open_image |
|
232 { |
|
233 id = EMmsViewerViewImage; |
|
234 txt = qtn_msk_open; |
|
235 } |
|
236 |
|
237 RESOURCE CBA_BUTTON r_mmsviewer_msk_button_play_presentation |
|
238 { |
|
239 id = EMmsViewerShowPresentation; |
|
240 txt = qtn_msk_play; |
|
241 } |
|
242 |
|
243 RESOURCE CBA_BUTTON r_mmsviewer_msk_button_open_objects |
|
244 { |
|
245 id = EMmsViewerObjects; |
|
246 txt = qtn_msk_objects; |
|
247 } |
|
248 |
|
249 RESOURCE CBA_BUTTON r_mmsviewer_msk_button_stop_audio |
|
250 { |
|
251 id = EMmsViewerSoftStopAudio; |
|
252 txt = text_softkey_empty; |
|
253 } |
|
254 |
|
255 RESOURCE CBA_BUTTON r_mmsviewer_msk_button_stop_video |
|
256 { |
|
257 id = EMmsViewerSoftStopVideo; |
|
258 txt = text_softkey_empty; |
|
259 } |
|
260 |
|
261 RESOURCE CBA_BUTTON r_mmsviewer_msk_no_command_empty_text |
|
262 { |
|
263 id = 0; |
|
264 txt = text_softkey_empty; |
|
265 } |
|
266 |
|
267 |
|
268 #ifdef RD_SVGT_IN_MESSAGING |
|
269 |
|
270 RESOURCE CBA_BUTTON r_mmsviewer_msk_button_play_svg |
|
271 { |
|
272 id = EMmsViewerPlaySvg; |
|
273 txt = qtn_msk_play; |
|
274 } |
|
275 |
|
276 |
|
277 RESOURCE CBA_BUTTON r_mmsviewer_msk_button_stop_svg |
|
278 { |
|
279 id = EMmsViewerSoftStopSvg; |
|
280 txt = text_softkey_empty; |
|
281 } |
|
282 |
|
283 #endif |
|
284 // RESOURCE DEFINITIONS |
|
285 // --------------------------------------------------------- |
|
286 // |
|
287 // r_mmsviewer_localisable_app_info |
|
288 // Application resource info |
|
289 // |
|
290 // --------------------------------------------------------- |
|
291 // |
|
292 RESOURCE LOCALISABLE_APP_INFO r_mmsviewer_localisable_app_info |
|
293 { |
|
294 short_caption = qtn_apps_mmsviewer_grid; |
|
295 caption_and_icon = |
|
296 CAPTION_AND_ICON_INFO |
|
297 { |
|
298 caption = qtn_apps_mmsviewer_list; |
|
299 #ifdef __SCALABLE_ICONS |
|
300 number_of_icons = 1; |
|
301 icon_file = APP_BITMAP_DIR"\\mmsviewer_aif.mif"; |
|
302 #else |
|
303 number_of_icons = 1; |
|
304 icon_file = APP_BITMAP_DIR"\\mmsviewer_aif.mbm"; |
|
305 #endif |
|
306 }; |
|
307 } |
|
308 |
|
309 // RESOURCE DEFINITIONS |
|
310 // --------------------------------------------------------- |
|
311 // |
|
312 // r_mmsviewer_status_pane - statuspane |
|
313 // Status pane for MMS Viewer |
|
314 // |
|
315 // --------------------------------------------------------- |
|
316 // |
|
317 RESOURCE STATUS_PANE_APP_MODEL r_mmsviewer_status_pane |
|
318 { |
|
319 layout = R_AVKON_STATUS_PANE_LAYOUT_USUAL; |
|
320 panes= |
|
321 { |
|
322 SPANE_PANE |
|
323 { |
|
324 id = EEikStatusPaneUidTitle; |
|
325 type = EAknCtTitlePane; |
|
326 resource = r_mmsviewer_app_name; |
|
327 } |
|
328 }; |
|
329 } |
|
330 |
|
331 // RESOURCE DEFINITIONS |
|
332 // --------------------------------------------------------- |
|
333 // |
|
334 // r_mmsviewer_app_name - titlepane |
|
335 // Title pane for MMS Viewer |
|
336 // |
|
337 // --------------------------------------------------------- |
|
338 // |
|
339 RESOURCE TITLE_PANE r_mmsviewer_app_name |
|
340 { |
|
341 txt = qtn_mms_title_mms_shorter; |
|
342 } |
|
343 |
|
344 // RESOURCE DEFINITIONS |
|
345 // --------------------------------------------------------- |
|
346 // |
|
347 // r_mmsviewer_menu - menubar |
|
348 // Options mainmenu titles |
|
349 // |
|
350 // --------------------------------------------------------- |
|
351 // |
|
352 RESOURCE MENU_BAR r_mmsviewer_menu |
|
353 { |
|
354 titles = |
|
355 { |
|
356 MENU_TITLE { menu_pane = r_mmsviewer_optionsmenu; } |
|
357 }; |
|
358 } |
|
359 |
|
360 // --------------------------------------------------------- |
|
361 // |
|
362 // r_mmsviewer_selectmenu |
|
363 // This menubar is shown when selection key is pressed. |
|
364 // |
|
365 // --------------------------------------------------------- |
|
366 // |
|
367 RESOURCE MENU_BAR r_mmsviewer_selectmenu |
|
368 { |
|
369 titles = |
|
370 { |
|
371 MENU_TITLE { menu_pane = r_mmsviewer_selectionmenu; } |
|
372 }; |
|
373 } |
|
374 |
|
375 |
|
376 // RESOURCE DEFINITIONS |
|
377 // --------------------------------------------------------- |
|
378 // |
|
379 // r_mmsviewer_optionsmenu - menupane |
|
380 // Options mainmenu items |
|
381 // |
|
382 // --------------------------------------------------------- |
|
383 // |
|
384 RESOURCE MENU_PANE r_mmsviewer_optionsmenu |
|
385 { |
|
386 items = |
|
387 { |
|
388 |
|
389 MENU_ITEM { command = EMmsViewerReplyMenu; txt = qtn_mms_om_reply; |
|
390 cascade = r_mmsviewer_reply_submenu; }, |
|
391 MENU_ITEM { command = EMmsViewerUpload; txt = qtn_options_send_via; }, |
|
392 MENU_ITEM { command = EMmsViewerForward; txt = qtn_mms_om_forward; }, |
|
393 MENU_ITEM { command = EMmsViewerDelete; txt = qtn_msg_om_delete; }, |
|
394 MENU_ITEM { command = EFindItemMenuPlaceHolder; txt = ""; }, |
|
395 |
|
396 MENU_ITEM { command = EMmsViewerShowMessage; txt = qtn_mms_om_play_message; }, |
|
397 MENU_ITEM { command = EMmsViewerObjects; txt = qtn_mms_om_objects; }, |
|
398 MENU_ITEM { command = EMmsViewerMessageInfo; txt = qtn_msg_om_message_info; }, |
|
399 MENU_ITEM { command = EMmsViewerDeliveryStatus; txt = qtn_msg_om_delivery_status; }, |
|
400 MENU_ITEM { command = EMmsViewerMove; txt = qtn_mms_om_move_to_folder; }, |
|
401 MENU_ITEM { command = EMmsViewerSubmenuZoomCommands; |
|
402 txt = qtn_options_text_size; |
|
403 cascade = r_mmsviewer_zoom_submenu; |
|
404 }, |
|
405 MENU_ITEM { command = EAknCmdHelp; txt = qtn_options_help; }, |
|
406 MENU_ITEM { command = EAknCmdExit; txt = qtn_mms_om_exit; } |
|
407 }; |
|
408 } |
|
409 |
|
410 |
|
411 // RESOURCE DEFINITIONS |
|
412 //---------------------------------------------------- |
|
413 // |
|
414 // r_mmsviewer_zoom_submenu |
|
415 // |
|
416 //---------------------------------------------------- |
|
417 // |
|
418 RESOURCE MENU_PANE r_mmsviewer_zoom_submenu |
|
419 { |
|
420 items= |
|
421 { |
|
422 |
|
423 MENU_ITEM { command = EMsgDispSizeAutomatic; |
|
424 txt = qtn_options_auto; |
|
425 flags = EEikMenuItemRadioStart; |
|
426 } |
|
427 , |
|
428 MENU_ITEM { command = EMsgDispSizeLarge; |
|
429 txt = qtn_options_large; |
|
430 flags = EEikMenuItemRadioMiddle; |
|
431 } |
|
432 , |
|
433 MENU_ITEM { command = EMsgDispSizeNormal; |
|
434 txt = qtn_options_normal; |
|
435 flags = EEikMenuItemRadioMiddle; |
|
436 } |
|
437 , |
|
438 MENU_ITEM { command = EMsgDispSizeSmall; |
|
439 txt = qtn_options_small; |
|
440 flags = EEikMenuItemRadioEnd; |
|
441 } |
|
442 }; |
|
443 } |
|
444 |
|
445 // --------------------------------------------------------- |
|
446 // |
|
447 // r_mmsviewer_reply_submenu - menupane |
|
448 // Options mainmenu's submenu containing reply functions |
|
449 // |
|
450 // --------------------------------------------------------- |
|
451 // |
|
452 RESOURCE MENU_PANE r_mmsviewer_reply_submenu |
|
453 { |
|
454 items= |
|
455 { |
|
456 MENU_ITEM { command = EMmsViewerReplyToSender; txt = qtn_mms_sm_to_sender; }, |
|
457 MENU_ITEM { command = EMmsViewerReplyToAll; txt = qtn_mms_sm_to_all; }, |
|
458 MENU_ITEM { command = EMmsViewerReplyViaAudio; txt = qtn_msg_reply_via_audio_message; }, |
|
459 MENU_ITEM { command = EMmsViewerReplyViaMail; txt = qtn_mms_sm_via_mail; } |
|
460 }; |
|
461 } |
|
462 |
|
463 // RESOURCE DEFINITIONS |
|
464 // --------------------------------------------------------- |
|
465 // |
|
466 // r_mmsviewer_selectionmenu - menupane |
|
467 // Options mainmenu when selection key is pressed |
|
468 // |
|
469 // --------------------------------------------------------- |
|
470 // |
|
471 RESOURCE MENU_PANE r_mmsviewer_selectionmenu |
|
472 { |
|
473 items= |
|
474 { |
|
475 MENU_ITEM |
|
476 { |
|
477 command = EFindItemContextMenuPlaceHolder; |
|
478 txt = ""; |
|
479 } |
|
480 }; |
|
481 } |
|
482 |
|
483 // RESOURCE DEFINITIONS |
|
484 // --------------------------------------------------------- |
|
485 // |
|
486 // r_mmsviewer_from - msgeditoraddresscontrol |
|
487 // Address control for received messages |
|
488 // |
|
489 // --------------------------------------------------------- |
|
490 // |
|
491 RESOURCE MSG_EDITOR_ADDRESS_CONTROL r_mmsviewer_from |
|
492 { |
|
493 prompt = qtn_msg_from; |
|
494 id = EMsgComponentIdFrom; |
|
495 distance = 0; |
|
496 } |
|
497 |
|
498 // RESOURCE DEFINITIONS |
|
499 // --------------------------------------------------------- |
|
500 // |
|
501 // r_mmsviewer_to - msgeditoraddresscontrol |
|
502 // Address control for sent messages |
|
503 // |
|
504 // --------------------------------------------------------- |
|
505 // |
|
506 RESOURCE MSG_EDITOR_ADDRESS_CONTROL r_mmsviewer_to |
|
507 { |
|
508 prompt = qtn_msg_to; |
|
509 id = EMsgComponentIdTo; |
|
510 distance = 0; |
|
511 } |
|
512 |
|
513 // --------------------------------------------------------- |
|
514 // |
|
515 // r_mmsviewer_cc - msgeditoraddresscontrol |
|
516 // Address control for sent messages |
|
517 // |
|
518 // --------------------------------------------------------- |
|
519 // |
|
520 RESOURCE MSG_EDITOR_ADDRESS_CONTROL r_mmsviewer_cc |
|
521 { |
|
522 prompt = qtn_msg_cc; |
|
523 id = EMsgComponentIdCc; |
|
524 distance = 0; |
|
525 } |
|
526 // --------------------------------------------------------- |
|
527 // |
|
528 // r_mmsviewer_bcc - msgeditoraddresscontrol |
|
529 // Address control for sent messages |
|
530 // |
|
531 // --------------------------------------------------------- |
|
532 // |
|
533 RESOURCE MSG_EDITOR_ADDRESS_CONTROL r_mmsviewer_bcc |
|
534 { |
|
535 prompt = qtn_msg_bcc; |
|
536 id = EMsgComponentIdBcc; |
|
537 distance = 0; |
|
538 } |
|
539 |
|
540 |
|
541 // RESOURCE DEFINITIONS |
|
542 // --------------------------------------------------------- |
|
543 // |
|
544 // r_mmsviewer_subject - msgeditorexpandablecontrol |
|
545 // Subject control |
|
546 // |
|
547 // --------------------------------------------------------- |
|
548 // |
|
549 RESOURCE MSG_EDITOR_EXPANDABLE_CONTROL r_mmsviewer_subject |
|
550 { |
|
551 prompt = qtn_msg_subject; |
|
552 id = EMsgComponentIdSubject; |
|
553 distance = 0; |
|
554 } |
|
555 |
|
556 // RESOURCE DEFINITIONS |
|
557 // --------------------------------------------------------- |
|
558 // |
|
559 // r_mmsviewer_softkeys_empty_stop_stopvideo - softkeys |
|
560 // Softkeys while video is playing |
|
561 // |
|
562 // --------------------------------------------------------- |
|
563 // |
|
564 RESOURCE CBA r_mmsviewer_softkeys_empty_stopvideo |
|
565 { |
|
566 buttons = |
|
567 { |
|
568 CBA_BUTTON { txt = text_softkey_empty; }, |
|
569 CBA_BUTTON { id = EMmsViewerSoftStopVideo; txt = qtn_skrs_stop_scroll; }, |
|
570 CBA_BUTTON { id = EMmsViewerSoftStopVideo; txt = text_softkey_empty; } |
|
571 }; |
|
572 } |
|
573 |
|
574 // RESOURCE DEFINITIONS |
|
575 // --------------------------------------------------------- |
|
576 // |
|
577 // r_mmsviewer_softkeys_empty_stop - softkeys |
|
578 // Softkeys while audio is playing |
|
579 // |
|
580 // --------------------------------------------------------- |
|
581 // |
|
582 RESOURCE CBA r_mmsviewer_softkeys_empty_stop |
|
583 { |
|
584 buttons = |
|
585 { |
|
586 CBA_BUTTON { txt = text_softkey_empty; }, |
|
587 CBA_BUTTON { id = EMmsViewerSoftStopAudio; txt = qtn_mms_rsk_stop; }, |
|
588 CBA_BUTTON { id = EMmsViewerSoftStopAudio; txt = text_softkey_empty; } |
|
589 }; |
|
590 } |
|
591 |
|
592 |
|
593 // RESOURCE DEFINITIONS |
|
594 // --------------------------------------------------------- |
|
595 // |
|
596 // r_mmsviewer_confirmation_query - dialog |
|
597 // Confirmation query template |
|
598 // |
|
599 // --------------------------------------------------------- |
|
600 // |
|
601 RESOURCE DIALOG r_mmsviewer_confirmation_query |
|
602 { |
|
603 flags = EGeneralQueryFlags; |
|
604 buttons = R_AVKON_SOFTKEYS_YES_NO__YES; |
|
605 items= |
|
606 { |
|
607 DLG_LINE |
|
608 { |
|
609 type = EAknCtQuery; |
|
610 id = EGeneralQuery; |
|
611 control = AVKON_CONFIRMATION_QUERY |
|
612 { |
|
613 layout = EConfirmationLayout; |
|
614 label = ""; |
|
615 }; |
|
616 } |
|
617 }; |
|
618 } |
|
619 |
|
620 // RESOURCE DEFINITIONS |
|
621 // --------------------------------------------------------- |
|
622 // |
|
623 // r_mmsviewer_confirmation_query_ok_empty - dialog |
|
624 // Confirmation query template with softkeys ok/empty |
|
625 // |
|
626 // --------------------------------------------------------- |
|
627 // |
|
628 RESOURCE DIALOG r_mmsviewer_confirmation_query_ok_empty |
|
629 { |
|
630 flags = EGeneralQueryFlags; |
|
631 buttons = R_AVKON_SOFTKEYS_OK_EMPTY__OK; |
|
632 items= |
|
633 { |
|
634 DLG_LINE |
|
635 { |
|
636 type = EAknCtQuery; |
|
637 id = EGeneralQuery; |
|
638 control = AVKON_CONFIRMATION_QUERY |
|
639 { |
|
640 layout = EConfirmationLayout; |
|
641 label = ""; |
|
642 animation = R_QGN_NOTE_INFO_ANIM; |
|
643 }; |
|
644 } |
|
645 }; |
|
646 } |
|
647 |
|
648 // RESOURCE DEFINITIONS |
|
649 // --------------------------------------------------------- |
|
650 // |
|
651 // r_mmsviewer_wait_loading - dialog |
|
652 // Wait note. Displayed while loading a message. |
|
653 // |
|
654 // --------------------------------------------------------- |
|
655 // |
|
656 RESOURCE DIALOG r_mmsviewer_wait_loading |
|
657 { |
|
658 flags= EAknWaitNoteFlags; |
|
659 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
660 items = |
|
661 { |
|
662 DLG_LINE |
|
663 { |
|
664 type = EAknCtNote; |
|
665 id = 1; |
|
666 control = AVKON_NOTE |
|
667 { |
|
668 layout = EWaitLayout; |
|
669 singular_label = qtn_mms_wait_animation_load; |
|
670 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
671 }; |
|
672 } |
|
673 }; |
|
674 } |
|
675 |
|
676 // RESOURCE DEFINITIONS |
|
677 // --------------------------------------------------------- |
|
678 // |
|
679 // r_mmsviewer_wait_opening_page - dialog |
|
680 // Wait note. Displayed while opening a page. |
|
681 // |
|
682 // --------------------------------------------------------- |
|
683 // |
|
684 RESOURCE DIALOG r_mmsviewer_wait_opening_page |
|
685 { |
|
686 flags= EAknWaitNoteFlags; |
|
687 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
688 items = |
|
689 { |
|
690 DLG_LINE |
|
691 { |
|
692 type = EAknCtNote; |
|
693 id = 1; |
|
694 control = AVKON_NOTE |
|
695 { |
|
696 layout = EWaitLayout; |
|
697 singular_label = ""; //set dynamically |
|
698 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
699 }; |
|
700 } |
|
701 }; |
|
702 } |
|
703 |
|
704 |
|
705 |
|
706 // |
|
707 // "Upload" list query |
|
708 // |
|
709 RESOURCE AVKON_MULTISELECTION_LIST_QUERY r_mmsviewer_upload_list_query |
|
710 { |
|
711 flags = EGeneralQueryFlags; |
|
712 softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT; |
|
713 items = |
|
714 { |
|
715 AVKON_MULTISELECTION_LIST_QUERY_DLG_LINE |
|
716 { |
|
717 control = AVKON_LIST_QUERY_CONTROL |
|
718 { |
|
719 listtype = EAknCtSinglePopupMenuListBox; |
|
720 listbox = AVKON_LIST_QUERY_LIST |
|
721 { |
|
722 array_id = 0; |
|
723 }; |
|
724 heading = qtn_query_heading_send; // from "Messaging.loc" |
|
725 }; |
|
726 } |
|
727 }; |
|
728 } |
|
729 |
|
730 |
|
731 // RESOURCE DEFINITIONS - LOGICAL STRINGS |
|
732 // --------------------------------------------------------- |
|
733 // Logical strings |
|
734 // |
|
735 // "Forward not possible" strings |
|
736 //---------------------------------------------------- |
|
737 |
|
738 RESOURCE TBUF r_mmsviewer_cannot_fw_objects { buf = qtn_mms_err_cannot_fw_objects ; } |
|
739 RESOURCE TBUF r_mmsviewer_rmode_cannot_fw_objects { buf = qtn_mms_err_rmode_cannot_fw_objects ; } |
|
740 |
|
741 RESOURCE TBUF r_mmsviewer_cannot_fw_pres { buf = qtn_mms_err_cannot_fw_pres ; } |
|
742 RESOURCE TBUF r_mmsviewer_rmode_cannot_fw_pres { buf = qtn_mms_err_rmode_cannot_fw_pres ; } |
|
743 |
|
744 RESOURCE TBUF r_mmsviewer_cannot_fw_drm { buf = qtn_drm_forw_forbid ; } |
|
745 RESOURCE TBUF r_mmsviewer_cannot_fw_big { buf = qtn_mms_err_cannot_fw_big ; } |
|
746 |
|
747 RESOURCE TBUF r_mmsviewer_drm_preview_rights { buf = qtn_drm_preview_msg ; } |
|
748 |
|
749 // handled by DrmHelper, media control knows the error code |
|
750 RESOURCE TBUF r_mmsviewer_drm_error { buf = "" ; } |
|
751 |
|
752 // RESOURCE DEFINITIONS |
|
753 //---------------------------------------------------- |
|
754 // |
|
755 // r_mmsviewer_cannot_display_objects - buffer |
|
756 // Buffer for information note wrapper |
|
757 // Shown when message cannot be displayed in preview mode |
|
758 // |
|
759 //---------------------------------------------------- |
|
760 // |
|
761 RESOURCE TBUF r_mmsviewer_cannot_display_objects { buf = qtn_mms_info_fwd_cannot_display ; } |
|
762 |
|
763 // RESOURCE DEFINITIONS |
|
764 //---------------------------------------------------- |
|
765 // |
|
766 // r_mmsviewer_drm_object_removed - buffer |
|
767 // Buffer for information note wrapper |
|
768 // Shown when a DRM object is removed from the message |
|
769 // |
|
770 //---------------------------------------------------- |
|
771 // |
|
772 RESOURCE TBUF r_mmsviewer_drm_object_removed { buf = qtn_drm_fl_info_item_discard ; } |
|
773 |
|
774 // RESOURCE DEFINITIONS |
|
775 //---------------------------------------------------- |
|
776 // |
|
777 // r_mmsviewer_object_corrupted_string - buffer |
|
778 // Buffer for information note wrapper |
|
779 // Shown when message cannot be displayed as intended |
|
780 // because of corrupted object |
|
781 // |
|
782 //---------------------------------------------------- |
|
783 // |
|
784 RESOURCE TBUF r_qtn_mms_cannot_open_corrupted { buf = qtn_mms_cannot_open_corrupted; } |
|
785 |
|
786 // // From Messaging.loc |
|
787 RESOURCE TBUF r_mmsviewer_error_msg_corrupt { buf = qtn_msg_err_cannot_open_msg; } |
|
788 |
|
789 RESOURCE TBUF r_mmsviewer_plain_music_prohibited { buf = qtn_mp_info_tone_no_drm; } |
|
790 |
|
791 RESOURCE TBUF r_mmsviewer_quest_delete_message { buf = qtn_mms_quest_delete_msg; } |
|
792 |
|
793 RESOURCE TBUF r_mmsviewer_quest_send_every_wo_rights { buf = qtn_drm_send_wo_rights_sd;} |
|
794 |
|
795 RESOURCE TBUF r_mmsviewer_quest_send_one_wo_rights { buf = qtn_drm_send_wo_rights_sd_1;} |
|
796 |
|
797 RESOURCE TBUF r_mmsviewer_quest_send_some_wo_rights { buf = qtn_drm_send_wo_rights_misc;} |
|
798 |
|
799 RESOURCE TBUF r_mmsviewer_quest_guided_inc_obj { buf = qtn_mms_conf_guid_incl_object; } |
|
800 |
|
801 RESOURCE TBUF r_mmsviewer_quest_guided_inc_objs { buf = qtn_mms_conf_guid_incl_objects; } |
|
802 |
|
803 RESOURCE TBUF r_mmsviewer_quest_guided_presentation { buf = qtn_mms_conf_guid_present; } |
|
804 |
|
805 // texts to be shown in title pane |
|
806 RESOURCE TBUF r_mmsviewer_upper_row { buf = qtn_mms_title_mms_shorter ; } |
|
807 |
|
808 RESOURCE TBUF r_mmsviewer_opening_page { buf = qtn_mms_wait_opening_page; } |
|
809 |
|
810 |
|
811 //---------------------------------------------------- |
|
812 // |
|
813 // r_mmsviewer_ordinal_number - tbuf |
|
814 // Ordinal number of current message in navipane |
|
815 // (in 16 characters theres space for 9999999 messages plus |
|
816 // two characters for the separator e.g. 1000000/9999999) |
|
817 // |
|
818 //---------------------------------------------------- |
|
819 // |
|
820 #ifndef RD_MSG_NAVIPANE_IMPROVEMENT |
|
821 RESOURCE TBUF r_mmsviewer_ordinal_number { buf = qtn_stat_msg_number ; } |
|
822 #endif |
|
823 |
|
824 //----------------------------------------------------- |
|
825 // |
|
826 // r_mmsviewer_move_text |
|
827 // Text in "Move to" selection dialog |
|
828 // |
|
829 //----------------------------------------------------- |
|
830 // |
|
831 RESOURCE TBUF r_mmsviewer_move_text { buf = qtn_mms_popup_text_move_to; } |
|
832 |
|
833 //----------------------------------------------------- |
|
834 // |
|
835 // DRM notes for S60 3.0 |
|
836 // |
|
837 //----------------------------------------------------- |
|
838 // |
|
839 RESOURCE TBUF r_qtn_drm_gen_rights_exp { buf = qtn_drm_gen_rights_exp; } |
|
840 RESOURCE TBUF r_qtn_drm_no_rights_for_some { buf = qtn_drm_no_rights_for_some; } |
|
841 |
|
842 // --------------------------------------------------------- |
|
843 // r_mms_file_saved_to |
|
844 // File foo.bar saved to Photo album |
|
845 // |
|
846 // --------------------------------------------------------- |
|
847 // |
|
848 RESOURCE TBUF r_mms_file_saved_to { buf = qtn_fldr_file_saved_to; } |
|
849 |
|
850 // Silent mode |
|
851 RESOURCE TBUF r_qtn_mms_obey_silent_mode { buf = qtn_mms_qry_play_audio; } |
|
852 |
|
853 // RESOURCE DEFINITIONS |
|
854 //---------------------------------------------------- |
|
855 // |
|
856 // r_mmsviewer_cannot_play_videocall_ongoing - buffer |
|
857 // Buffer for information note wrapper |
|
858 // Shown when media cannot be played during video call |
|
859 // |
|
860 //---------------------------------------------------- |
|
861 // |
|
862 RESOURCE TBUF r_mmsviewer_cannot_play_videocall_ongoing { buf = qtn_mms_info_video_call_ongoing_no_media ; } |
|
863 // --------------------------------------------------------------------------- |
|
864 // r_mmsviewer_embedded_object_stylus_menu |
|
865 // --------------------------------------------------------------------------- |
|
866 // |
|
867 RESOURCE STYLUS_POPUP_MENU r_mmsviewer_embedded_object_stylus_menu |
|
868 { |
|
869 items = |
|
870 { |
|
871 STYLUS_POPUP_MENU_ITEM { txt = qtn_mms_om_save; |
|
872 command = EMmsViewerSaveObject; } |
|
873 }; |
|
874 } |
|
875 // End of File |