|
1 /* |
|
2 * Copyright (c) 2005-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: Resource definitions for project audiomessage |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 NAME AUDI // 4 letter id resource file. |
|
22 |
|
23 #include <bldvariant.hrh> |
|
24 #include <AvkonIcons.hrh> |
|
25 #include <finditem.hrh> |
|
26 #include <eikon.rh> |
|
27 #include <avkon.rh> |
|
28 #include <MsgEditor.rh> |
|
29 #include <avkon.rsg> |
|
30 #include <avkon.mbg> |
|
31 #include <audiomessage.mbg> |
|
32 #include <avkon.loc> |
|
33 #include <drmcommon.loc> |
|
34 #include <messaging.loc> |
|
35 #include <appinfo.rh> |
|
36 #include <data_caging_paths_strings.hrh> |
|
37 #include "audiomessage.hrh" |
|
38 #include <muiu.mbg> |
|
39 #include <aknsconstants.hrh> |
|
40 #include <audiomessage.loc> |
|
41 #include <voicerecorder.loc> |
|
42 |
|
43 RESOURCE RSS_SIGNATURE { } |
|
44 RESOURCE TBUF { buf = ""; } |
|
45 |
|
46 |
|
47 // --------------------------------------------------------------------------- |
|
48 // eik_app_info |
|
49 // Application resource info |
|
50 // --------------------------------------------------------------------------- |
|
51 // |
|
52 RESOURCE EIK_APP_INFO |
|
53 { |
|
54 menubar = r_audiomessage_menubar; |
|
55 cba = r_audiomessage_options_empty; |
|
56 status_pane = r_audiomessage_status_pane; |
|
57 } |
|
58 |
|
59 |
|
60 // --------------------------------------------------------------------------- |
|
61 // r_mmseditor_localisable_app_info |
|
62 // Application resource info |
|
63 // --------------------------------------------------------------------------- |
|
64 // |
|
65 RESOURCE LOCALISABLE_APP_INFO r_audiomessage_localisable_app_info |
|
66 { |
|
67 short_caption = qtn_title_audio_message; |
|
68 caption_and_icon = |
|
69 CAPTION_AND_ICON_INFO |
|
70 { |
|
71 caption = qtn_title_audio_message; |
|
72 #ifdef __SCALABLE_ICONS |
|
73 number_of_icons = 1; |
|
74 icon_file = APP_BITMAP_DIR"\\audiomessage_aif.mif"; |
|
75 #else |
|
76 number_of_icons = 2; |
|
77 icon_file = APP_BITMAP_DIR"\\audiomessage_aif.mbm"; |
|
78 #endif // __SCALABLE_ICONS |
|
79 }; |
|
80 } |
|
81 |
|
82 // Status pane resource |
|
83 RESOURCE STATUS_PANE_APP_MODEL r_audiomessage_status_pane |
|
84 { |
|
85 panes= |
|
86 { |
|
87 SPANE_PANE |
|
88 { |
|
89 id = EEikStatusPaneUidTitle; |
|
90 type = EAknCtTitlePane; |
|
91 resource = r_audiomessage_app_name; |
|
92 } |
|
93 }; |
|
94 } |
|
95 |
|
96 // App name |
|
97 RESOURCE TITLE_PANE r_audiomessage_app_name |
|
98 { |
|
99 txt = qtn_title_audio_message; |
|
100 } |
|
101 |
|
102 // Title |
|
103 RESOURCE TBUF r_audiomessage_title { buf = qtn_title_audio_message; } |
|
104 RESOURCE TBUF r_vr_video_call_infonote_label { buf = qtn_vorec_info_video_call_ongoing; } |
|
105 RESOURCE TBUF r_vr_internet_call_infonote_label { buf = qtn_vorec_info_internet_call_ongoing; } |
|
106 |
|
107 // ======== main view ======== |
|
108 |
|
109 // --------------------------------------------------------------------------- |
|
110 // r_audiomessage_to - address control |
|
111 // --------------------------------------------------------------------------- |
|
112 // |
|
113 RESOURCE MSG_EDITOR_ADDRESS_CONTROL r_audiomessage_to |
|
114 { |
|
115 prompt = qtn_msg_to; |
|
116 id = EMsgComponentIdTo; |
|
117 distance = 0; |
|
118 default_case = EAknEditorLowerCase; |
|
119 allowed_case_modes = EAknEditorAllCaseModes; |
|
120 default_input_mode = EAknEditorNumericInputMode; |
|
121 allowed_input_modes = EAknEditorTextInputMode | |
|
122 EAknEditorNumericInputMode; |
|
123 numeric_keymap = EAknEditorStandardNumberModeKeymap; |
|
124 avkon_flags = EAknEditorFlagNoT9 | |
|
125 EAknEditorFlagUseSCTNumericCharmap; |
|
126 } |
|
127 |
|
128 // --------------------------------------------------------------------------- |
|
129 // r_audiomessage_from - address control |
|
130 // Address control for received messages |
|
131 // --------------------------------------------------------------------------- |
|
132 // |
|
133 RESOURCE MSG_EDITOR_ADDRESS_CONTROL r_audiomessage_viewer_from |
|
134 { |
|
135 prompt = qtn_msg_from; |
|
136 id = EMsgComponentIdFrom; |
|
137 distance = 0; |
|
138 } |
|
139 |
|
140 // --------------------------------------------------------------------------- |
|
141 // r_audiomessage_to - address control |
|
142 // Address control for sent messages |
|
143 // --------------------------------------------------------------------------- |
|
144 // |
|
145 RESOURCE MSG_EDITOR_ADDRESS_CONTROL r_audiomessage_viewer_to |
|
146 { |
|
147 prompt = qtn_msg_to; |
|
148 id = EMsgComponentIdTo; |
|
149 distance = 0; |
|
150 } |
|
151 |
|
152 // --------------------------------------------------------------------------- |
|
153 // r_audiomessage_subject |
|
154 // subject control |
|
155 // --------------------------------------------------------------------------- |
|
156 // |
|
157 RESOURCE MSG_EDITOR_EXPANDABLE_CONTROL r_audiomessage_subject |
|
158 { |
|
159 prompt = qtn_msg_subject; |
|
160 id = EMsgComponentIdSubject; |
|
161 distance = 0; |
|
162 } |
|
163 |
|
164 |
|
165 // --------------------------------------------------------------------------- |
|
166 // r_audiomessage_menubar - menubar |
|
167 // Main views options menu |
|
168 // --------------------------------------------------------------------------- |
|
169 // |
|
170 RESOURCE MENU_BAR r_audiomessage_menubar |
|
171 { |
|
172 titles = |
|
173 { |
|
174 MENU_TITLE { menu_pane = r_audiomessage_main_menu; } |
|
175 }; |
|
176 } |
|
177 |
|
178 // --------------------------------------------------------------------------- |
|
179 // r_audiomessage_viewer_selectmenu - menubar |
|
180 // This menubar is shown when selection key is pressed |
|
181 // in viewer and focus is not in icon. |
|
182 // --------------------------------------------------------------------------- |
|
183 // |
|
184 RESOURCE MENU_BAR r_audiomessage_viewer_selectmenu |
|
185 { |
|
186 titles = |
|
187 { |
|
188 MENU_TITLE { menu_pane = r_audiomessage_viewer_context_menu; } |
|
189 }; |
|
190 } |
|
191 |
|
192 // --------------------------------------------------------------------------- |
|
193 // r_audiomessage_main_menu - menupane |
|
194 // Main views options menu items |
|
195 // --------------------------------------------------------------------------- |
|
196 // |
|
197 RESOURCE MENU_PANE r_audiomessage_main_menu |
|
198 { |
|
199 items = |
|
200 { |
|
201 MENU_ITEM { command = EAmsEditorCmdSend; |
|
202 txt = qtn_msg_om_send; } |
|
203 , |
|
204 MENU_ITEM { command = EAmsEditorCmdAddRecipient; |
|
205 txt = qtn_msg_om_add_recipient; } |
|
206 , |
|
207 MENU_ITEM { command = EAmsEditorSubmenuInsertAudioCommands; |
|
208 txt =qtn_audio_messaging_insert_audio; |
|
209 cascade = r_audiomessage_insert_audio_submenu; } |
|
210 , |
|
211 MENU_ITEM { command = EAmsEditorSubmenuReplaceAudioCommands; |
|
212 txt = qtn_audiomessaging_replace_audio; |
|
213 cascade = r_audiomessage_replace_audio_submenu; } |
|
214 , |
|
215 MENU_ITEM { command = EAmsEditorCmdSaveAudio; |
|
216 txt = qtn_audio_messaging_save_audio; } |
|
217 , |
|
218 MENU_ITEM { command = EAmsEditorCmdPlayAudio; |
|
219 txt = qtn_audio_messaging_play_audio; } |
|
220 , |
|
221 MENU_ITEM { command = EAmsViewerCmdSubmenuReply; |
|
222 txt = qtn_sms_reply; |
|
223 cascade = r_audiomessage_reply_submenu; } |
|
224 , |
|
225 MENU_ITEM { command = EAmsViewerCmdForward; |
|
226 txt = qtn_sms_forward; } |
|
227 , |
|
228 MENU_ITEM { command = EAmsViewerCmdSaveAudio; |
|
229 txt = qtn_audio_messaging_save_audio; } |
|
230 , |
|
231 MENU_ITEM { command = EAmsViewerCmdRemoveAudio; |
|
232 txt = qtn_msg_om_delete; } |
|
233 , |
|
234 MENU_ITEM { command = EFindItemMenuPlaceHolder; |
|
235 txt = ""; } |
|
236 , |
|
237 MENU_ITEM { command = EAmsEditorCmdChangePriority; |
|
238 txt = qtn_msg_om_priority; } |
|
239 , |
|
240 MENU_ITEM { command = EAmsEditorCmdMessageInfo; |
|
241 txt = qtn_msg_om_message_info; } |
|
242 , |
|
243 |
|
244 MENU_ITEM { command = EAmsViewerCmdDeliveryStatus; |
|
245 txt = qtn_msg_om_delivery_status; } |
|
246 , |
|
247 MENU_ITEM { command = EAmsViewerCmdMoveToFolder; |
|
248 txt = qtn_fldr_move_to_folder; } |
|
249 , |
|
250 /*MENU_ITEM { command = EAmsSubmenuZoomCommands; |
|
251 txt = qtn_options_text_size; |
|
252 cascade = r_audiomessage_zoom_submenu; } |
|
253 ,*/ |
|
254 MENU_ITEM { command = EAknCmdHelp; |
|
255 txt = qtn_options_help; } |
|
256 , |
|
257 MENU_ITEM { command = EAknCmdExit; |
|
258 txt = qtn_options_exit; } |
|
259 }; |
|
260 } |
|
261 |
|
262 |
|
263 //---------------------------------------------------- |
|
264 // |
|
265 // r_audiomessage_zoom_submenu - menupane |
|
266 // text zoom level |
|
267 // |
|
268 //---------------------------------------------------- |
|
269 // |
|
270 RESOURCE MENU_PANE r_audiomessage_zoom_submenu |
|
271 { |
|
272 items= |
|
273 { |
|
274 MENU_ITEM |
|
275 { |
|
276 command = EAmsDispSizeAutomatic; |
|
277 txt = qtn_options_auto; |
|
278 flags = EEikMenuItemRadioStart; |
|
279 }, |
|
280 MENU_ITEM |
|
281 { |
|
282 command = EAmsDispSizeLarge; |
|
283 txt = qtn_options_large; |
|
284 flags = EEikMenuItemRadioMiddle; |
|
285 }, |
|
286 MENU_ITEM |
|
287 { |
|
288 command = EAmsDispSizeNormal; |
|
289 txt = qtn_options_normal; |
|
290 flags = EEikMenuItemRadioMiddle; |
|
291 }, |
|
292 MENU_ITEM |
|
293 { |
|
294 command = EAmsDispSizeSmall; |
|
295 txt = qtn_options_small; |
|
296 flags = EEikMenuItemRadioEnd; |
|
297 } |
|
298 }; |
|
299 } |
|
300 |
|
301 |
|
302 // --------------------------------------------------------------------------- |
|
303 // r_audiomessage_insert_audio_submenu - menupane |
|
304 // Main views Options menu's submenu containing new multimedia item |
|
305 // insertion. |
|
306 // --------------------------------------------------------------------------- |
|
307 // |
|
308 RESOURCE MENU_PANE r_audiomessage_insert_audio_submenu |
|
309 { |
|
310 items = |
|
311 { |
|
312 MENU_ITEM { command = EAmsEditorCmdRecordAudio; |
|
313 txt = qtn_audio_messaging_record_audio; } |
|
314 , |
|
315 MENU_ITEM { command = EAmsEditorCmdFromGallery; |
|
316 txt = qtn_msg_insert_from_gallery; } |
|
317 }; |
|
318 } |
|
319 |
|
320 // --------------------------------------------------------------------------- |
|
321 // r_audiomessage_replace_audio_submenu |
|
322 // Main views Options menu's submenu containing new multimedia item |
|
323 // insertion. |
|
324 // --------------------------------------------------------------------------- |
|
325 // |
|
326 RESOURCE MENU_PANE r_audiomessage_replace_audio_submenu |
|
327 { |
|
328 items = |
|
329 { |
|
330 MENU_ITEM { command = EAmsEditorCmdReRecordAudio; |
|
331 txt = qtn_audio_messaging_rerecordaudio; } |
|
332 , |
|
333 MENU_ITEM { command = EAmsEditorCmdFromGallery2; |
|
334 txt = qtn_msg_insert_from_gallery; } |
|
335 }; |
|
336 } |
|
337 |
|
338 // --------------------------------------------------------------------------- |
|
339 // r_audiomessage_reply_submenu |
|
340 // Main views Options menu's submenu containing reply via |
|
341 // editor opening. |
|
342 // --------------------------------------------------------------------------- |
|
343 // |
|
344 RESOURCE MENU_PANE r_audiomessage_reply_submenu |
|
345 { |
|
346 items = |
|
347 { |
|
348 MENU_ITEM { command = EAmsViewerCmdReplyToSender; |
|
349 txt = qtn_audio_messaging_sm_to_sender; } |
|
350 , |
|
351 MENU_ITEM { command = EAmsViewerCmdReplyToAll; |
|
352 txt = qtn_audio_messaging_sm_to_all; } |
|
353 , |
|
354 |
|
355 MENU_ITEM { command = EAmsViewerCmdReplyViaMessage; |
|
356 txt = qtn_mms_sm_via_message; } |
|
357 |
|
358 }; |
|
359 } |
|
360 |
|
361 // ======== Context sensitive option menus ======== |
|
362 |
|
363 // --------------------------------------------------------------------------- |
|
364 // r_audiomessage_viewer_context_menu - menupane |
|
365 // Menu shown when selection key is pressed and focus is in |
|
366 // to field. |
|
367 // --------------------------------------------------------------------------- |
|
368 // |
|
369 RESOURCE MENU_PANE r_audiomessage_viewer_context_menu |
|
370 { |
|
371 items= |
|
372 { |
|
373 MENU_ITEM { command = EAmsViewerCmdSubmenuReply; |
|
374 txt = qtn_sms_reply; |
|
375 cascade = r_audiomessage_reply_submenu; } |
|
376 , |
|
377 MENU_ITEM { command = EAmsViewerCmdRemoveAudio; |
|
378 txt = qtn_mms_om_delete; }, |
|
379 |
|
380 MENU_ITEM { command = EFindItemContextMenuPlaceHolder; txt = ""; } |
|
381 //, |
|
382 /*MENU_ITEM { command = EAmsEditorCmdPlayAudio; |
|
383 txt = qtn_audio_messaging_play_audio; } |
|
384 ,*/ |
|
385 /*MENU_ITEM { command = EAmsViewerCmdForward; |
|
386 txt = qtn_sms_forward; } |
|
387 ,*/ |
|
388 |
|
389 }; |
|
390 } |
|
391 |
|
392 |
|
393 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_amsviewer_reply_button_state_extension |
|
394 { |
|
395 bmbSkinIdMajor= EAknsMajorGeneric; |
|
396 bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbMsgReply; |
|
397 } |
|
398 |
|
399 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_amsviewer_forward_button_state_extension |
|
400 { |
|
401 bmbSkinIdMajor= EAknsMajorGeneric; |
|
402 bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbMsgForward; |
|
403 } |
|
404 |
|
405 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_amsviewer_delete_button_state_extension |
|
406 { |
|
407 bmbSkinIdMajor= EAknsMajorGeneric; |
|
408 bmbSkinIdMinor= EAknsMinorGenericQgnIndiMgTbDelete; |
|
409 } |
|
410 |
|
411 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_amsviewer_send_button_state_extension |
|
412 { |
|
413 bmbSkinIdMajor= EAknsMajorGeneric; |
|
414 bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbMsgSend; |
|
415 } |
|
416 |
|
417 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_amsviewer_rec_button_state_extension |
|
418 { |
|
419 bmbSkinIdMajor= EAknsMajorGeneric; |
|
420 bmbSkinIdMinor= EAknsMinorGenericQgnIndiCamsTbRec; |
|
421 } |
|
422 |
|
423 RESOURCE AVKON_BUTTON_STATE_EXTENSION r_amsviewer_add_recipient_button_state_extension |
|
424 { |
|
425 bmbSkinIdMajor= EAknsMajorGeneric; |
|
426 bmbSkinIdMinor= EAknsMinorGenericQgnIndiTbAddRecipient; |
|
427 } |
|
428 |
|
429 |
|
430 //---------------------------------------------------- |
|
431 // |
|
432 // r_amsviewer_app_toolbar - CAknToolbar |
|
433 // Application toolbar |
|
434 // |
|
435 //---------------------------------------------------- |
|
436 // |
|
437 RESOURCE AVKON_TOOLBAR r_amsviewer_app_toolbar |
|
438 { |
|
439 flags = KAknToolbarFixed; |
|
440 items = |
|
441 { |
|
442 TBAR_CTRL |
|
443 { |
|
444 type = EAknCtButton; |
|
445 id = EAmsViewerToolbarReply; |
|
446 control = AVKON_BUTTON |
|
447 { |
|
448 flags = KAknButtonSizeFitText; |
|
449 states = |
|
450 { |
|
451 AVKON_BUTTON_STATE |
|
452 { |
|
453 helptxt = qtn_audio_messaging_tb_tooltip_reply; |
|
454 bmpfile = BITMAP_DIR"\\muiu.mif"; |
|
455 bmpid = EMbmMuiuQgn_indi_tb_msg_reply; |
|
456 bmpmask = EMbmMuiuQgn_indi_tb_msg_reply_mask; |
|
457 extension = r_amsviewer_reply_button_state_extension; |
|
458 } |
|
459 }; |
|
460 }; |
|
461 }, |
|
462 TBAR_CTRL |
|
463 { |
|
464 type = EAknCtButton; |
|
465 id = EAmsViewerToolbarForward; |
|
466 control = AVKON_BUTTON |
|
467 { |
|
468 flags = KAknButtonSizeFitText; |
|
469 states = |
|
470 { |
|
471 AVKON_BUTTON_STATE |
|
472 { |
|
473 helptxt = qtn_audio_messaging_tb_tooltip_forward; |
|
474 bmpfile = BITMAP_DIR"\\muiu.mif"; |
|
475 bmpid = EMbmMuiuQgn_indi_tb_msg_forward; |
|
476 bmpmask = EMbmMuiuQgn_indi_tb_msg_forward_mask; |
|
477 extension = r_amsviewer_forward_button_state_extension; |
|
478 } |
|
479 }; |
|
480 }; |
|
481 }, |
|
482 TBAR_CTRL |
|
483 { |
|
484 type = EAknCtButton; |
|
485 id = EAmsViewerToolbarDelete; |
|
486 control = AVKON_BUTTON |
|
487 { |
|
488 flags = KAknButtonSizeFitText; |
|
489 states = |
|
490 { |
|
491 AVKON_BUTTON_STATE |
|
492 { |
|
493 helptxt = qtn_audio_messaging_tb_tooltip_delete; |
|
494 bmpfile = BITMAP_DIR"\\muiu.mif"; |
|
495 bmpid = EMbmMuiuQgn_indi_mg_tb_delete; |
|
496 bmpmask = EMbmMuiuQgn_indi_mg_tb_delete; |
|
497 extension = r_amsviewer_delete_button_state_extension; |
|
498 } |
|
499 }; |
|
500 }; |
|
501 } |
|
502 }; |
|
503 } |
|
504 |
|
505 //---------------------------------------------------- |
|
506 // |
|
507 // r_amsviewer_app_toolbar - CAknToolbar |
|
508 // Application toolbar |
|
509 // |
|
510 //---------------------------------------------------- |
|
511 // |
|
512 RESOURCE AVKON_TOOLBAR r_amseditor_app_toolbar |
|
513 { |
|
514 flags = KAknToolbarFixed; |
|
515 items = |
|
516 { |
|
517 TBAR_CTRL |
|
518 { |
|
519 type = EAknCtButton; |
|
520 id = EAmsEditorToolbarSend; |
|
521 control = AVKON_BUTTON |
|
522 { |
|
523 flags = KAknButtonSizeFitText; |
|
524 states = |
|
525 { |
|
526 AVKON_BUTTON_STATE |
|
527 { |
|
528 helptxt = qtn_audio_messaging_tb_tooltip_send; |
|
529 bmpfile = BITMAP_DIR"\\muiu.mif"; |
|
530 bmpid = EMbmMuiuQgn_indi_tb_msg_send; |
|
531 bmpmask = EMbmMuiuQgn_indi_tb_msg_send_mask; |
|
532 extension = r_amsviewer_send_button_state_extension; |
|
533 } |
|
534 }; |
|
535 }; |
|
536 }, |
|
537 TBAR_CTRL |
|
538 { |
|
539 type = EAknCtButton; |
|
540 id = EAmsEditorToolbarRecord; |
|
541 control = AVKON_BUTTON |
|
542 { |
|
543 flags = KAknButtonSizeFitText; |
|
544 states = |
|
545 { |
|
546 AVKON_BUTTON_STATE |
|
547 { |
|
548 helptxt = qtn_audio_messaging_tb_tooltip_record; |
|
549 bmpfile = BITMAP_DIR"\\audiomessage.mif"; |
|
550 bmpid = EMbmAudiomessageQgn_indi_cams_tb_rec; |
|
551 bmpmask = EMbmAudiomessageQgn_indi_cams_tb_rec_mask; |
|
552 extension = r_amsviewer_rec_button_state_extension; |
|
553 } |
|
554 }; |
|
555 }; |
|
556 }, |
|
557 TBAR_CTRL |
|
558 { |
|
559 type = EAknCtButton; |
|
560 id = EAmsEditorToolbarAddRecipient; |
|
561 control = AVKON_BUTTON |
|
562 { |
|
563 flags = KAknButtonSizeFitText; |
|
564 states = |
|
565 { |
|
566 AVKON_BUTTON_STATE |
|
567 { |
|
568 helptxt = qtn_audio_messaging_tb_tooltip_add_recipient; |
|
569 bmpfile = BITMAP_DIR"\\muiu.mif"; |
|
570 bmpid = EMbmMuiuQgn_indi_tb_add_recipient; |
|
571 bmpmask = EMbmMuiuQgn_indi_tb_add_recipient_mask; |
|
572 extension = r_amsviewer_add_recipient_button_state_extension; |
|
573 } |
|
574 }; |
|
575 }; |
|
576 } |
|
577 }; |
|
578 } |
|
579 |
|
580 |
|
581 |
|
582 // --------------------------------------------------------------------------- |
|
583 // r_amsviewer_move_text |
|
584 // Text in "Move to" selection dialog |
|
585 // --------------------------------------------------------------------------- |
|
586 // |
|
587 RESOURCE TBUF r_amsviewer_move_text { buf = qtn_fldr_move_to_prmpt; } |
|
588 |
|
589 // ======== templates for wait notes ======== |
|
590 |
|
591 // --------------------------------------------------------------------------- |
|
592 // r_audiomessage_wait_note |
|
593 // --------------------------------------------------------------------------- |
|
594 // |
|
595 RESOURCE DIALOG r_audiomessage_wait_note |
|
596 { |
|
597 flags = EAknWaitNoteFlags; |
|
598 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
599 items = |
|
600 { |
|
601 DLG_LINE |
|
602 { |
|
603 type = EAknCtNote; |
|
604 id = EAmsWaitNoteId; |
|
605 control = AVKON_NOTE |
|
606 { |
|
607 layout = EWaitLayout; |
|
608 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
609 }; |
|
610 } |
|
611 }; |
|
612 } |
|
613 |
|
614 // --------------------------------------------------------------------------- |
|
615 // r_audiomessage_wait_note_icon |
|
616 // --------------------------------------------------------------------------- |
|
617 // |
|
618 RESOURCE DIALOG r_audiomessage_wait_note_icon |
|
619 { |
|
620 flags = EAknWaitNoteFlags; |
|
621 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
622 items = |
|
623 { |
|
624 DLG_LINE |
|
625 { |
|
626 type = EAknCtNote; |
|
627 id = EAmsWaitNoteId; |
|
628 control = AVKON_NOTE |
|
629 { |
|
630 layout = EWaitLayout; |
|
631 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
632 imagefile = AVKON_ICON_FILE; |
|
633 imageid = EMbmAvkonQgn_note_mms; |
|
634 imagemask = EMbmAvkonQgn_note_mms_mask; |
|
635 }; |
|
636 } |
|
637 }; |
|
638 } |
|
639 |
|
640 // ======== texts for wait notes ======== |
|
641 |
|
642 RESOURCE TBUF r_qtn_audiomessage_wait_send_message |
|
643 { |
|
644 buf = qtn_audio_messaging_sending_wait_note; |
|
645 } |
|
646 |
|
647 RESOURCE TBUF r_qtn_wait_msg_saved_outbox |
|
648 { |
|
649 buf = qtn_wait_offline_outbox; |
|
650 } |
|
651 |
|
652 RESOURCE TBUF r_qtn_audiomessage_wait_inserting |
|
653 { |
|
654 buf = qtn_gen_note_inserting; |
|
655 } |
|
656 |
|
657 RESOURCE TBUF r_qtn_audiomessage_wait_opening_editor |
|
658 { |
|
659 buf = qtn_gen_note_opening; |
|
660 } |
|
661 |
|
662 RESOURCE TBUF r_qtn_audiomessage_wait_saving_message_new |
|
663 { |
|
664 buf = qtn_wait_saving_message_new; |
|
665 } |
|
666 |
|
667 RESOURCE TBUF r_qtn_audiomessage_wait_saving_message |
|
668 { |
|
669 buf = qtn_gen_note_saving; |
|
670 } |
|
671 |
|
672 // ======== information and confirmation notes ======== |
|
673 |
|
674 // Using notewrappers so only notetexts here. |
|
675 RESOURCE TBUF r_audiomessage_info_deleted |
|
676 { |
|
677 buf = qtn_sms_info_deleted; |
|
678 } |
|
679 |
|
680 RESOURCE TBUF r_audiomessage_info_object_too_big |
|
681 { |
|
682 buf = qtn_mms_info_not_inserted; |
|
683 } |
|
684 |
|
685 RESOURCE TBUF r_audiomessage_info_invalid_object |
|
686 { |
|
687 buf = qtn_mms_poca_info_unsupported; |
|
688 } |
|
689 |
|
690 RESOURCE TBUF r_audiomessage_info_unsupported_object |
|
691 { |
|
692 buf = qtn_mms_info_object_not_supported; |
|
693 } |
|
694 RESOURCE TBUF r_audiomessage_info_corrupted_object |
|
695 { |
|
696 buf = qtn_mms_info_object_corrupted; |
|
697 } |
|
698 |
|
699 RESOURCE TBUF r_audiomessage_info_send_forbid |
|
700 { |
|
701 buf = qtn_drm_send_forbid; |
|
702 } |
|
703 |
|
704 RESOURCE TBUF r_audiomessage_info_no_rights |
|
705 { |
|
706 buf = qtn_drm_no_rights_for_some; |
|
707 } |
|
708 |
|
709 RESOURCE TBUF r_audiomessage_error_msg_corrupt |
|
710 { |
|
711 buf = qtn_msg_err_cannot_open_msg; |
|
712 } |
|
713 |
|
714 RESOURCE TBUF r_audiomessage_info_cannot_send |
|
715 { |
|
716 buf = qtn_audio_messaging_cannot_send; |
|
717 } |
|
718 |
|
719 RESOURCE TBUF r_audiomessage_info_max_rec_time |
|
720 { |
|
721 buf = qtn_audio_messaging_recording_stopped; |
|
722 } |
|
723 |
|
724 RESOURCE TBUF r_audiomessage_info_fail_recipient |
|
725 { |
|
726 buf = qtn_audiomessage_info_fail_recipient; |
|
727 } |
|
728 |
|
729 RESOURCE TBUF r_audiomessage_info_fail_recipient_no_alias |
|
730 { |
|
731 buf = qtn_audiomessage_info_recipient_no_alias; |
|
732 } |
|
733 |
|
734 RESOURCE TBUF r_audiomessage_info_unable_to_insert_drm |
|
735 { |
|
736 buf = qtn_audio_messaging_unable_to_insert_drm; |
|
737 } |
|
738 |
|
739 RESOURCE TBUF r_audiomessage_info_size_exceeded |
|
740 { |
|
741 buf = qtn_audio_messaging_size_exceeded; |
|
742 } |
|
743 |
|
744 RESOURCE TBUF r_audiomessage_inserted |
|
745 { |
|
746 buf = qtn_audio_messaging_audio_inserted; |
|
747 } |
|
748 |
|
749 RESOURCE TBUF r_audiomessage_unable_to_insert_multiple_files |
|
750 { |
|
751 buf = qtn_mms_poca_info_many_files; |
|
752 } |
|
753 |
|
754 // Priority stuff |
|
755 |
|
756 RESOURCE TBUF r_audiomessage_priority_title |
|
757 { |
|
758 buf = qtn_msg_qry_priority; |
|
759 } |
|
760 |
|
761 // ======== query dlgs ======== |
|
762 |
|
763 // --------------------------------------------------------------------------- |
|
764 // r_audiomessage_confirmation_query - dialog |
|
765 // Confirmation query template. The actual text string |
|
766 // should be set dynamically. |
|
767 // --------------------------------------------------------------------------- |
|
768 // |
|
769 RESOURCE DIALOG r_audiomessage_confirmation_query |
|
770 { |
|
771 flags = EGeneralQueryFlags; |
|
772 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
773 items= |
|
774 { |
|
775 DLG_LINE |
|
776 { |
|
777 type = EAknCtQuery; |
|
778 id = EGeneralQuery; |
|
779 control = AVKON_CONFIRMATION_QUERY |
|
780 { |
|
781 layout = EConfirmationLayout; |
|
782 label = ""; |
|
783 }; |
|
784 } |
|
785 }; |
|
786 } |
|
787 |
|
788 // --------------------------------------------------------------------------- |
|
789 // r_audiomessage_viewer_ordinal_number - tbuf |
|
790 // Ordinal number of current message in navipane |
|
791 // (in 16 characters theres space for 9999999 messages plus |
|
792 // two characters for the separator e.g. 1000000/9999999) |
|
793 // --------------------------------------------------------------------------- |
|
794 // |
|
795 RESOURCE TBUF r_audiomessage_viewer_ordinal_number |
|
796 { |
|
797 buf = qtn_stat_msg_number; |
|
798 } |
|
799 |
|
800 RESOURCE TBUF r_audiomessage_quest_send_forbid |
|
801 { |
|
802 buf = qtn_drm_query_send_forbid; |
|
803 } |
|
804 |
|
805 RESOURCE TBUF r_audiomessage_quest_delete_message |
|
806 { |
|
807 buf = qtn_mms_quest_delete_msg; |
|
808 } |
|
809 RESOURCE TBUF r_audiomessage_info_clip_deleted |
|
810 { |
|
811 buf = qtn_audio_messaging_audio_removed; |
|
812 } |
|
813 |
|
814 RESOURCE TBUF r_audiomessage_quest_remove_audio |
|
815 { |
|
816 buf = qtn_audio_messaging_remove_audio; |
|
817 } |
|
818 |
|
819 RESOURCE TBUF r_audiomessage_quest_send_wo_rights |
|
820 { |
|
821 buf = qtn_drm_send_wo_rights_sd_1; |
|
822 } |
|
823 |
|
824 RESOURCE TBUF r_audiomessage_quest_send_wo_rights_mix |
|
825 { |
|
826 buf = qtn_drm_send_wo_rights_misc; |
|
827 } |
|
828 |
|
829 RESOURCE TBUF r_audiomessage_quest_close_ood |
|
830 { |
|
831 buf = qtn_mail_close_nosave; |
|
832 } |
|
833 |
|
834 RESOURCE TBUF r_audiomessage_progress_paused |
|
835 { |
|
836 buf = qtn_audio_messaging_paused; |
|
837 } |
|
838 |
|
839 RESOURCE TBUF r_audiomessage_progress_playing |
|
840 { |
|
841 buf = qtn_audio_messaging_playing; |
|
842 } |
|
843 |
|
844 RESOURCE TBUF r_audiomessage_progress_recording |
|
845 { |
|
846 buf = qtn_audio_messaging_recording; |
|
847 } |
|
848 |
|
849 RESOURCE TBUF r_audiomessage_clip_duration |
|
850 { |
|
851 buf = qtn_audio_messaging_length; |
|
852 } |
|
853 |
|
854 |
|
855 RESOURCE TBUF r_audiomessage_error_cannot_open |
|
856 { |
|
857 buf = qtn_mms_err_restricted_cannot_open; |
|
858 } |
|
859 RESOURCE TBUF r_qtn_vorec_first_memo_name |
|
860 { |
|
861 buf = qtn_vorec_first_memo_name; |
|
862 } |
|
863 |
|
864 |
|
865 // --------------------------------------------------------------------------- |
|
866 // r_audiomessage_options_empty |
|
867 // --------------------------------------------------------------------------- |
|
868 // |
|
869 RESOURCE CBA r_audiomessage_options_empty |
|
870 { |
|
871 buttons = |
|
872 { |
|
873 CBA_BUTTON |
|
874 { |
|
875 id = EAknSoftkeyOptions; |
|
876 txt = text_softkey_option; |
|
877 }, |
|
878 CBA_BUTTON |
|
879 { |
|
880 id = EAknSoftkeyEmpty; |
|
881 txt=text_softkey_empty; |
|
882 } |
|
883 }; |
|
884 } |
|
885 |
|
886 RESOURCE CBA r_audiomessage_options_add_close |
|
887 { |
|
888 buttons = |
|
889 { |
|
890 CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
891 CBA_BUTTON { id = EAknSoftkeyClose; txt = text_softkey_close; }, |
|
892 CBA_BUTTON { id = EAmsSoftkeyAdd; txt = qtn_msk_add; } |
|
893 }; |
|
894 } |
|
895 |
|
896 RESOURCE CBA r_audiomessage_options_play_close |
|
897 { |
|
898 buttons = |
|
899 { |
|
900 CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
901 CBA_BUTTON { id = EAknSoftkeyClose; txt = text_softkey_close; }, |
|
902 CBA_BUTTON { id = EAmsSoftkeyPlay; txt = qtn_msk_play; } |
|
903 }; |
|
904 } |
|
905 |
|
906 RESOURCE CBA r_audiomessage_options_play_back |
|
907 { |
|
908 buttons = |
|
909 { |
|
910 CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
911 CBA_BUTTON { id = EAknSoftkeyClose; txt = text_softkey_back; }, |
|
912 CBA_BUTTON { id = EAmsSoftkeyPlay; txt = qtn_msk_play; } |
|
913 }; |
|
914 } |
|
915 |
|
916 RESOURCE CBA r_audiomessage_options_record_close |
|
917 { |
|
918 buttons = |
|
919 { |
|
920 CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
921 CBA_BUTTON { id = EAknSoftkeyClose; txt = text_softkey_close; }, |
|
922 CBA_BUTTON { id = EAmsSoftkeyRecord; txt = qtn_msk_record_audio; } |
|
923 }; |
|
924 } |
|
925 |
|
926 |
|
927 RESOURCE TBUF r_audiomessage_reply_prefix |
|
928 { |
|
929 buf = qtn_msg_mail_re; |
|
930 } |
|
931 |
|
932 RESOURCE TBUF r_audiomessage_forward_prefix |
|
933 { |
|
934 buf = qtn_msg_mail_fwd; |
|
935 } |
|
936 |
|
937 RESOURCE CBA r_softkeys_pause_stop |
|
938 { |
|
939 buttons = |
|
940 { |
|
941 CBA_BUTTON{id=EAmsSoftkeyPause; txt=text_softkey_pause; }, |
|
942 CBA_BUTTON{id=EAmsSoftkeyStop; txt=text_softkey_stop; }, |
|
943 CBA_BUTTON{id=EAmsSoftkeyPause; txt=text_softkey_pause; } |
|
944 }; |
|
945 } |
|
946 |
|
947 RESOURCE CBA r_softkeys_continue_stop |
|
948 { |
|
949 buttons = |
|
950 { |
|
951 CBA_BUTTON{id=EAmsSoftkeyContinue; txt=text_softkey_continue; }, |
|
952 CBA_BUTTON{id=EAmsSoftkeyStop; txt=text_softkey_stop; }, |
|
953 CBA_BUTTON{id=EAmsSoftkeyContinue; txt=text_softkey_continue; } |
|
954 }; |
|
955 } |
|
956 |
|
957 RESOURCE CBA r_softkeys_to_loudspeaker_stop |
|
958 { |
|
959 buttons = |
|
960 { |
|
961 CBA_BUTTON{id=EAmsSoftkeyToLoudspeaker; txt=text_softkey_to_loudspeaker; }, |
|
962 CBA_BUTTON{id=EAmsSoftkeyStop; txt=text_softkey_stop; }, |
|
963 CBA_BUTTON{id=EAmsSoftkeyToLoudspeaker; txt=text_softkey_to_loudspeaker; } |
|
964 }; |
|
965 } |
|
966 |
|
967 RESOURCE CBA r_softkeys_to_earpiece_stop |
|
968 { |
|
969 buttons = |
|
970 { |
|
971 CBA_BUTTON{id=EAmsSoftkeyToEarpiece; txt=text_softkey_to_earpiece; }, |
|
972 CBA_BUTTON{id=EAmsSoftkeyStop; txt=text_softkey_stop; }, |
|
973 CBA_BUTTON{id=EAmsSoftkeyToEarpiece; txt=text_softkey_to_earpiece; } |
|
974 }; |
|
975 } |
|
976 |
|
977 RESOURCE CBA r_softkeys_to_empty_stop |
|
978 { |
|
979 buttons = |
|
980 { |
|
981 CBA_BUTTON{id=EAknSoftkeyEmpty; txt=text_softkey_empty; }, |
|
982 CBA_BUTTON{id=EAmsSoftkeyStop; txt=text_softkey_stop; } |
|
983 }; |
|
984 } |
|
985 |
|
986 |
|
987 RESOURCE CBA r_audiomessage_options_contextoptions_close |
|
988 { |
|
989 buttons = |
|
990 { |
|
991 CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
992 CBA_BUTTON { id = EAknSoftkeyClose; txt = text_softkey_close; }, |
|
993 CBA_BUTTON { id = EAknSoftkeyContextOptions; txt = text_softkey_option; } |
|
994 }; |
|
995 } |
|
996 |
|
997 RESOURCE CBA r_audiomessage_options_contextoptions_back |
|
998 { |
|
999 buttons = |
|
1000 { |
|
1001 CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
1002 CBA_BUTTON { id = EAknSoftkeyClose; txt = text_softkey_back; }, |
|
1003 CBA_BUTTON { id = EAknSoftkeyContextOptions; txt = text_softkey_option; } |
|
1004 }; |
|
1005 } |
|
1006 |
|
1007 |
|
1008 // --------------------------------------------------------------------------- |
|
1009 // r_audiomessage_voice_speak_dialog |
|
1010 // main recording and playing dialog |
|
1011 // "Recording...\n0:00 / 1:00" |
|
1012 // --------------------------------------------------------------------------- |
|
1013 // |
|
1014 RESOURCE DIALOG r_audiomessage_voice_speak_dialog |
|
1015 { |
|
1016 flags=EAknProgressNoteFlags | EEikDialogFlagWait ; |
|
1017 buttons= r_softkeys_pause_stop; |
|
1018 items= |
|
1019 { |
|
1020 DLG_LINE |
|
1021 { |
|
1022 |
|
1023 type=EAknCtNote; |
|
1024 id=EVoiceProgressNoteId; |
|
1025 control= AVKON_NOTE |
|
1026 { |
|
1027 layout = EProgressLayout; |
|
1028 singular_label = qtn_audio_messaging_recording; |
|
1029 plural_label = ""; |
|
1030 animation=0; |
|
1031 }; |
|
1032 } |
|
1033 }; |
|
1034 } |
|
1035 |
|
1036 // --------------------------------------------------------------------------- |
|
1037 // r_audiomessage_smil |
|
1038 // --------------------------------------------------------------------------- |
|
1039 // |
|
1040 RESOURCE TBUF r_audiomessage_smil |
|
1041 { |
|
1042 buf = "<smil><head><layout><root-layout width=\"%0N\" height=\"%1N\"/></layout></head><body><par dur=\"%2Nms\"><audio src=\"%3U\"/></par></body></smil>"; |
|
1043 } |
|
1044 |
|
1045 // Silent mode |
|
1046 RESOURCE TBUF r_qtn_audiomessage_obey_silent_mode { buf = qtn_mms_qry_play_audio; } |
|
1047 |
|
1048 RESOURCE ARRAY r_audiomessage_priority_list |
|
1049 { |
|
1050 items= |
|
1051 { |
|
1052 LBUF {txt=qtn_msg_qry_high_priority; }, |
|
1053 LBUF {txt=qtn_msg_qry_normal_priority; }, |
|
1054 LBUF {txt=qtn_msg_qry_low_priority; } |
|
1055 }; |
|
1056 } |