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