|
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 * Voice Recorder resource file |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 #include <bldvariant.hrh> |
|
21 #include <data_caging_paths_strings.hrh> |
|
22 |
|
23 #include <e32keys.h> |
|
24 #include <eikon.rh> |
|
25 #include <avkon.rsg> |
|
26 #include <eikon.rsg> |
|
27 #include <avkon.hrh> |
|
28 #include <avkon.rh> |
|
29 #include <uikon.rh> |
|
30 #include <appinfo.rh> |
|
31 #include <avkon.loc> |
|
32 #include <avkon.mbg> |
|
33 |
|
34 #include <pathconfiguration.hrh> |
|
35 #include <CommonDialogs.rh> |
|
36 |
|
37 #include "RecView.rh" |
|
38 #include <voicerecorder.mbg> |
|
39 #include "voicerecorder.hrh" |
|
40 #include "VoiceRecorder.rh" |
|
41 #include <voicerecorder.loc> |
|
42 #include <mpxwaitnotedialog.loc> |
|
43 |
|
44 NAME VREC |
|
45 |
|
46 RESOURCE RSS_SIGNATURE { } |
|
47 |
|
48 RESOURCE TBUF { buf = qtn_vorec_first_memo_name; } //default document name |
|
49 |
|
50 RESOURCE EIK_APP_INFO |
|
51 { |
|
52 } |
|
53 |
|
54 // For the scalable AIF |
|
55 RESOURCE LOCALISABLE_APP_INFO r_vr_localisable_app_info |
|
56 { |
|
57 short_caption = qtn_vorec_app_menu_grid; |
|
58 caption_and_icon = CAPTION_AND_ICON_INFO |
|
59 { |
|
60 caption = qtn_vorec_app_title; |
|
61 #ifdef __SCALABLE_ICONS |
|
62 number_of_icons = 1; |
|
63 icon_file = APP_BITMAP_DIR"\\VoiceRecorder_aif.mif"; |
|
64 #else |
|
65 number_of_icons = 2; |
|
66 icon_file = APP_BITMAP_DIR"\\VoiceRecorder_aif.mbm"; |
|
67 #endif |
|
68 }; |
|
69 } |
|
70 |
|
71 |
|
72 RESOURCE AVKON_VIEW r_vr_recorder_view |
|
73 { |
|
74 menubar = r_vr_recview_menubar_empty; |
|
75 cba = r_vr_softkeys_options_back_select; |
|
76 } |
|
77 |
|
78 |
|
79 RESOURCE MENU_PANE r_vr_editlist_menupane |
|
80 { |
|
81 items = |
|
82 { |
|
83 MENU_ITEM { command = EAknCmdMark; txt=qtn_options_list_mark_one; }, |
|
84 MENU_ITEM { command = EAknCmdUnmark; txt=qtn_options_list_unmark_one; }, |
|
85 MENU_ITEM { command = EAknMarkAll; txt=qtn_options_list_mark_all; }, |
|
86 MENU_ITEM { command = EAknUnmarkAll; txt=qtn_options_list_unmark_all; } |
|
87 }; |
|
88 } |
|
89 |
|
90 |
|
91 RESOURCE MENU_BAR r_vr_recview_menubar_empty |
|
92 { |
|
93 titles= |
|
94 { |
|
95 }; |
|
96 } |
|
97 |
|
98 RESOURCE MENU_BAR r_vr_recview_menubar_default |
|
99 { |
|
100 titles= |
|
101 { |
|
102 MENU_TITLE { menu_pane = r_vr_rec_menupane_default; } |
|
103 }; |
|
104 } |
|
105 |
|
106 |
|
107 RESOURCE MENU_PANE r_vr_rec_menupane_default |
|
108 { |
|
109 items= |
|
110 { |
|
111 MENU_ITEM { command = ECmdRecord; txt = qtn_vorec_rec_new; }, |
|
112 MENU_ITEM { command = ECmdDelete; txt = qtn_vorec_delete; }, |
|
113 MENU_ITEM { command = ECmdRename; txt = text_voice_rec_edit_title; }, |
|
114 MENU_ITEM { command = ECmdGoToMyClips; txt = qtn_vorec_goto_my_clips; }, |
|
115 #if defined ( __SERIES60_MMC ) |
|
116 MENU_ITEM { command = ECmdSettings; txt = qtn_vorec_settings; }, |
|
117 #endif |
|
118 |
|
119 MENU_ITEM { command = ECmdHelp; txt = qtn_options_help; }, |
|
120 MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; } |
|
121 }; |
|
122 } |
|
123 |
|
124 RESOURCE MENU_BAR r_vr_recview_menubar_deleted |
|
125 { |
|
126 titles= |
|
127 { |
|
128 MENU_TITLE { menu_pane = r_vr_rec_menupane_deleted; } |
|
129 }; |
|
130 } |
|
131 |
|
132 RESOURCE MENU_PANE r_vr_rec_menupane_deleted |
|
133 { |
|
134 items= |
|
135 { |
|
136 MENU_ITEM { command = ECmdRecord; txt = qtn_vorec_rec_new; }, |
|
137 MENU_ITEM { command = ECmdGoToMyClips; txt = qtn_vorec_goto_my_clips; }, |
|
138 #if defined ( __SERIES60_MMC ) |
|
139 MENU_ITEM { command = ECmdSettings; txt = qtn_vorec_settings; }, |
|
140 #endif |
|
141 |
|
142 MENU_ITEM { command = ECmdHelp; txt = qtn_options_help; }, |
|
143 MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; } |
|
144 }; |
|
145 } |
|
146 |
|
147 RESOURCE MENU_BAR r_vr_recview_menubar_viewer |
|
148 { |
|
149 titles= |
|
150 { |
|
151 MENU_TITLE { menu_pane = r_vr_rec_menupane_viewer; } |
|
152 }; |
|
153 } |
|
154 |
|
155 RESOURCE MENU_PANE r_vr_rec_menupane_viewer |
|
156 { |
|
157 items= |
|
158 { |
|
159 MENU_ITEM { command = ECmdSaveAttachment; txt = qtn_vorec_save_mail_atta; }, |
|
160 MENU_ITEM { command = ECmdHelp; txt = qtn_options_help; }, |
|
161 MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; } |
|
162 }; |
|
163 } |
|
164 |
|
165 // In-call recording disabled menu |
|
166 RESOURCE MENU_BAR r_vr_recview_menupane_incall_recording_disabled |
|
167 { |
|
168 titles= |
|
169 { |
|
170 MENU_TITLE { menu_pane = r_vr_rec_menupane_incall_recording_disabled; } |
|
171 }; |
|
172 } |
|
173 |
|
174 RESOURCE MENU_PANE r_vr_rec_menupane_incall_recording_disabled |
|
175 { |
|
176 items= |
|
177 { |
|
178 MENU_ITEM { command = ECmdGoToMyClips; txt = qtn_vorec_goto_my_clips; }, |
|
179 #if defined ( __SERIES60_MMC ) |
|
180 MENU_ITEM { command = ECmdSettings; txt = qtn_vorec_settings; }, |
|
181 #endif |
|
182 MENU_ITEM { command = ECmdHelp; txt = qtn_options_help; }, |
|
183 MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; } |
|
184 }; |
|
185 } |
|
186 |
|
187 |
|
188 |
|
189 RESOURCE TBUF r_qtn_query_common_conf_delete { buf = qtn_query_common_conf_delete; } |
|
190 RESOURCE TBUF r_qtn_vorec_quest_delete_many { buf = qtn_vorec_quest_delete_many; } |
|
191 |
|
192 RESOURCE TBUF r_qtn_fldr_overwrite_query { buf = qtn_fldr_overwrite_query; } |
|
193 RESOURCE TBUF r_qtn_fldr_item_name_prmpt { buf = qtn_fldr_item_name_prmpt; } |
|
194 RESOURCE TBUF r_qtn_fldr_illegal_characters { buf = qtn_fldr_illegal_characters; } |
|
195 RESOURCE TBUF r_qtn_fldr_cant_rename_item { buf = qtn_fldr_cant_rename_item; } |
|
196 |
|
197 // MMC usage related strings |
|
198 |
|
199 RESOURCE TBUF r_qtn_vorec_set_store { buf = qtn_vorec_set_store; } |
|
200 RESOURCE TBUF r_qtn_memc_vorec_note1 { buf = qtn_memc_vorec_note1; } |
|
201 RESOURCE TBUF r_qtn_memc_vorec_note2 { buf = qtn_memc_vorec_note2; } |
|
202 RESOURCE TBUF r_qtn_memc_unlock_query1 { buf = qtn_memc_unlock_query1; } |
|
203 RESOURCE TBUF r_qtn_memc_set_password_error { buf = qtn_memc_set_password_error; } |
|
204 RESOURCE TBUF r_qtn_memc_readonly { buf = qtn_memc_memorycard_read_only; } |
|
205 RESOURCE TBUF r_qtn_ccor_insert_mmc { buf = qtn_ccor_insert_mmc; } |
|
206 RESOURCE TBUF r_qtn_usb_mode_note_mode { buf = qtn_usb_mode_note_mode_activated; } |
|
207 |
|
208 RESOURCE DIALOG r_insert_f_card_dialog |
|
209 { |
|
210 flags = EGeneralQueryFlags | EEikDialogFlagWait | EEikDialogFlagNoBackgroundFade; |
|
211 buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
212 items = |
|
213 { |
|
214 DLG_LINE |
|
215 { |
|
216 type = EAknCtQuery; |
|
217 id = EGeneralQuery; |
|
218 control = AVKON_CONFIRMATION_QUERY |
|
219 { |
|
220 layout = EConfirmationLayout; |
|
221 }; |
|
222 } |
|
223 }; |
|
224 } |
|
225 |
|
226 RESOURCE DIALOG r_insert_f_usb_plug_in_dialog |
|
227 { |
|
228 flags = EGeneralQueryFlags | EEikDialogFlagWait | EEikDialogFlagNoBackgroundFade; |
|
229 buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
230 items = |
|
231 { |
|
232 DLG_LINE |
|
233 { |
|
234 type = EAknCtQuery; |
|
235 id = EGeneralQuery; |
|
236 control = AVKON_CONFIRMATION_QUERY |
|
237 { |
|
238 layout = EConfirmationLayout; |
|
239 }; |
|
240 } |
|
241 }; |
|
242 } |
|
243 |
|
244 // Settings dialog stuff needed when there's an MMC (default store setting) |
|
245 // or the voice key is missing (defauly speaker setting) |
|
246 |
|
247 RESOURCE MENU_PANE r_vr_settings_menupane |
|
248 { |
|
249 items= |
|
250 { |
|
251 MENU_ITEM { command = ECmdChange; txt = qtn_vorec_settings_change; flags = EEikMenuItemAction ; }, |
|
252 MENU_ITEM { command = ECmdHelp; txt = qtn_options_help; }, |
|
253 MENU_ITEM { command = EEikCmdExit; txt = qtn_options_exit; } |
|
254 }; |
|
255 } |
|
256 |
|
257 RESOURCE MENU_BAR r_vr_settings_menubar |
|
258 { |
|
259 titles= |
|
260 { |
|
261 MENU_TITLE { menu_pane = r_vr_settings_menupane; } |
|
262 }; |
|
263 } |
|
264 |
|
265 RESOURCE DIALOG r_vr_settings_dialog |
|
266 { |
|
267 buttons = r_vr_softkeys_options_back_change; |
|
268 flags = EEikDialogFlagWait | EEikDialogFlagNoDrag |
|
269 | EEikDialogFlagCbaButtons | EEikDialogFlagNoTitleBar |
|
270 | EEikDialogFlagFillAppClientRect; |
|
271 items = |
|
272 { |
|
273 DLG_LINE |
|
274 { |
|
275 type = EAknCtSettingListBox; |
|
276 id = EVRSettingsListboxId; |
|
277 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
278 control = LISTBOX |
|
279 { |
|
280 flags = EAknListBoxSelectionList; |
|
281 }; |
|
282 } |
|
283 }; |
|
284 } |
|
285 |
|
286 RESOURCE TBUF r_qtn_vorec_set_ihf { buf = qtn_vorec_set_ihf; } |
|
287 RESOURCE TBUF r_qtn_vorec_set_quality { buf = qtn_vorec_set_quality; } |
|
288 |
|
289 RESOURCE AVKON_POPUP_SETTING_TEXTS r_vr_settings_default_speaker_texts |
|
290 { |
|
291 setting_texts_resource = r_vr_settings_default_speaker; |
|
292 popped_up_texts_resource = r_vr_settings_default_speaker_popup; |
|
293 } |
|
294 |
|
295 RESOURCE AVKON_POPUP_SETTING_TEXTS r_vr_settings_quality_texts |
|
296 { |
|
297 setting_texts_resource = r_vr_settings_quality; |
|
298 popped_up_texts_resource = r_vr_settings_quality_popup; |
|
299 } |
|
300 |
|
301 RESOURCE ARRAY r_vr_settings_default_speaker |
|
302 { |
|
303 items= |
|
304 { |
|
305 AVKON_ENUMERATED_TEXT { value = ESpeakerEarPiece; text = qtn_vorec_settings_ihf_ear; }, |
|
306 AVKON_ENUMERATED_TEXT { value = ESpeakerIhf; text = qtn_vorec_settings_ihf_hf; } |
|
307 }; |
|
308 } |
|
309 |
|
310 RESOURCE ARRAY r_vr_settings_default_speaker_popup |
|
311 { |
|
312 items= |
|
313 { |
|
314 LBUF { txt = qtn_vorec_settings_ihf_ear; }, |
|
315 LBUF { txt = qtn_vorec_settings_ihf_hf; } |
|
316 }; |
|
317 } |
|
318 |
|
319 RESOURCE ARRAY r_vr_settings_quality |
|
320 { |
|
321 items= |
|
322 { |
|
323 AVKON_ENUMERATED_TEXT { value = EQualityMMSOptimized; text = qtn_vorec_settings_quality_mms_optimized; }, |
|
324 |
|
325 #ifdef __AAC_ENCODER_PLUGIN |
|
326 AVKON_ENUMERATED_TEXT { value = EQualityNormal; text = qtn_vorec_settings_quality_normal; }, |
|
327 #endif |
|
328 |
|
329 AVKON_ENUMERATED_TEXT { value = EQualityHigh; text = qtn_vorec_settings_quality_high; } |
|
330 }; |
|
331 } |
|
332 |
|
333 RESOURCE ARRAY r_vr_settings_quality_popup |
|
334 { |
|
335 items= |
|
336 { |
|
337 LBUF { txt = qtn_vorec_settings_quality_mms_optimized; }, |
|
338 |
|
339 #ifdef __AAC_ENCODER_PLUGIN |
|
340 LBUF { txt = qtn_vorec_settings_quality_normal; }, |
|
341 #endif |
|
342 |
|
343 LBUF { txt = qtn_vorec_settings_quality_high; } |
|
344 }; |
|
345 } |
|
346 |
|
347 RESOURCE POPUP_SETTING_LIST r_vr_settings_popup_control |
|
348 { |
|
349 } |
|
350 |
|
351 RESOURCE AVKON_SETTING_PAGE r_vr_settings_default_speaker_page |
|
352 { |
|
353 type = EAknCtPopupSettingList; |
|
354 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
355 editor_resource_id = r_vr_settings_popup_control; |
|
356 } |
|
357 |
|
358 RESOURCE TBUF r_vr_video_call_infonote_label { buf = qtn_vorec_info_video_call_ongoing; } |
|
359 RESOURCE TBUF r_vr_internet_call_infonote_label { buf = qtn_vorec_info_internet_call_ongoing; } |
|
360 RESOURCE TBUF r_vr_save_waitnote_label { buf = qtn_vorec_wait_saving_memo; } |
|
361 RESOURCE TBUF r_vr_stop_save_waitnote_label { buf = qtn_vorec_wait_stop_saved; } |
|
362 RESOURCE TBUF r_vr_stop_infonote_label { buf = qtn_vorec_info_record_stopped; } |
|
363 RESOURCE TBUF r_vr_corrupt_infonote_label { buf = qtn_vorec_info_memo_corrupted; } |
|
364 RESOURCE TBUF r_vr_unsupported_infonote_label { buf = qtn_vorec_info_memo_unsupported; } |
|
365 RESOURCE TBUF r_vr_server_error_infonote_label { buf = qtn_vorec_info_server_error; } |
|
366 RESOURCE TBUF r_vr_memory_warning { buf = qtn_memlo_memory_running_out; } |
|
367 RESOURCE TBUF r_vr_memory_mmc_warning { buf = qtn_memlo_mmc_memory_running_out; } |
|
368 RESOURCE TBUF r_vr_memory_low_stop_warning { buf = qtn_memlo_not_enough_memory; } |
|
369 |
|
370 // Quality strings for UI |
|
371 RESOURCE TBUF r_vorec_quality_mms_optimized { buf = qtn_vorec_quality_mms_optimized; } |
|
372 |
|
373 #ifdef __AAC_ENCODER_PLUGIN |
|
374 RESOURCE TBUF r_vorec_quality_normal { buf = qtn_vorec_quality_normal; } |
|
375 #endif |
|
376 |
|
377 RESOURCE TBUF r_vorec_quality_high { buf = qtn_vorec_quality_high; } |
|
378 |
|
379 // Memo naming strings |
|
380 RESOURCE TBUF r_vorec_first_memo_name { buf = qtn_vorec_first_memo_name; } |
|
381 RESOURCE TBUF r_vorec_memo_name { buf = qtn_vorec_memo_name; } |
|
382 RESOURCE TBUF r_vorec_default_memo_name { buf = qtn_vorec_default_memo_name; } |
|
383 |
|
384 RESOURCE DIALOG r_vr_rename_dialog |
|
385 { |
|
386 flags = EEikDialogFlagWait|EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagCbaButtons | EEikDialogFlagNoShadow; |
|
387 buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
388 items = |
|
389 { |
|
390 DLG_LINE |
|
391 { |
|
392 type = EAknCtQuery; |
|
393 id = EGeneralQuery; |
|
394 control = AVKON_DATA_QUERY |
|
395 { |
|
396 layout = EDataLayout; |
|
397 label = qtn_fldr_item_name_prmpt; |
|
398 control = EDWIN |
|
399 { |
|
400 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable |
|
401 | EEikEdwinNoLineOrParaBreaks; |
|
402 maxlength = VRMEMONAMEMAXLENGTH; |
|
403 lines = 1; |
|
404 width = 16; |
|
405 }; |
|
406 }; |
|
407 } |
|
408 }; |
|
409 } |
|
410 |
|
411 // For remote recording |
|
412 RESOURCE DIALOG r_vr_confirmation_query |
|
413 { |
|
414 flags = EGeneralQueryFlags; |
|
415 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
416 // r_vr_softkeys_ok_cancel; |
|
417 items = |
|
418 { |
|
419 DLG_LINE |
|
420 { |
|
421 type = EAknCtQuery; |
|
422 id = EGeneralQuery; |
|
423 control = AVKON_CONFIRMATION_QUERY |
|
424 { |
|
425 layout = EConfirmationLayout; |
|
426 }; |
|
427 } |
|
428 }; |
|
429 } |
|
430 |
|
431 |
|
432 // ------- RECORDER VIEW STUFF --------------------------------------- |
|
433 |
|
434 RESOURCE VR_STATEMACHINE r_vr_recview_states |
|
435 { |
|
436 labelsets = |
|
437 { |
|
438 VR_LABELSET |
|
439 { |
|
440 labels = |
|
441 { |
|
442 LBUF { txt = qtn_vorec_memo_label; }, |
|
443 LBUF { txt = qtn_vorec_date_label; }, |
|
444 LBUF { txt = qtn_vorec_quality_label; }, |
|
445 LBUF { txt = qtn_vorec_min_label; }, |
|
446 LBUF { txt = qtn_vorec_time_indic; }, |
|
447 LBUF { txt = " "; }, // this is a placeholder for the status text, don't touch :-) |
|
448 LBUF { txt = " "; } // this is a placeholder for quality text (MMS or High) |
|
449 }; |
|
450 }, |
|
451 |
|
452 VR_LABELSET |
|
453 { |
|
454 }, |
|
455 |
|
456 VR_LABELSET // for .rng:s |
|
457 { |
|
458 labels = |
|
459 { |
|
460 LBUF { txt = qtn_vorec_memo_label; }, |
|
461 LBUF { txt = qtn_vorec_date_label; }, |
|
462 LBUF { txt = " "; } // this is a placeholder for the status text, don't touch :-) |
|
463 }; |
|
464 } |
|
465 }; |
|
466 labelLayouts = |
|
467 { |
|
468 VR_LABEL_LINK { euroLabelId = r_vr_statusinfo_label_1_euro; |
|
469 apacLabelId = r_vr_statusinfo_label_1_apac; |
|
470 arabicHebrewLabelId = r_vr_statusinfo_label_1_arabic_hebrew; |
|
471 }, |
|
472 VR_LABEL_LINK { euroLabelId = r_vr_statusinfo_label_2_euro; |
|
473 apacLabelId = r_vr_statusinfo_label_2_apac; |
|
474 arabicHebrewLabelId = r_vr_statusinfo_label_2_arabic_hebrew; |
|
475 }, |
|
476 VR_LABEL_LINK { euroLabelId = r_vr_statusinfo_label_3_euro; |
|
477 apacLabelId = r_vr_statusinfo_label_3_apac; |
|
478 arabicHebrewLabelId = r_vr_statusinfo_label_3_arabic_hebrew; |
|
479 }, |
|
480 VR_LABEL_LINK { euroLabelId = r_vr_statusinfo_label_4_euro; |
|
481 apacLabelId = r_vr_statusinfo_label_4_apac; |
|
482 arabicHebrewLabelId = r_vr_statusinfo_label_4_arabic_hebrew; |
|
483 }, |
|
484 VR_LABEL_LINK { euroLabelId = r_vr_statusinfo_label_5_euro; |
|
485 apacLabelId = r_vr_statusinfo_label_5_apac; |
|
486 arabicHebrewLabelId = r_vr_statusinfo_label_5_arabic_hebrew; |
|
487 }, |
|
488 VR_LABEL_LINK { euroLabelId = r_vr_statusinfo_label_6_euro; |
|
489 apacLabelId = r_vr_statusinfo_label_6_apac; |
|
490 arabicHebrewLabelId = r_vr_statusinfo_label_6_arabic_hebrew; |
|
491 } |
|
492 }; |
|
493 states = |
|
494 { |
|
495 // memo_open |
|
496 VR_VISUAL_STATE |
|
497 { |
|
498 menubar = r_vr_recview_menubar_default; |
|
499 cba = r_vr_softkeys_options_exit_select; |
|
500 status = ""; |
|
501 labelSetId = 0; |
|
502 hasVolumeControl = 1; |
|
503 focusButton = 0; |
|
504 stateID = EStateIdle; |
|
505 buttons = |
|
506 { |
|
507 VR_BUTTON_INFO { commandId = ECmdPlay; state = ENormal; }, |
|
508 VR_BUTTON_INFO { commandId = ECmdStop; state = EDimmed; }, |
|
509 VR_BUTTON_INFO { commandId = ECmdRecord; state = ENormal; }, |
|
510 VR_BUTTON_INFO { commandId = ECmdRewind; state = ENormal; }, |
|
511 VR_BUTTON_INFO { commandId = ECmdForward; state = ENormal; } |
|
512 }; |
|
513 }, |
|
514 // memo_deleted |
|
515 VR_VISUAL_STATE |
|
516 { |
|
517 menubar = r_vr_recview_menubar_deleted; |
|
518 cba = r_vr_softkeys_options_exit_select; |
|
519 status = ""; |
|
520 labelSetId = 1; |
|
521 focusButton = 2; |
|
522 stateID = EStateDeleted; |
|
523 buttons = |
|
524 { |
|
525 VR_BUTTON_INFO { commandId = ECmdPlay; state = EDimmed; }, |
|
526 VR_BUTTON_INFO { commandId = ECmdStop; state = EDimmed; }, |
|
527 VR_BUTTON_INFO { commandId = ECmdRecord; state = ENormal; }, |
|
528 VR_BUTTON_INFO { commandId = ECmdRewind; state = EDimmed; }, |
|
529 VR_BUTTON_INFO { commandId = ECmdForward; state = EDimmed; } |
|
530 }; |
|
531 }, |
|
532 // memo_recording |
|
533 VR_VISUAL_STATE |
|
534 { |
|
535 menubar = r_vr_recview_menubar_empty; |
|
536 cba = r_vr_softkeys_pause_stop_select; |
|
537 status = qtn_vorec_recording; |
|
538 labelSetId = 0; |
|
539 focusButton = 1; |
|
540 stateID = EStateRecording; |
|
541 buttons = |
|
542 { |
|
543 VR_BUTTON_INFO { commandId = ECmdPlay; state = EDimmed; }, |
|
544 VR_BUTTON_INFO { commandId = ECmdStop; state = ENormal; }, |
|
545 VR_BUTTON_INFO { commandId = ECmdPause; state = ENormal; }, |
|
546 VR_BUTTON_INFO { commandId = ECmdRewind; state = EDimmed; }, |
|
547 VR_BUTTON_INFO { commandId = ECmdForward; state = EDimmed; } |
|
548 }; |
|
549 }, |
|
550 // memo_record_embed |
|
551 VR_VISUAL_STATE |
|
552 { |
|
553 menubar = r_vr_recview_menubar_empty; |
|
554 cba = r_vr_softkeys_record_back_select; |
|
555 status = ""; |
|
556 labelSetId = 1; |
|
557 focusButton = 2; |
|
558 stateID = EStateRecordEmbedded; |
|
559 buttons = |
|
560 { |
|
561 VR_BUTTON_INFO { commandId = ECmdPlay; state = EDimmed; }, |
|
562 VR_BUTTON_INFO { commandId = ECmdStop; state = EDimmed; }, |
|
563 VR_BUTTON_INFO { commandId = ECmdRecord; state = ENormal; }, |
|
564 VR_BUTTON_INFO { commandId = ECmdRewind; state = EDimmed; }, |
|
565 VR_BUTTON_INFO { commandId = ECmdForward; state = EDimmed; } |
|
566 }; |
|
567 }, |
|
568 // memo_playing |
|
569 VR_VISUAL_STATE |
|
570 { |
|
571 menubar = r_vr_recview_menubar_empty; |
|
572 cba = r_vr_softkeys_pause_stop_select; |
|
573 status = qtn_vorec_playback; |
|
574 labelSetId = 0; |
|
575 hasVolumeControl = 1; |
|
576 focusButton = 1; |
|
577 stateID = EStatePlaying; |
|
578 buttons = |
|
579 { |
|
580 VR_BUTTON_INFO { commandId = ECmdPause; state = ENormal; }, |
|
581 VR_BUTTON_INFO { commandId = ECmdStop; state = ENormal; }, |
|
582 VR_BUTTON_INFO { commandId = ECmdRecord; state = EDimmed; }, |
|
583 VR_BUTTON_INFO { commandId = ECmdRewind; state = ENormal; }, |
|
584 VR_BUTTON_INFO { commandId = ECmdForward; state = ENormal; } |
|
585 }; |
|
586 }, |
|
587 // memo_paused_playback |
|
588 VR_VISUAL_STATE |
|
589 { |
|
590 menubar = r_vr_recview_menubar_empty; |
|
591 cba = r_vr_softkeys_play_stop_select; |
|
592 status = qtn_vorec_paused; |
|
593 labelSetId = 0; |
|
594 hasVolumeControl = 1; |
|
595 focusButton = 0; |
|
596 stateID = EStatePlayingPaused; |
|
597 buttons = |
|
598 { |
|
599 VR_BUTTON_INFO { commandId = ECmdPlay; state = ENormal; }, |
|
600 VR_BUTTON_INFO { commandId = ECmdStop; state = ENormal; }, |
|
601 VR_BUTTON_INFO { commandId = ECmdRecord; state = EDimmed; }, |
|
602 VR_BUTTON_INFO { commandId = ECmdRewind; state = ENormal; }, |
|
603 VR_BUTTON_INFO { commandId = ECmdForward; state = ENormal; } |
|
604 }; |
|
605 }, |
|
606 // memo_paused_record |
|
607 VR_VISUAL_STATE |
|
608 { |
|
609 menubar = r_vr_recview_menubar_empty; |
|
610 cba = r_vr_softkeys_record_stop_select; |
|
611 status = qtn_vorec_paused; |
|
612 labelSetId = 0; |
|
613 focusButton = 2; |
|
614 stateID = EStateRecordingPaused; |
|
615 buttons = |
|
616 { |
|
617 VR_BUTTON_INFO { commandId = ECmdPlay; state = EDimmed; }, |
|
618 VR_BUTTON_INFO { commandId = ECmdStop; state = ENormal; }, |
|
619 VR_BUTTON_INFO { commandId = ECmdRecord; state = ENormal; }, |
|
620 VR_BUTTON_INFO { commandId = ECmdRewind; state = EDimmed; }, |
|
621 VR_BUTTON_INFO { commandId = ECmdForward; state = EDimmed; } |
|
622 }; |
|
623 }, |
|
624 // memo_open_embed |
|
625 VR_VISUAL_STATE |
|
626 { |
|
627 menubar = r_vr_recview_menubar_viewer; |
|
628 cba = r_vr_softkeys_options_back_select; |
|
629 status = ""; |
|
630 labelSetId = 0; |
|
631 hasVolumeControl = 1; |
|
632 focusButton = 0; |
|
633 stateID = EStateIdleEmbedded; |
|
634 buttons = |
|
635 { |
|
636 VR_BUTTON_INFO { commandId = ECmdPlay; state = ENormal; }, |
|
637 VR_BUTTON_INFO { commandId = ECmdStop; state = EDimmed; }, |
|
638 VR_BUTTON_INFO { commandId = ECmdRecord; state = EDimmed; }, |
|
639 VR_BUTTON_INFO { commandId = ECmdRewind; state = ENormal; }, |
|
640 VR_BUTTON_INFO { commandId = ECmdForward; state = ENormal; } |
|
641 }; |
|
642 }, |
|
643 // memo_record_embed_idle |
|
644 VR_VISUAL_STATE |
|
645 { |
|
646 menubar = r_vr_recview_menubar_empty; |
|
647 cba = r_vr_softkeys_ok_cancel_select; |
|
648 status = ""; |
|
649 labelSetId = 0; |
|
650 hasVolumeControl = 1; |
|
651 focusButton = 0; |
|
652 stateID = EStateIdleRecordEmbedded; |
|
653 buttons = |
|
654 { |
|
655 VR_BUTTON_INFO { commandId = ECmdPlay; state = ENormal; }, |
|
656 VR_BUTTON_INFO { commandId = ECmdStop; state = EDimmed; }, |
|
657 VR_BUTTON_INFO { commandId = ECmdRecord; state = EDimmed; }, |
|
658 VR_BUTTON_INFO { commandId = ECmdRewind; state = ENormal; }, |
|
659 VR_BUTTON_INFO { commandId = ECmdForward; state = ENormal; } |
|
660 }; |
|
661 }, |
|
662 // nokia_ringing_tone_idle |
|
663 VR_VISUAL_STATE |
|
664 { |
|
665 menubar = r_vr_recview_menubar_viewer; |
|
666 cba = r_vr_softkeys_options_back_select; |
|
667 status = ""; |
|
668 labelSetId = 2; |
|
669 hasVolumeControl = 1; |
|
670 hasProgressBar = 0; |
|
671 focusButton = 0; |
|
672 stateID = EStateNRTIdle; |
|
673 buttons = |
|
674 { |
|
675 VR_BUTTON_INFO { commandId = ECmdPlay; state = ENormal; }, |
|
676 VR_BUTTON_INFO { commandId = ECmdStop; state = EDimmed; }, |
|
677 VR_BUTTON_INFO { commandId = ECmdRecord; state = EDimmed; }, |
|
678 VR_BUTTON_INFO { commandId = ECmdRewind; state = EDimmed; }, |
|
679 VR_BUTTON_INFO { commandId = ECmdForward; state = EDimmed; } |
|
680 }; |
|
681 }, |
|
682 // nokia_ringing_tone_playing |
|
683 VR_VISUAL_STATE |
|
684 { |
|
685 menubar = r_vr_recview_menubar_viewer; |
|
686 cba = r_vr_softkeys_stop_select; |
|
687 status = ""; |
|
688 labelSetId = 2; |
|
689 hasVolumeControl = 1; |
|
690 hasProgressBar = 0; |
|
691 focusButton = 1; |
|
692 stateID = EStateNRTPlaying; |
|
693 buttons = |
|
694 { |
|
695 VR_BUTTON_INFO { commandId = ECmdPlay; state = EDimmed; }, |
|
696 VR_BUTTON_INFO { commandId = ECmdStop; state = ENormal; }, |
|
697 VR_BUTTON_INFO { commandId = ECmdRecord; state = EDimmed; }, |
|
698 VR_BUTTON_INFO { commandId = ECmdRewind; state = EDimmed; }, |
|
699 VR_BUTTON_INFO { commandId = ECmdForward; state = EDimmed; } |
|
700 }; |
|
701 }, |
|
702 // disable_buttons |
|
703 VR_VISUAL_STATE |
|
704 { |
|
705 menubar = r_vr_recview_menupane_incall_recording_disabled; |
|
706 cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; |
|
707 status = ""; |
|
708 labelSetId = 0; |
|
709 hasVolumeControl = 0; |
|
710 hasProgressBar = 0; |
|
711 focusButton = 0; |
|
712 stateID = EStateDisableButtons; |
|
713 buttons = |
|
714 { |
|
715 VR_BUTTON_INFO { commandId = ECmdPlay; state = EDimmed; }, |
|
716 VR_BUTTON_INFO { commandId = ECmdStop; state = EDimmed; }, |
|
717 VR_BUTTON_INFO { commandId = ECmdRecord; state = EDimmed; }, |
|
718 VR_BUTTON_INFO { commandId = ECmdRewind; state = EDimmed; }, |
|
719 VR_BUTTON_INFO { commandId = ECmdForward;state = EDimmed; } |
|
720 }; |
|
721 } |
|
722 }; |
|
723 |
|
724 contexts = |
|
725 { |
|
726 VR_CONTEXT |
|
727 { |
|
728 id = EContextNormal; |
|
729 transition = VR_TRANSITION { next = EStateIdle; }; |
|
730 states = |
|
731 { |
|
732 VR_STATE |
|
733 { |
|
734 id = EStateIdle; |
|
735 transitions = |
|
736 { |
|
737 VR_TRANSITION { cmd = ECmdPlay; next = EStatePlaying; function = EFunctionPlay; }, |
|
738 VR_TRANSITION { cmd = ECmdRecord; next = EStateRecording; function = EFunctionRecordNew; }, |
|
739 VR_TRANSITION { cmd = ECmdForward; next = EStateIdle; function = EFunctionForward; }, |
|
740 VR_TRANSITION { cmd = ECmdRewind; next = EStateIdle; function = EFunctionRewind; }, |
|
741 VR_TRANSITION { cmd = ECmdDelete; next = EStateDeleted; function = EFunctionDelete; }, |
|
742 VR_TRANSITION { cmd = ECmdRename; next = EStateIdle; function = EFunctionRename; }, |
|
743 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateIdle; function = EFunctionNop; }, |
|
744 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdle; function = EFunctionNop; }, |
|
745 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateIdle; function = EFunctionStop; }, |
|
746 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateIdle; function = EFunctionNop; }, |
|
747 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionNop; }, |
|
748 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateIdle; function = EFunctionSetNewPosition; } |
|
749 }; |
|
750 }, |
|
751 VR_STATE |
|
752 { |
|
753 id = EStateDeleted; |
|
754 transitions = |
|
755 { |
|
756 VR_TRANSITION { cmd = ECmdRecord; next = EStateRecording; function = EFunctionRecordNew; }, |
|
757 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateDeleted; function = EFunctionNop; }, |
|
758 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateDeleted; function = EFunctionNop; }, |
|
759 VR_TRANSITION { cmd = ECmdDelete; next = EStateDeleted; function = EFunctionNop; }, |
|
760 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateDeleted; function = EFunctionNop; }, |
|
761 VR_TRANSITION { cmd = ECmdEndKey; next = EStateDeleted; function = EFunctionNop; }, |
|
762 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateDeleted; function = EFunctionNop; } |
|
763 }; |
|
764 }, |
|
765 VR_STATE |
|
766 { |
|
767 id = EStateRecording; |
|
768 transitions = |
|
769 { |
|
770 VR_TRANSITION { cmd = ECmdStop; next = EStateIdle; function = EFunctionStopAndSave; }, |
|
771 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateIdle; function = EFunctionAutoStopAndSave; }, |
|
772 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateIdle; function = EFunctionStopAndSave; }, |
|
773 VR_TRANSITION { cmd = ECmdPause; next = EStateRecordingPaused; function = EFunctionPause; }, |
|
774 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdle; function = EFunctionSilentStopAndSave; }, |
|
775 VR_TRANSITION { cmd = ECmdDelete; next = EStateRecording; function = EFunctionNop; }, |
|
776 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateIdle; function = EFunctionAutoStopAndSave; }, |
|
777 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionAutoStopAndSave; }, |
|
778 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateRecording; function = EFunctionNop; } |
|
779 }; |
|
780 }, |
|
781 VR_STATE |
|
782 { |
|
783 id = EStatePlaying; |
|
784 transitions = |
|
785 { |
|
786 VR_TRANSITION { cmd = ECmdPause; next = EStatePlayingPaused; function = EFunctionPause; }, |
|
787 VR_TRANSITION { cmd = ECmdStop; next = EStateIdle; function = EFunctionStop; }, |
|
788 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateIdle; function = EFunctionStop; }, |
|
789 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateIdle; function = EFunctionAutoStop; }, |
|
790 VR_TRANSITION { cmd = ECmdForward; next = EStatePlaying; function = EFunctionForward; }, |
|
791 VR_TRANSITION { cmd = ECmdRewind; next = EStatePlaying; function = EFunctionRewind; }, |
|
792 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdle; function = EFunctionStop; }, |
|
793 VR_TRANSITION { cmd = ECmdDelete; next = EStatePlaying; function = EFunctionNop; }, |
|
794 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStatePlaying; function = EFunctionNop; }, |
|
795 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionStop; }, |
|
796 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStatePlaying; function = EFunctionSetNewPosition; } |
|
797 }; |
|
798 }, |
|
799 VR_STATE |
|
800 { |
|
801 id = EStatePlayingPaused; |
|
802 transitions = |
|
803 { |
|
804 VR_TRANSITION { cmd = ECmdPlay; next = EStatePlaying; function = EFunctionPlay; }, |
|
805 VR_TRANSITION { cmd = ECmdStop; next = EStateIdle; function = EFunctionStop; }, |
|
806 VR_TRANSITION { cmd = ECmdForward; next = EStatePlayingPaused; function = EFunctionForward; }, |
|
807 VR_TRANSITION { cmd = ECmdRewind; next = EStatePlayingPaused; function = EFunctionRewind; }, |
|
808 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStatePlayingPaused; function = EFunctionNop; }, |
|
809 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdle; function = EFunctionStop; }, |
|
810 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateIdle; function = EFunctionAutoStop; }, |
|
811 VR_TRANSITION { cmd = ECmdDelete; next = EStatePlayingPaused; function = EFunctionNop; }, |
|
812 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStatePlayingPaused; function = EFunctionNop; }, |
|
813 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionStop; }, |
|
814 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStatePlayingPaused; function = EFunctionSetNewPosition; } |
|
815 }; |
|
816 }, |
|
817 VR_STATE |
|
818 { |
|
819 id = EStateRecordingPaused; |
|
820 transitions = |
|
821 { |
|
822 VR_TRANSITION { cmd = ECmdStop; next = EStateIdle; function = EFunctionStopAndSave; }, |
|
823 VR_TRANSITION { cmd = ECmdRecord; next = EStateRecording; function = EFunctionRecord; }, |
|
824 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateRecordingPaused; function = EFunctionNop; }, |
|
825 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdle; function = EFunctionSilentStopAndSave; }, |
|
826 VR_TRANSITION { cmd = ECmdDelete; next = EStateRecordingPaused; function = EFunctionNop; }, |
|
827 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateRecordingPaused; function = EFunctionNop; }, |
|
828 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionAutoStopAndSave; }, |
|
829 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateRecordingPaused; function = EFunctionSetNewPosition; } |
|
830 }; |
|
831 }, |
|
832 // Disabled button state |
|
833 VR_STATE |
|
834 { |
|
835 id = EStateDisableButtons; |
|
836 transitions = |
|
837 { |
|
838 VR_TRANSITION { cmd = ECmdPlay; next = EStateIdle; function = EFunctionNop; }, |
|
839 VR_TRANSITION { cmd = ECmdStop; next = EStateIdle; function = EFunctionNop; }, |
|
840 VR_TRANSITION { cmd = ECmdForward; next = EStateIdle; function = EFunctionNop; }, |
|
841 VR_TRANSITION { cmd = ECmdRewind; next = EStateIdle; function = EFunctionNop; }, |
|
842 VR_TRANSITION { cmd = ECmdRecord; next = EStateIdle; function = EFunctionNop; }, |
|
843 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateIdle; function = EFunctionNop; }, |
|
844 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdle; function = EFunctionNop; }, |
|
845 VR_TRANSITION { cmd = ECmdDelete; next = EStateIdle; function = EFunctionNop; }, |
|
846 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateIdle; function = EFunctionNop; }, |
|
847 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionNop; }, |
|
848 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateDisableButtons; function = EFunctionNop; } |
|
849 }; |
|
850 |
|
851 } |
|
852 }; |
|
853 }, |
|
854 VR_CONTEXT |
|
855 { |
|
856 id = EContextEmptyNormal; |
|
857 transition = VR_TRANSITION { next = EStateDeleted; }; |
|
858 states = |
|
859 { |
|
860 VR_STATE |
|
861 { |
|
862 id = EStateIdle; |
|
863 transitions = |
|
864 { |
|
865 VR_TRANSITION { cmd = ECmdPlay; next = EStatePlaying; function = EFunctionPlay; }, |
|
866 VR_TRANSITION { cmd = ECmdRecord; next = EStateRecording; function = EFunctionRecordNew; }, |
|
867 VR_TRANSITION { cmd = ECmdForward; next = EStateIdle; function = EFunctionForward; }, |
|
868 VR_TRANSITION { cmd = ECmdRewind; next = EStateIdle; function = EFunctionRewind; }, |
|
869 VR_TRANSITION { cmd = ECmdDelete; next = EStateDeleted; function = EFunctionDelete; }, |
|
870 VR_TRANSITION { cmd = ECmdRename; next = EStateIdle; function = EFunctionRename; }, |
|
871 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateIdle; function = EFunctionNop; }, |
|
872 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdle; function = EFunctionNop; }, |
|
873 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateIdle; function = EFunctionStop; }, |
|
874 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateIdle; function = EFunctionNop; }, |
|
875 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionNop; }, |
|
876 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateIdle; function = EFunctionSetNewPosition; } |
|
877 }; |
|
878 }, |
|
879 VR_STATE |
|
880 { |
|
881 id = EStateDeleted; |
|
882 transitions = |
|
883 { |
|
884 VR_TRANSITION { cmd = ECmdRecord; next = EStateRecording; function = EFunctionRecordNew; }, |
|
885 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateDeleted; function = EFunctionNop; }, |
|
886 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateDeleted; function = EFunctionNop; }, |
|
887 VR_TRANSITION { cmd = ECmdDelete; next = EStateDeleted; function = EFunctionNop; }, |
|
888 VR_TRANSITION { cmd = ECmdEndKey; next = EStateDeleted; function = EFunctionNop; }, |
|
889 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateDeleted; function = EFunctionNop; }, |
|
890 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateDeleted; function = EFunctionNop; }, |
|
891 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateDeleted; function = EFunctionNop; } |
|
892 // Bentley |
|
893 }; |
|
894 }, |
|
895 VR_STATE |
|
896 { |
|
897 id = EStateRecording; |
|
898 transitions = |
|
899 { |
|
900 VR_TRANSITION { cmd = ECmdStop; next = EStateIdle; function = EFunctionStopAndSave; }, |
|
901 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateIdle; function = EFunctionAutoStopAndSave; }, |
|
902 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateIdle; function = EFunctionStopAndSave; }, |
|
903 VR_TRANSITION { cmd = ECmdPause; next = EStateRecordingPaused; function = EFunctionPause; }, |
|
904 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdle; function = EFunctionSilentStopAndSave; }, |
|
905 VR_TRANSITION { cmd = ECmdDelete; next = EStateRecording; function = EFunctionNop; }, |
|
906 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateIdle; function = EFunctionAutoStopAndSave; }, |
|
907 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionSaveBeforeExit; }, |
|
908 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateRecording; function = EFunctionNop; } |
|
909 }; |
|
910 }, |
|
911 VR_STATE |
|
912 { |
|
913 id = EStatePlaying; |
|
914 transitions = |
|
915 { |
|
916 VR_TRANSITION { cmd = ECmdPause; next = EStatePlayingPaused; function = EFunctionPause; }, |
|
917 VR_TRANSITION { cmd = ECmdStop; next = EStateIdle; function = EFunctionStop; }, |
|
918 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateIdle; function = EFunctionStop; }, |
|
919 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateIdle; function = EFunctionAutoStop; }, |
|
920 VR_TRANSITION { cmd = ECmdForward; next = EStatePlaying; function = EFunctionForward; }, |
|
921 VR_TRANSITION { cmd = ECmdRewind; next = EStatePlaying; function = EFunctionRewind; }, |
|
922 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdle; function = EFunctionStop; }, |
|
923 VR_TRANSITION { cmd = ECmdDelete; next = EStatePlaying; function = EFunctionNop; }, |
|
924 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStatePlaying; function = EFunctionNop; }, |
|
925 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionStop; }, |
|
926 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStatePlaying; function = EFunctionSetNewPosition; } |
|
927 }; |
|
928 }, |
|
929 VR_STATE |
|
930 { |
|
931 id = EStatePlayingPaused; |
|
932 transitions = |
|
933 { |
|
934 VR_TRANSITION { cmd = ECmdPlay; next = EStatePlaying; function = EFunctionPlay; }, |
|
935 VR_TRANSITION { cmd = ECmdStop; next = EStateIdle; function = EFunctionStop; }, |
|
936 VR_TRANSITION { cmd = ECmdForward; next = EStatePlayingPaused; function = EFunctionForward; }, |
|
937 VR_TRANSITION { cmd = ECmdRewind; next = EStatePlayingPaused; function = EFunctionRewind; }, |
|
938 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStatePlayingPaused; function = EFunctionNop; }, |
|
939 VR_TRANSITION { cmd = ECmdSilentStop; next = EStatePlayingPaused; function = EFunctionNop; }, |
|
940 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateIdle; function = EFunctionAutoStop; }, |
|
941 VR_TRANSITION { cmd = ECmdDelete; next = EStatePlayingPaused; function = EFunctionNop; }, |
|
942 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStatePlayingPaused; function = EFunctionNop; }, |
|
943 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionStop; }, |
|
944 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStatePlayingPaused; function = EFunctionSetNewPosition; } |
|
945 }; |
|
946 }, |
|
947 VR_STATE |
|
948 { |
|
949 id = EStateRecordingPaused; |
|
950 transitions = |
|
951 { |
|
952 VR_TRANSITION { cmd = ECmdStop; next = EStateIdle; function = EFunctionStopAndSave; }, |
|
953 VR_TRANSITION { cmd = ECmdRecord; next = EStateRecording; function = EFunctionRecord; }, |
|
954 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateRecordingPaused; function = EFunctionNop; }, |
|
955 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateRecordingPaused; function = EFunctionNop; }, |
|
956 VR_TRANSITION { cmd = ECmdDelete; next = EStateRecordingPaused; function = EFunctionNop; }, |
|
957 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateRecordingPaused; function = EFunctionNop; }, |
|
958 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionSaveBeforeExit; }, |
|
959 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateRecordingPaused; function = EFunctionNop; } |
|
960 }; |
|
961 }, |
|
962 // Disabled button state |
|
963 VR_STATE |
|
964 { |
|
965 id = EStateDisableButtons; |
|
966 transitions = |
|
967 { |
|
968 VR_TRANSITION { cmd = ECmdPlay; next = EStateIdle; function = EFunctionNop; }, |
|
969 VR_TRANSITION { cmd = ECmdStop; next = EStateIdle; function = EFunctionNop; }, |
|
970 VR_TRANSITION { cmd = ECmdForward; next = EStateIdle; function = EFunctionNop; }, |
|
971 VR_TRANSITION { cmd = ECmdRewind; next = EStateIdle; function = EFunctionNop; }, |
|
972 VR_TRANSITION { cmd = ECmdRecord; next = EStateIdle; function = EFunctionNop; }, |
|
973 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateIdle; function = EFunctionNop; }, |
|
974 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdle; function = EFunctionNop; }, |
|
975 VR_TRANSITION { cmd = ECmdDelete; next = EStateIdle; function = EFunctionNop; }, |
|
976 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateIdle; function = EFunctionNop; }, |
|
977 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionNop; }, |
|
978 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateIdle; function = EFunctionNop; } |
|
979 }; |
|
980 } |
|
981 |
|
982 }; |
|
983 }, |
|
984 VR_CONTEXT |
|
985 { |
|
986 id = EContextRecordNewNormal; |
|
987 transition = VR_TRANSITION { next = EStateRecording; function = EFunctionRecord; }; |
|
988 states = |
|
989 { |
|
990 VR_STATE |
|
991 { |
|
992 id = EStateIdle; |
|
993 transitions = |
|
994 { |
|
995 VR_TRANSITION { cmd = ECmdPlay; next = EStatePlaying; function = EFunctionPlay; }, |
|
996 VR_TRANSITION { cmd = ECmdRecord; next = EStateRecording; function = EFunctionRecordNew; }, |
|
997 VR_TRANSITION { cmd = ECmdForward; next = EStateIdle; function = EFunctionForward; }, |
|
998 VR_TRANSITION { cmd = ECmdRewind; next = EStateIdle; function = EFunctionRewind; }, |
|
999 VR_TRANSITION { cmd = ECmdDelete; next = EStateDeleted; function = EFunctionDelete; }, |
|
1000 VR_TRANSITION { cmd = ECmdRename; next = EStateIdle; function = EFunctionRename; }, |
|
1001 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateIdle; function = EFunctionNop; }, |
|
1002 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdle; function = EFunctionNop; }, |
|
1003 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateIdle; function = EFunctionStop; }, |
|
1004 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateIdle; function = EFunctionNop; }, |
|
1005 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionNop; }, |
|
1006 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateIdle; function = EFunctionSetNewPosition; } |
|
1007 }; |
|
1008 }, |
|
1009 VR_STATE |
|
1010 { |
|
1011 id = EStateDeleted; |
|
1012 transitions = |
|
1013 { |
|
1014 VR_TRANSITION { cmd = ECmdRecord; next = EStateRecording; function = EFunctionRecordNew; }, |
|
1015 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateDeleted; function = EFunctionNop; }, |
|
1016 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateDeleted; function = EFunctionNop; }, |
|
1017 VR_TRANSITION { cmd = ECmdDelete; next = EStateDeleted; function = EFunctionNop; }, |
|
1018 VR_TRANSITION { cmd = ECmdEndKey; next = EStateDeleted; function = EFunctionNop; }, |
|
1019 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateDeleted; function = EFunctionNop; }, |
|
1020 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateDeleted; function = EFunctionNop; }, |
|
1021 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateDeleted; function = EFunctionNop; } |
|
1022 // Bentley |
|
1023 }; |
|
1024 }, |
|
1025 VR_STATE |
|
1026 { |
|
1027 id = EStateRecording; |
|
1028 transitions = |
|
1029 { |
|
1030 VR_TRANSITION { cmd = ECmdStop; next = EStateIdle; function = EFunctionStopAndSave; }, |
|
1031 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateIdle; function = EFunctionAutoStopAndSave; }, |
|
1032 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateIdle; function = EFunctionStopAndSave; }, |
|
1033 VR_TRANSITION { cmd = ECmdPause; next = EStateRecordingPaused; function = EFunctionPause; }, |
|
1034 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdle; function = EFunctionSilentStopAndSave; }, |
|
1035 VR_TRANSITION { cmd = ECmdDelete; next = EStateRecording; function = EFunctionNop; }, |
|
1036 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateIdle; function = EFunctionAutoStopAndSave; }, |
|
1037 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionSaveBeforeExit; }, |
|
1038 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateRecording; function = EFunctionNop; } |
|
1039 }; |
|
1040 }, |
|
1041 VR_STATE |
|
1042 { |
|
1043 id = EStatePlaying; |
|
1044 transitions = |
|
1045 { |
|
1046 VR_TRANSITION { cmd = ECmdPause; next = EStatePlayingPaused; function = EFunctionPause; }, |
|
1047 VR_TRANSITION { cmd = ECmdStop; next = EStateIdle; function = EFunctionStop; }, |
|
1048 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateIdle; function = EFunctionStop; }, |
|
1049 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateIdle; function = EFunctionAutoStop; }, |
|
1050 VR_TRANSITION { cmd = ECmdForward; next = EStatePlaying; function = EFunctionForward; }, |
|
1051 VR_TRANSITION { cmd = ECmdRewind; next = EStatePlaying; function = EFunctionRewind; }, |
|
1052 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdle; function = EFunctionStop; }, |
|
1053 VR_TRANSITION { cmd = ECmdDelete; next = EStatePlaying; function = EFunctionNop; }, |
|
1054 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStatePlaying; function = EFunctionNop; }, |
|
1055 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionStop; }, |
|
1056 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStatePlaying; function = EFunctionSetNewPosition; } |
|
1057 }; |
|
1058 }, |
|
1059 VR_STATE |
|
1060 { |
|
1061 id = EStatePlayingPaused; |
|
1062 transitions = |
|
1063 { |
|
1064 VR_TRANSITION { cmd = ECmdPlay; next = EStatePlaying; function = EFunctionPlay; }, |
|
1065 VR_TRANSITION { cmd = ECmdStop; next = EStateIdle; function = EFunctionStop; }, |
|
1066 VR_TRANSITION { cmd = ECmdForward; next = EStatePlayingPaused; function = EFunctionForward; }, |
|
1067 VR_TRANSITION { cmd = ECmdRewind; next = EStatePlayingPaused; function = EFunctionRewind; }, |
|
1068 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStatePlayingPaused; function = EFunctionNop; }, |
|
1069 VR_TRANSITION { cmd = ECmdSilentStop; next = EStatePlayingPaused; function = EFunctionNop; }, |
|
1070 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateIdle; function = EFunctionAutoStop; }, |
|
1071 VR_TRANSITION { cmd = ECmdDelete; next = EStatePlayingPaused; function = EFunctionNop; }, |
|
1072 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStatePlayingPaused; function = EFunctionNop; }, |
|
1073 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionStop; }, |
|
1074 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStatePlayingPaused; function = EFunctionSetNewPosition; } |
|
1075 }; |
|
1076 }, |
|
1077 VR_STATE |
|
1078 { |
|
1079 id = EStateRecordingPaused; |
|
1080 transitions = |
|
1081 { |
|
1082 VR_TRANSITION { cmd = ECmdStop; next = EStateIdle; function = EFunctionStopAndSave; }, |
|
1083 VR_TRANSITION { cmd = ECmdRecord; next = EStateRecording; function = EFunctionRecord; }, |
|
1084 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateRecordingPaused; function = EFunctionNop; }, |
|
1085 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateRecordingPaused; function = EFunctionNop; }, |
|
1086 VR_TRANSITION { cmd = ECmdDelete; next = EStateRecordingPaused; function = EFunctionNop; }, |
|
1087 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateRecordingPaused; function = EFunctionNop; }, |
|
1088 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionAutoStopAndSave; }, |
|
1089 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateRecordingPaused; function = EFunctionNop; } |
|
1090 }; |
|
1091 }, |
|
1092 // Disabled button state |
|
1093 VR_STATE |
|
1094 { |
|
1095 id = EStateDisableButtons; |
|
1096 transitions = |
|
1097 { |
|
1098 VR_TRANSITION { cmd = ECmdPlay; next = EStateIdle; function = EFunctionNop; }, |
|
1099 VR_TRANSITION { cmd = ECmdStop; next = EStateIdle; function = EFunctionNop; }, |
|
1100 VR_TRANSITION { cmd = ECmdForward; next = EStateIdle; function = EFunctionNop; }, |
|
1101 VR_TRANSITION { cmd = ECmdRewind; next = EStateIdle; function = EFunctionNop; }, |
|
1102 VR_TRANSITION { cmd = ECmdRecord; next = EStateIdle; function = EFunctionNop; }, |
|
1103 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateIdle; function = EFunctionNop; }, |
|
1104 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdle; function = EFunctionNop; }, |
|
1105 VR_TRANSITION { cmd = ECmdDelete; next = EStateIdle; function = EFunctionNop; }, |
|
1106 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateIdle; function = EFunctionNop; }, |
|
1107 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionNop; }, |
|
1108 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateIdle; function = EFunctionNop; } |
|
1109 }; |
|
1110 } |
|
1111 }; |
|
1112 }, |
|
1113 VR_CONTEXT |
|
1114 { |
|
1115 id = EContextRecordNewForRemote; |
|
1116 transition = VR_TRANSITION { next = EStateRecordEmbedded; }; |
|
1117 states = |
|
1118 { |
|
1119 VR_STATE |
|
1120 { |
|
1121 id = EStateRecordEmbedded; |
|
1122 transitions = |
|
1123 { |
|
1124 VR_TRANSITION { cmd = ECmdRecord; next = EStateRecording; function = EFunctionRecord; }, |
|
1125 VR_TRANSITION { cmd = ECmdCancel; next = EStateRecordEmbedded; function = EFunctionCancel; }, |
|
1126 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateRecordEmbedded; function = EFunctionNop; }, |
|
1127 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateRecordEmbedded; function = EFunctionNop; }, |
|
1128 VR_TRANSITION { cmd = ECmdDelete; next = EStateRecordEmbedded; function = EFunctionNop; }, |
|
1129 VR_TRANSITION { cmd = ECmdEndKey; next = EStateRecordEmbedded; function = EFunctionNop; }, |
|
1130 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateRecordEmbedded; function = EFunctionNop; }, |
|
1131 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateRecordEmbedded; function = EFunctionNop; }, |
|
1132 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateRecordEmbedded; function = EFunctionNop; } |
|
1133 // Bentley |
|
1134 }; |
|
1135 }, |
|
1136 VR_STATE |
|
1137 { |
|
1138 id = EStateRecording; |
|
1139 transitions = |
|
1140 { |
|
1141 VR_TRANSITION { cmd = ECmdStop; next = EStateIdleRecordEmbedded; function = EFunctionStop; }, |
|
1142 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateIdleRecordEmbedded; function = EFunctionStopWithNote; }, |
|
1143 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateIdleRecordEmbedded; function = EFunctionStop; }, |
|
1144 VR_TRANSITION { cmd = ECmdPause; next = EStateRecordingPaused; function = EFunctionPause; }, |
|
1145 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdleRecordEmbedded; function = EFunctionStop; }, |
|
1146 VR_TRANSITION { cmd = ECmdDelete; next = EStateRecording; function = EFunctionNop; }, |
|
1147 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateIdleRecordEmbedded; function = EFunctionStopWithNote; }, |
|
1148 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdleRecordEmbedded; function = EFunctionStopWithNote; }, |
|
1149 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateRecording; function = EFunctionNop; } |
|
1150 }; |
|
1151 }, |
|
1152 VR_STATE |
|
1153 { |
|
1154 id = EStateIdleRecordEmbedded; |
|
1155 transitions = |
|
1156 { |
|
1157 VR_TRANSITION { cmd = ECmdPlay; next = EStatePlaying; function = EFunctionPlay; }, |
|
1158 VR_TRANSITION { cmd = ECmdForward; next = EStateIdleRecordEmbedded; function = EFunctionForward; }, |
|
1159 VR_TRANSITION { cmd = ECmdRewind; next = EStateIdleRecordEmbedded; function = EFunctionRewind; }, |
|
1160 VR_TRANSITION { cmd = ECmdOk; next = EStateIdleRecordEmbedded; function = EFunctionOk; }, |
|
1161 VR_TRANSITION { cmd = ECmdCancel; next = EStateIdleRecordEmbedded; function = EFunctionCancel; }, |
|
1162 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateIdleRecordEmbedded; function = EFunctionNop; }, |
|
1163 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdleRecordEmbedded; function = EFunctionNop; }, |
|
1164 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateIdleRecordEmbedded; function = EFunctionStop; }, |
|
1165 VR_TRANSITION { cmd = ECmdDelete; next = EStateIdleRecordEmbedded; function = EFunctionNop; }, |
|
1166 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateIdleRecordEmbedded; function = EFunctionNop; }, |
|
1167 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdleRecordEmbedded; function = EFunctionNop; }, |
|
1168 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateIdleRecordEmbedded; function = EFunctionSetNewPosition; } |
|
1169 }; |
|
1170 }, |
|
1171 VR_STATE |
|
1172 { |
|
1173 id = EStateRecordingPaused; |
|
1174 transitions = |
|
1175 { |
|
1176 VR_TRANSITION { cmd = ECmdStop; next = EStateIdleRecordEmbedded; function = EFunctionStop; }, |
|
1177 VR_TRANSITION { cmd = ECmdRecord; next = EStateRecording; function = EFunctionRecord; }, |
|
1178 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateRecordingPaused; function = EFunctionNop; }, |
|
1179 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateRecordingPaused; function = EFunctionNop; }, |
|
1180 VR_TRANSITION { cmd = ECmdDelete; next = EStateRecordingPaused; function = EFunctionNop; }, |
|
1181 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateRecordingPaused; function = EFunctionNop; }, |
|
1182 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdleRecordEmbedded; function = EFunctionStopWithNote; }, |
|
1183 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateRecordingPaused; function = EFunctionNop; } |
|
1184 }; |
|
1185 }, |
|
1186 VR_STATE |
|
1187 { |
|
1188 id = EStatePlaying; |
|
1189 transitions = |
|
1190 { |
|
1191 VR_TRANSITION { cmd = ECmdPause; next = EStatePlayingPaused; function = EFunctionPause; }, |
|
1192 VR_TRANSITION { cmd = ECmdStop; next = EStateIdleRecordEmbedded; function = EFunctionStop; }, |
|
1193 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateIdleRecordEmbedded; function = EFunctionStop; }, |
|
1194 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateIdleRecordEmbedded; function = EFunctionAutoStop; }, |
|
1195 VR_TRANSITION { cmd = ECmdForward; next = EStatePlaying; function = EFunctionForward; }, |
|
1196 VR_TRANSITION { cmd = ECmdRewind; next = EStatePlaying; function = EFunctionRewind; }, |
|
1197 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdleRecordEmbedded; function = EFunctionStop; }, |
|
1198 VR_TRANSITION { cmd = ECmdDelete; next = EStatePlaying; function = EFunctionNop; }, |
|
1199 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStatePlaying; function = EFunctionNop; }, |
|
1200 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdleRecordEmbedded; function = EFunctionStop; }, |
|
1201 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStatePlaying; function = EFunctionSetNewPosition; } |
|
1202 }; |
|
1203 }, |
|
1204 VR_STATE |
|
1205 { |
|
1206 id = EStatePlayingPaused; |
|
1207 transitions = |
|
1208 { |
|
1209 VR_TRANSITION { cmd = ECmdPlay; next = EStatePlaying; function = EFunctionPlay; }, |
|
1210 VR_TRANSITION { cmd = ECmdStop; next = EStateIdleRecordEmbedded; function = EFunctionStop; }, |
|
1211 VR_TRANSITION { cmd = ECmdForward; next = EStatePlayingPaused; function = EFunctionForward; }, |
|
1212 VR_TRANSITION { cmd = ECmdRewind; next = EStatePlayingPaused; function = EFunctionRewind; }, |
|
1213 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStatePlayingPaused; function = EFunctionNop; }, |
|
1214 VR_TRANSITION { cmd = ECmdSilentStop; next = EStatePlayingPaused; function = EFunctionNop; }, |
|
1215 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateIdleRecordEmbedded; function = EFunctionAutoStop; }, |
|
1216 VR_TRANSITION { cmd = ECmdDelete; next = EStatePlayingPaused; function = EFunctionNop; }, |
|
1217 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStatePlayingPaused; function = EFunctionNop; }, |
|
1218 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdleRecordEmbedded; function = EFunctionStop; }, |
|
1219 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStatePlayingPaused; function = EFunctionSetNewPosition; } |
|
1220 }; |
|
1221 }, |
|
1222 // Disabled button state |
|
1223 VR_STATE |
|
1224 { |
|
1225 id = EStateDisableButtons; |
|
1226 transitions = |
|
1227 { |
|
1228 VR_TRANSITION { cmd = ECmdPlay; next = EStateIdle; function = EFunctionNop; }, |
|
1229 VR_TRANSITION { cmd = ECmdStop; next = EStateIdle; function = EFunctionNop; }, |
|
1230 VR_TRANSITION { cmd = ECmdForward; next = EStateIdle; function = EFunctionNop; }, |
|
1231 VR_TRANSITION { cmd = ECmdRewind; next = EStateIdle; function = EFunctionNop; }, |
|
1232 VR_TRANSITION { cmd = ECmdRecord; next = EStateIdle; function = EFunctionNop; }, |
|
1233 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateIdle; function = EFunctionNop; }, |
|
1234 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdle; function = EFunctionNop; }, |
|
1235 VR_TRANSITION { cmd = ECmdDelete; next = EStateIdle; function = EFunctionNop; }, |
|
1236 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateIdle; function = EFunctionNop; }, |
|
1237 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionNop; }, |
|
1238 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateIdle; function = EFunctionNop; } |
|
1239 }; |
|
1240 } |
|
1241 }; |
|
1242 }, |
|
1243 |
|
1244 VR_CONTEXT |
|
1245 { |
|
1246 id = EContextViewer; |
|
1247 transition = VR_TRANSITION { next = EStateIdleEmbedded; }; |
|
1248 states = |
|
1249 { |
|
1250 VR_STATE |
|
1251 { |
|
1252 id = EStateIdleEmbedded; |
|
1253 transitions = |
|
1254 { |
|
1255 VR_TRANSITION { cmd = ECmdPlay; next = EStatePlaying; function = EFunctionPlay; }, |
|
1256 VR_TRANSITION { cmd = ECmdForward; next = EStateIdleEmbedded; function = EFunctionForward; }, |
|
1257 VR_TRANSITION { cmd = ECmdRewind; next = EStateIdleEmbedded; function = EFunctionRewind; }, |
|
1258 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateIdleEmbedded; function = EFunctionNop; }, |
|
1259 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdleEmbedded; function = EFunctionNop; }, |
|
1260 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateIdleEmbedded; function = EFunctionStop; }, |
|
1261 VR_TRANSITION { cmd = ECmdDelete; next = EStateIdleEmbedded; function = EFunctionNop; }, |
|
1262 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateIdleEmbedded; function = EFunctionNop; }, |
|
1263 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdleEmbedded; function = EFunctionNop; }, |
|
1264 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateIdleEmbedded; function = EFunctionSetNewPosition; } |
|
1265 }; |
|
1266 }, |
|
1267 VR_STATE |
|
1268 { |
|
1269 id = EStatePlaying; |
|
1270 transitions = |
|
1271 { |
|
1272 VR_TRANSITION { cmd = ECmdPause; next = EStatePlayingPaused; function = EFunctionPause; }, |
|
1273 VR_TRANSITION { cmd = ECmdStop; next = EStateIdleEmbedded; function = EFunctionStop; }, |
|
1274 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateIdleEmbedded; function = EFunctionStop; }, |
|
1275 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateIdleEmbedded; function = EFunctionStop; }, |
|
1276 VR_TRANSITION { cmd = ECmdForward; next = EStatePlaying; function = EFunctionForward; }, |
|
1277 VR_TRANSITION { cmd = ECmdRewind; next = EStatePlaying; function = EFunctionRewind; }, |
|
1278 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdleEmbedded; function = EFunctionStop; }, |
|
1279 VR_TRANSITION { cmd = ECmdDelete; next = EStatePlaying; function = EFunctionNop; }, |
|
1280 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStatePlaying; function = EFunctionNop; }, |
|
1281 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdleEmbedded; function = EFunctionStop; }, |
|
1282 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStatePlaying; function = EFunctionSetNewPosition; } |
|
1283 }; |
|
1284 }, |
|
1285 VR_STATE |
|
1286 { |
|
1287 id = EStatePlayingPaused; |
|
1288 transitions = |
|
1289 { |
|
1290 VR_TRANSITION { cmd = ECmdPlay; next = EStatePlaying; function = EFunctionPlay; }, |
|
1291 VR_TRANSITION { cmd = ECmdStop; next = EStateIdleEmbedded; function = EFunctionStop; }, |
|
1292 VR_TRANSITION { cmd = ECmdForward; next = EStatePlayingPaused; function = EFunctionForward; }, |
|
1293 VR_TRANSITION { cmd = ECmdRewind; next = EStatePlayingPaused; function = EFunctionRewind; }, |
|
1294 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStatePlayingPaused; function = EFunctionNop; }, |
|
1295 VR_TRANSITION { cmd = ECmdSilentStop; next = EStatePlayingPaused; function = EFunctionNop; }, |
|
1296 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateIdleEmbedded; function = EFunctionStop; }, |
|
1297 VR_TRANSITION { cmd = ECmdDelete; next = EStatePlayingPaused; function = EFunctionNop; }, |
|
1298 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStatePlayingPaused; function = EFunctionNop; }, |
|
1299 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdleEmbedded; function = EFunctionStop; }, |
|
1300 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStatePlayingPaused; function = EFunctionSetNewPosition; } |
|
1301 }; |
|
1302 }, |
|
1303 // Disabled button state |
|
1304 VR_STATE |
|
1305 { |
|
1306 id = EStateDisableButtons; |
|
1307 transitions = |
|
1308 { |
|
1309 VR_TRANSITION { cmd = ECmdPlay; next = EStateIdle; function = EFunctionNop; }, |
|
1310 VR_TRANSITION { cmd = ECmdStop; next = EStateIdle; function = EFunctionNop; }, |
|
1311 VR_TRANSITION { cmd = ECmdForward; next = EStateIdle; function = EFunctionNop; }, |
|
1312 VR_TRANSITION { cmd = ECmdRewind; next = EStateIdle; function = EFunctionNop; }, |
|
1313 VR_TRANSITION { cmd = ECmdRecord; next = EStateIdle; function = EFunctionNop; }, |
|
1314 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateIdle; function = EFunctionNop; }, |
|
1315 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdle; function = EFunctionNop; }, |
|
1316 VR_TRANSITION { cmd = ECmdDelete; next = EStateIdle; function = EFunctionNop; }, |
|
1317 VR_TRANSITION { cmd = ECmdDisconnectCall; next = EStateIdle; function = EFunctionNop; }, |
|
1318 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionNop; }, |
|
1319 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateIdle; function = EFunctionNop; } |
|
1320 }; |
|
1321 |
|
1322 } |
|
1323 }; |
|
1324 }, |
|
1325 |
|
1326 VR_CONTEXT |
|
1327 { |
|
1328 id = EContextNokiaRingTone; |
|
1329 transition = VR_TRANSITION { next = EStateNRTIdle; }; |
|
1330 states = |
|
1331 { |
|
1332 VR_STATE |
|
1333 { |
|
1334 id = EStateNRTIdle; |
|
1335 transitions = |
|
1336 { |
|
1337 VR_TRANSITION { cmd = ECmdPlay; next = EStateNRTPlaying; function = EFunctionPlay; }, |
|
1338 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateNRTIdle; function = EFunctionNop; }, |
|
1339 VR_TRANSITION { cmd = ECmdDelete; next = EStateNRTIdle; function = EFunctionNop; }, |
|
1340 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateNRTIdle; function = EFunctionNop; }, |
|
1341 VR_TRANSITION { cmd = ECmdEndKey; next = EStateNRTIdle; function = EFunctionNop; }, |
|
1342 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateNRTIdle; function = EFunctionSetNewPosition; } |
|
1343 }; |
|
1344 }, |
|
1345 VR_STATE |
|
1346 { |
|
1347 id = EStateNRTPlaying; |
|
1348 transitions = |
|
1349 { |
|
1350 VR_TRANSITION { cmd = ECmdStop; next = EStateNRTIdle; function = EFunctionNRTStop; }, |
|
1351 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateNRTIdle; function = EFunctionNRTStop; }, |
|
1352 VR_TRANSITION { cmd = ECmdAutoStopAtEnd; next = EStateNRTIdle; function = EFunctionNRTAutoStop; }, |
|
1353 VR_TRANSITION { cmd = ECmdDelete; next = EStateNRTIdle; function = EFunctionNop; }, |
|
1354 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateNRTIdle; function = EFunctionNRTStop; }, |
|
1355 VR_TRANSITION { cmd = ECmdEndKey; next = EStateNRTIdle; function = EFunctionNRTStop; }, |
|
1356 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateNRTPlaying; function = EFunctionSetNewPosition; } |
|
1357 }; |
|
1358 }, |
|
1359 // Disabled button state |
|
1360 VR_STATE |
|
1361 { |
|
1362 id = EStateDisableButtons; |
|
1363 transitions = |
|
1364 { |
|
1365 VR_TRANSITION { cmd = ECmdPlay; next = EStateIdle; function = EFunctionNop; }, |
|
1366 VR_TRANSITION { cmd = ECmdStop; next = EStateIdle; function = EFunctionNop; }, |
|
1367 VR_TRANSITION { cmd = ECmdForward; next = EStateIdle; function = EFunctionNop; }, |
|
1368 VR_TRANSITION { cmd = ECmdRewind; next = EStateIdle; function = EFunctionNop; }, |
|
1369 VR_TRANSITION { cmd = ECmdRecord; next = EStateIdle; function = EFunctionNop; }, |
|
1370 VR_TRANSITION { cmd = ECmdAutoStopInterrupted; next = EStateIdle; function = EFunctionNop; }, |
|
1371 VR_TRANSITION { cmd = ECmdSilentStop; next = EStateIdle; function = EFunctionNop; }, |
|
1372 VR_TRANSITION { cmd = ECmdDelete; next = EStateIdle; function = EFunctionNop; }, |
|
1373 VR_TRANSITION { cmd = ECmdEndKey; next = EStateIdle; function = EFunctionNop; }, |
|
1374 VR_TRANSITION { cmd = ECmdSetNewPosition; next = EStateIdle; function = EFunctionNop; } |
|
1375 }; |
|
1376 } |
|
1377 }; |
|
1378 } |
|
1379 }; |
|
1380 } |
|
1381 |
|
1382 |
|
1383 // --------------------------------------------------------- |
|
1384 // |
|
1385 // New VoiceRecorder Avkon buttons' resources |
|
1386 // Each button has as many states as there are visual states |
|
1387 // in VR |
|
1388 // |
|
1389 // --------------------------------------------------------- |
|
1390 // |
|
1391 RESOURCE VR_BUTTONS_NEW r_vr_button_panel_buttons |
|
1392 { |
|
1393 buttons = |
|
1394 { |
|
1395 // PLAY BUTTON |
|
1396 AVKON_BUTTON |
|
1397 { |
|
1398 flags = KAknButtonNoFrame | KAknButtonReportOnKeyDown; |
|
1399 states = |
|
1400 { |
|
1401 // memo_open |
|
1402 AVKON_BUTTON_STATE |
|
1403 { |
|
1404 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1405 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_play; |
|
1406 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_play_mask; |
|
1407 }, |
|
1408 // memo_deleted |
|
1409 AVKON_BUTTON_STATE |
|
1410 { |
|
1411 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1412 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_play_inactive; |
|
1413 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_play_inactive_mask; |
|
1414 }, |
|
1415 // memo_recording |
|
1416 AVKON_BUTTON_STATE |
|
1417 { |
|
1418 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1419 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_play_inactive; |
|
1420 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_play_inactive_mask; |
|
1421 }, |
|
1422 // memo_record_embed |
|
1423 AVKON_BUTTON_STATE |
|
1424 { |
|
1425 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1426 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_play_inactive; |
|
1427 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_play_inactive_mask; |
|
1428 }, |
|
1429 // memo_playing |
|
1430 AVKON_BUTTON_STATE |
|
1431 { |
|
1432 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1433 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_pause; |
|
1434 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_pause_mask; |
|
1435 }, |
|
1436 // memo_paused_playback |
|
1437 AVKON_BUTTON_STATE |
|
1438 { |
|
1439 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1440 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_play; |
|
1441 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_play_mask; |
|
1442 }, |
|
1443 // memo_paused_record |
|
1444 AVKON_BUTTON_STATE |
|
1445 { |
|
1446 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1447 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_play_inactive; |
|
1448 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_play_inactive_mask; |
|
1449 }, |
|
1450 // memo_open_embed |
|
1451 AVKON_BUTTON_STATE |
|
1452 { |
|
1453 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1454 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_play; |
|
1455 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_play_mask; |
|
1456 }, |
|
1457 // memo_record_embed_idle |
|
1458 AVKON_BUTTON_STATE |
|
1459 { |
|
1460 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1461 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_play; |
|
1462 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_play_mask; |
|
1463 }, |
|
1464 // nokia_ringing_tone_idle |
|
1465 AVKON_BUTTON_STATE |
|
1466 { |
|
1467 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1468 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_play; |
|
1469 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_play_mask; |
|
1470 }, |
|
1471 // nokia_ringing_tone_playing |
|
1472 AVKON_BUTTON_STATE |
|
1473 { |
|
1474 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1475 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_play_inactive; |
|
1476 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_play_inactive_mask; |
|
1477 }, |
|
1478 // disable_buttons |
|
1479 AVKON_BUTTON_STATE |
|
1480 { |
|
1481 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1482 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_play_inactive; |
|
1483 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_play_inactive_mask; |
|
1484 } |
|
1485 }; |
|
1486 }, |
|
1487 |
|
1488 // STOP BUTTON |
|
1489 AVKON_BUTTON |
|
1490 { |
|
1491 flags = KAknButtonNoFrame | KAknButtonReportOnKeyDown; |
|
1492 states = |
|
1493 { |
|
1494 // memo_open |
|
1495 AVKON_BUTTON_STATE |
|
1496 { |
|
1497 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1498 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_stop_inactive; |
|
1499 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_stop_inactive_mask; |
|
1500 }, |
|
1501 // memo_deleted |
|
1502 AVKON_BUTTON_STATE |
|
1503 { |
|
1504 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1505 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_stop_inactive; |
|
1506 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_stop_inactive_mask; |
|
1507 }, |
|
1508 // memo_recording |
|
1509 AVKON_BUTTON_STATE |
|
1510 { |
|
1511 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1512 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_stop; |
|
1513 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_stop_mask; |
|
1514 }, |
|
1515 // memo_record_embed |
|
1516 AVKON_BUTTON_STATE |
|
1517 { |
|
1518 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1519 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_stop_inactive; |
|
1520 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_stop_inactive_mask; |
|
1521 }, |
|
1522 // memo_playing |
|
1523 AVKON_BUTTON_STATE |
|
1524 { |
|
1525 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1526 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_stop; |
|
1527 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_stop_mask; |
|
1528 }, |
|
1529 // memo_paused_playback |
|
1530 AVKON_BUTTON_STATE |
|
1531 { |
|
1532 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1533 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_stop; |
|
1534 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_stop_mask; |
|
1535 }, |
|
1536 // memo_paused_record |
|
1537 AVKON_BUTTON_STATE |
|
1538 { |
|
1539 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1540 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_stop; |
|
1541 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_stop_mask; |
|
1542 }, |
|
1543 // memo_open_embed |
|
1544 AVKON_BUTTON_STATE |
|
1545 { |
|
1546 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1547 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_stop_inactive; |
|
1548 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_stop_inactive_mask; |
|
1549 }, |
|
1550 // memo_record_embed_idle |
|
1551 AVKON_BUTTON_STATE |
|
1552 { |
|
1553 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1554 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_stop_inactive; |
|
1555 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_stop_inactive_mask; |
|
1556 }, |
|
1557 // nokia_ringing_tone_idle |
|
1558 AVKON_BUTTON_STATE |
|
1559 { |
|
1560 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1561 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_stop_inactive; |
|
1562 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_stop_inactive_mask; |
|
1563 }, |
|
1564 // nokia_ringing_tone_playing |
|
1565 AVKON_BUTTON_STATE |
|
1566 { |
|
1567 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1568 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_stop; |
|
1569 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_stop_mask; |
|
1570 }, |
|
1571 // disable_buttons |
|
1572 AVKON_BUTTON_STATE |
|
1573 { |
|
1574 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1575 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_stop_inactive; |
|
1576 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_stop_inactive_mask; |
|
1577 } |
|
1578 }; |
|
1579 }, |
|
1580 |
|
1581 // RECORD BUTTON |
|
1582 AVKON_BUTTON |
|
1583 { |
|
1584 flags = KAknButtonNoFrame | KAknButtonReportOnKeyDown; |
|
1585 states = |
|
1586 { |
|
1587 // memo_open |
|
1588 AVKON_BUTTON_STATE |
|
1589 { |
|
1590 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1591 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rec; |
|
1592 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rec_mask; |
|
1593 }, |
|
1594 // memo_deleted |
|
1595 AVKON_BUTTON_STATE |
|
1596 { |
|
1597 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1598 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rec; |
|
1599 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rec_mask; |
|
1600 }, |
|
1601 // memo_recording |
|
1602 AVKON_BUTTON_STATE |
|
1603 { |
|
1604 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1605 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_pause; |
|
1606 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_pause_mask; |
|
1607 }, |
|
1608 // memo_record_embed |
|
1609 AVKON_BUTTON_STATE |
|
1610 { |
|
1611 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1612 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rec; |
|
1613 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rec_mask; |
|
1614 }, |
|
1615 // memo_playing |
|
1616 AVKON_BUTTON_STATE |
|
1617 { |
|
1618 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1619 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rec_inactive; |
|
1620 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rec_inactive_mask; |
|
1621 }, |
|
1622 // memo_paused_playback |
|
1623 AVKON_BUTTON_STATE |
|
1624 { |
|
1625 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1626 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rec_inactive; |
|
1627 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rec_inactive_mask; |
|
1628 }, |
|
1629 // memo_paused_record |
|
1630 AVKON_BUTTON_STATE |
|
1631 { |
|
1632 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1633 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rec; |
|
1634 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rec_mask; |
|
1635 }, |
|
1636 // memo_open_embed |
|
1637 AVKON_BUTTON_STATE |
|
1638 { |
|
1639 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1640 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rec_inactive; |
|
1641 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rec_inactive_mask; |
|
1642 }, |
|
1643 // memo_record_embed_idle |
|
1644 AVKON_BUTTON_STATE |
|
1645 { |
|
1646 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1647 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rec_inactive; |
|
1648 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rec_mask; |
|
1649 }, |
|
1650 // nokia_ringing_tone_idle |
|
1651 AVKON_BUTTON_STATE |
|
1652 { |
|
1653 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1654 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rec_inactive; |
|
1655 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rec_inactive_mask; |
|
1656 }, |
|
1657 // nokia_ringing_tone_playing |
|
1658 AVKON_BUTTON_STATE |
|
1659 { |
|
1660 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1661 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rec_inactive; |
|
1662 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rec_inactive_mask; |
|
1663 }, |
|
1664 // disable_buttons |
|
1665 AVKON_BUTTON_STATE |
|
1666 { |
|
1667 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1668 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rec_inactive; |
|
1669 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rec_inactive_mask; |
|
1670 } |
|
1671 }; |
|
1672 }, |
|
1673 |
|
1674 // REWIND BUTTON |
|
1675 AVKON_BUTTON |
|
1676 { |
|
1677 flags = KAknButtonNoFrame | KAknButtonReportOnKeyDown; |
|
1678 states = |
|
1679 { |
|
1680 // memo_open |
|
1681 AVKON_BUTTON_STATE |
|
1682 { |
|
1683 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1684 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rew; |
|
1685 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rew_mask; |
|
1686 }, |
|
1687 // memo_deleted |
|
1688 AVKON_BUTTON_STATE |
|
1689 { |
|
1690 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1691 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rew_inactive; |
|
1692 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rew_inactive_mask; |
|
1693 }, |
|
1694 // memo_recording |
|
1695 AVKON_BUTTON_STATE |
|
1696 { |
|
1697 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1698 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rew_inactive; |
|
1699 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rew_inactive_mask; |
|
1700 }, |
|
1701 // memo_record_embed |
|
1702 AVKON_BUTTON_STATE |
|
1703 { |
|
1704 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1705 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rew_inactive; |
|
1706 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rew_inactive_mask; |
|
1707 }, |
|
1708 // memo_playing |
|
1709 AVKON_BUTTON_STATE |
|
1710 { |
|
1711 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1712 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rew; |
|
1713 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rew_mask; |
|
1714 }, |
|
1715 // memo_paused_playback |
|
1716 AVKON_BUTTON_STATE |
|
1717 { |
|
1718 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1719 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rew; |
|
1720 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rew_mask; |
|
1721 }, |
|
1722 // memo_paused_record |
|
1723 AVKON_BUTTON_STATE |
|
1724 { |
|
1725 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1726 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rew_inactive; |
|
1727 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rew_inactive_mask; |
|
1728 }, |
|
1729 // memo_open_embed |
|
1730 AVKON_BUTTON_STATE |
|
1731 { |
|
1732 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1733 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rew; |
|
1734 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rew_mask; |
|
1735 }, |
|
1736 // memo_record_embed_idle |
|
1737 AVKON_BUTTON_STATE |
|
1738 { |
|
1739 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1740 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rew; |
|
1741 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rew_mask; |
|
1742 }, |
|
1743 // nokia_ringing_tone_idle |
|
1744 AVKON_BUTTON_STATE |
|
1745 { |
|
1746 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1747 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rew_inactive; |
|
1748 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rew_inactive_mask; |
|
1749 }, |
|
1750 // nokia_ringing_tone_playing |
|
1751 AVKON_BUTTON_STATE |
|
1752 { |
|
1753 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1754 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rew_inactive; |
|
1755 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rew_inactive_mask; |
|
1756 }, |
|
1757 // disable_buttons |
|
1758 AVKON_BUTTON_STATE |
|
1759 { |
|
1760 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1761 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_rew_inactive; |
|
1762 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_rew_inactive_mask; |
|
1763 } |
|
1764 |
|
1765 }; |
|
1766 }, |
|
1767 |
|
1768 // FORWARD BUTTON |
|
1769 AVKON_BUTTON |
|
1770 { |
|
1771 flags = KAknButtonNoFrame | KAknButtonReportOnKeyDown; |
|
1772 states = |
|
1773 { |
|
1774 // memo_open |
|
1775 AVKON_BUTTON_STATE |
|
1776 { |
|
1777 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1778 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_forw; |
|
1779 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_forw_mask; |
|
1780 }, |
|
1781 // memo_deleted |
|
1782 AVKON_BUTTON_STATE |
|
1783 { |
|
1784 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1785 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_forw_inactive; |
|
1786 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_forw_inactive_mask; |
|
1787 }, |
|
1788 // memo_recording |
|
1789 AVKON_BUTTON_STATE |
|
1790 { |
|
1791 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1792 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_forw_inactive; |
|
1793 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_forw_inactive_mask; |
|
1794 }, |
|
1795 // memo_record_embed |
|
1796 AVKON_BUTTON_STATE |
|
1797 { |
|
1798 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1799 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_forw_inactive; |
|
1800 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_forw_inactive_mask; |
|
1801 }, |
|
1802 // memo_playing |
|
1803 AVKON_BUTTON_STATE |
|
1804 { |
|
1805 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1806 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_forw; |
|
1807 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_forw_mask; |
|
1808 }, |
|
1809 // memo_paused_playback |
|
1810 AVKON_BUTTON_STATE |
|
1811 { |
|
1812 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1813 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_forw; |
|
1814 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_forw_mask; |
|
1815 }, |
|
1816 // memo_paused_record |
|
1817 AVKON_BUTTON_STATE |
|
1818 { |
|
1819 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1820 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_forw_inactive; |
|
1821 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_forw_inactive_mask; |
|
1822 }, |
|
1823 // memo_open_embed |
|
1824 AVKON_BUTTON_STATE |
|
1825 { |
|
1826 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1827 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_forw; |
|
1828 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_forw_mask; |
|
1829 }, |
|
1830 // memo_record_embed_idle |
|
1831 AVKON_BUTTON_STATE |
|
1832 { |
|
1833 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1834 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_forw; |
|
1835 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_forw_mask; |
|
1836 }, |
|
1837 // nokia_ringing_tone_idle |
|
1838 AVKON_BUTTON_STATE |
|
1839 { |
|
1840 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1841 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_forw_inactive; |
|
1842 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_forw_inactive_mask; |
|
1843 }, |
|
1844 // nokia_ringing_tone_playing |
|
1845 AVKON_BUTTON_STATE |
|
1846 { |
|
1847 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1848 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_forw_inactive; |
|
1849 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_forw_inactive_mask; |
|
1850 }, |
|
1851 // disable_buttons |
|
1852 AVKON_BUTTON_STATE |
|
1853 { |
|
1854 bmpfile = "z:\\Resource\\apps\\voicerecorder.mif"; |
|
1855 bmpid = EMbmVoicerecorderQgn_indi_vorec_button_forw_inactive; |
|
1856 bmpmask = EMbmVoicerecorderQgn_indi_vorec_button_forw_inactive_mask; |
|
1857 } |
|
1858 |
|
1859 }; |
|
1860 } |
|
1861 }; |
|
1862 } |
|
1863 |
|
1864 // ELAF variants |
|
1865 RESOURCE AVKON_LAYOUT_LABEL r_vr_statusinfo_label_1_euro |
|
1866 { |
|
1867 font = ELatinBold13; C = 215; l = 57; r = 5; B = 23; W = 114; J = ELayoutAlignLeft; |
|
1868 } |
|
1869 RESOURCE AVKON_LAYOUT_LABEL r_vr_statusinfo_label_2_euro |
|
1870 { |
|
1871 font = ELatinPlain12; C = 215; l = 62; r = 5; B = 39; W = 109; J = ELayoutAlignLeft; |
|
1872 } |
|
1873 RESOURCE AVKON_LAYOUT_LABEL r_vr_statusinfo_label_3_euro |
|
1874 { |
|
1875 font = ELatinPlain12; C = 215; l = 62; r = 5; B = 54; W = 109; J = ELayoutAlignLeft; |
|
1876 } |
|
1877 RESOURCE AVKON_LAYOUT_LABEL r_vr_statusinfo_label_4_euro |
|
1878 { |
|
1879 font = ELatinPlain12; C = 215; l = 58; r = 100; B = 115; W = 18; J = ELayoutAlignLeft; |
|
1880 } |
|
1881 RESOURCE AVKON_LAYOUT_LABEL r_vr_statusinfo_label_5_euro |
|
1882 { |
|
1883 font = ELatinPlain12; C = 215; l = 142; r = 4; B = 115; W = 30; J = ELayoutAlignRight; |
|
1884 } |
|
1885 RESOURCE AVKON_LAYOUT_LABEL r_vr_statusinfo_label_6_euro |
|
1886 { |
|
1887 font = ELatinBold13; C = 35; l = 57; r = 5; B = 98; W = 114; J = ELayoutAlignLeft; |
|
1888 } |
|
1889 |
|
1890 |
|
1891 // APAC variants |
|
1892 |
|
1893 RESOURCE AVKON_LAYOUT_LABEL r_vr_statusinfo_label_1_apac |
|
1894 { |
|
1895 font = EApacPlain16; C = 215; l = 57; r = 5; B = 25; W = 114; J = ELayoutAlignLeft; |
|
1896 } |
|
1897 RESOURCE AVKON_LAYOUT_LABEL r_vr_statusinfo_label_2_apac |
|
1898 { |
|
1899 font = EApacPlain12; C = 215; l = 64; r = 5; B = 41; W = 107; J = ELayoutAlignLeft; |
|
1900 } |
|
1901 RESOURCE AVKON_LAYOUT_LABEL r_vr_statusinfo_label_3_apac |
|
1902 { |
|
1903 font = EApacPlain12; C = 215; l = 64; r = 5; B = 56; W = 107; J = ELayoutAlignLeft; |
|
1904 } |
|
1905 RESOURCE AVKON_LAYOUT_LABEL r_vr_statusinfo_label_4_apac |
|
1906 { |
|
1907 font = EApacPlain12; C = 215; l = 58; r = 100; B = 117; W = 18; J = ELayoutAlignLeft; |
|
1908 } |
|
1909 RESOURCE AVKON_LAYOUT_LABEL r_vr_statusinfo_label_5_apac |
|
1910 { |
|
1911 font = EApacPlain12; C = 215; l = 142; r = 4; B = 117; W = 30; J = ELayoutAlignRight; |
|
1912 } |
|
1913 RESOURCE AVKON_LAYOUT_LABEL r_vr_statusinfo_label_6_apac |
|
1914 { |
|
1915 font = EApacPlain16; C = 35; l = 57; r = 5; B = 100; W = 114; J = ELayoutAlignLeft; |
|
1916 } |
|
1917 |
|
1918 |
|
1919 // ABRW variants |
|
1920 RESOURCE AVKON_LAYOUT_LABEL r_vr_statusinfo_label_1_arabic_hebrew |
|
1921 { |
|
1922 font = ELatinBold13; C = 215; l = 5; r = 57; B = 23; W = 114; J = ELayoutAlignRight; |
|
1923 } |
|
1924 RESOURCE AVKON_LAYOUT_LABEL r_vr_statusinfo_label_2_arabic_hebrew |
|
1925 { |
|
1926 font = ELatinPlain12; C = 215; l = 5; r = 62; B = 39; W = 109; J = ELayoutAlignRight; |
|
1927 } |
|
1928 RESOURCE AVKON_LAYOUT_LABEL r_vr_statusinfo_label_3_arabic_hebrew |
|
1929 { |
|
1930 font = ELatinPlain12; C = 215; l = 5; r = 62; B = 54; W = 109; J = ELayoutAlignRight; |
|
1931 } |
|
1932 // l changed from 100 to 90 to make max length label fit |
|
1933 RESOURCE AVKON_LAYOUT_LABEL r_vr_statusinfo_label_4_arabic_hebrew |
|
1934 { |
|
1935 font = ELatinPlain12; C = 215; l = 90; r = 58; B = 115; W = 30; J = ELayoutAlignRight; |
|
1936 } |
|
1937 RESOURCE AVKON_LAYOUT_LABEL r_vr_statusinfo_label_5_arabic_hebrew |
|
1938 { |
|
1939 font = ELatinPlain12; C = 215; l = 4; r = 124; B = 115; W = 30; J = ELayoutAlignLeft; |
|
1940 } |
|
1941 RESOURCE AVKON_LAYOUT_LABEL r_vr_statusinfo_label_6_arabic_hebrew |
|
1942 { |
|
1943 font = ELatinBold13; C = 35; l = 5; r = 57; B = 98; W = 114; J = ELayoutAlignRight; |
|
1944 } |
|
1945 |
|
1946 |
|
1947 |
|
1948 //--------------------------------------------------------------- |
|
1949 // Old CBA resources |
|
1950 // Middle Softkey not included |
|
1951 //--------------------------------------------------------------- |
|
1952 // |
|
1953 RESOURCE CBA r_vr_softkeys_pause_stop |
|
1954 { |
|
1955 buttons = |
|
1956 { |
|
1957 CBA_BUTTON { id = ECmdPause; txt = qtn_vorec_pause_sk; }, |
|
1958 CBA_BUTTON { id = ECmdStop; txt = qtn_vorec_stop_sk; } |
|
1959 }; |
|
1960 } |
|
1961 |
|
1962 RESOURCE CBA r_vr_softkeys_play_stop |
|
1963 { |
|
1964 buttons = |
|
1965 { |
|
1966 CBA_BUTTON { id = ECmdPlay; txt = text_softkey_play; }, |
|
1967 CBA_BUTTON { id = ECmdStop; txt = qtn_vorec_stop_sk; } |
|
1968 }; |
|
1969 } |
|
1970 |
|
1971 RESOURCE CBA r_vr_softkeys_record_stop |
|
1972 { |
|
1973 buttons = |
|
1974 { |
|
1975 CBA_BUTTON { id = ECmdRecord; txt = qtn_vorec_rec_sk; }, |
|
1976 CBA_BUTTON { id = ECmdStop; txt = qtn_vorec_stop_sk; } |
|
1977 }; |
|
1978 } |
|
1979 |
|
1980 RESOURCE CBA r_vr_softkeys_record_back |
|
1981 { |
|
1982 buttons = |
|
1983 { |
|
1984 CBA_BUTTON { id = ECmdRecord; txt = qtn_vorec_rec_sk; }, |
|
1985 CBA_BUTTON { id = ECmdCancel; txt = text_softkey_back; } |
|
1986 }; |
|
1987 } |
|
1988 |
|
1989 RESOURCE CBA r_vr_softkeys_ok_cancel |
|
1990 { |
|
1991 buttons = |
|
1992 { |
|
1993 CBA_BUTTON {id=ECmdOk; txt=text_softkey_select;}, |
|
1994 CBA_BUTTON {id=ECmdCancel; txt= text_softkey_cancel;} |
|
1995 }; |
|
1996 } |
|
1997 |
|
1998 RESOURCE CBA r_vr_softkeys_stop |
|
1999 { |
|
2000 buttons = |
|
2001 { |
|
2002 CBA_BUTTON { txt =" "; }, |
|
2003 CBA_BUTTON {id=ECmdStop; txt= qtn_vorec_stop_sk;} |
|
2004 }; |
|
2005 } |
|
2006 |
|
2007 |
|
2008 //--------------------------------------------------------------- |
|
2009 // New CBA resources |
|
2010 // Middle Softkey included |
|
2011 //--------------------------------------------------------------- |
|
2012 // |
|
2013 RESOURCE CBA r_vr_softkeys_pause_stop_select |
|
2014 { |
|
2015 buttons = |
|
2016 { |
|
2017 CBA_BUTTON { id = ECmdPause; txt = qtn_vorec_pause_sk; }, |
|
2018 CBA_BUTTON { id = ECmdStop; txt = qtn_vorec_stop_sk; }, |
|
2019 CBA_BUTTON { id = ECmdMSK; txt = qtn_msk_select;} |
|
2020 }; |
|
2021 } |
|
2022 |
|
2023 RESOURCE CBA r_vr_softkeys_play_stop_select |
|
2024 { |
|
2025 buttons = |
|
2026 { |
|
2027 CBA_BUTTON { id = ECmdPlay; txt = text_softkey_play; }, |
|
2028 CBA_BUTTON { id = ECmdStop; txt = qtn_vorec_stop_sk; }, |
|
2029 CBA_BUTTON { id = ECmdMSK; txt = qtn_msk_select;} |
|
2030 }; |
|
2031 } |
|
2032 |
|
2033 RESOURCE CBA r_vr_softkeys_record_stop_select |
|
2034 { |
|
2035 buttons = |
|
2036 { |
|
2037 CBA_BUTTON { id = ECmdRecord; txt = qtn_vorec_rec_sk; }, |
|
2038 CBA_BUTTON { id = ECmdStop; txt = qtn_vorec_stop_sk; }, |
|
2039 CBA_BUTTON { id = ECmdMSK; txt = qtn_msk_select;} |
|
2040 }; |
|
2041 } |
|
2042 |
|
2043 RESOURCE CBA r_vr_softkeys_record_back_select |
|
2044 { |
|
2045 buttons = |
|
2046 { |
|
2047 CBA_BUTTON { id = ECmdRecord; txt = qtn_vorec_rec_sk; }, |
|
2048 CBA_BUTTON { id = ECmdCancel; txt = text_softkey_back; }, |
|
2049 CBA_BUTTON { id = ECmdMSK; txt = qtn_msk_select;} |
|
2050 }; |
|
2051 } |
|
2052 |
|
2053 |
|
2054 #ifdef __SERIES60_31__ |
|
2055 // LSK in 3.1 is "Select" |
|
2056 RESOURCE CBA r_vr_softkeys_ok_cancel_select |
|
2057 { |
|
2058 buttons = |
|
2059 { |
|
2060 CBA_BUTTON { id = ECmdOk; txt = text_softkey_select;}, |
|
2061 CBA_BUTTON { id = ECmdCancel; txt = text_softkey_cancel;}, |
|
2062 CBA_BUTTON { id = ECmdMSK; txt = qtn_msk_select;} |
|
2063 }; |
|
2064 } |
|
2065 #else |
|
2066 // LSK in 3.2 is "Insert" |
|
2067 RESOURCE CBA r_vr_softkeys_ok_cancel_select |
|
2068 { |
|
2069 buttons = |
|
2070 { |
|
2071 CBA_BUTTON { id = ECmdOk; txt = qtn_vorec_insert_sk;}, |
|
2072 CBA_BUTTON { id = ECmdCancel; txt = text_softkey_cancel;}, |
|
2073 CBA_BUTTON { id = ECmdMSK; txt = qtn_msk_select;} |
|
2074 }; |
|
2075 } |
|
2076 #endif |
|
2077 |
|
2078 |
|
2079 RESOURCE CBA r_vr_softkeys_stop_select |
|
2080 { |
|
2081 buttons = |
|
2082 { |
|
2083 CBA_BUTTON { txt =" "; }, |
|
2084 CBA_BUTTON { id = ECmdStop; txt= qtn_vorec_stop_sk;}, |
|
2085 CBA_BUTTON { id = ECmdMSK; txt = qtn_msk_select;} |
|
2086 }; |
|
2087 } |
|
2088 |
|
2089 // A new CBA resource with MSK. Replaces R_AVKON_SOFTKEYS_OPTIONS_BACK |
|
2090 RESOURCE CBA r_vr_softkeys_options_back_select |
|
2091 { |
|
2092 buttons = |
|
2093 { |
|
2094 CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
2095 CBA_BUTTON { id = EAknCmdExit; txt = text_softkey_back;}, |
|
2096 CBA_BUTTON { id = ECmdMSK; txt = qtn_msk_select;} |
|
2097 }; |
|
2098 } |
|
2099 |
|
2100 // A new CBA resource with MSK. Replaces R_AVKON_SOFTKEYS_OPTIONS_EXIT |
|
2101 RESOURCE CBA r_vr_softkeys_options_exit_select |
|
2102 { |
|
2103 buttons = |
|
2104 { |
|
2105 CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
2106 CBA_BUTTON { id = EAknCmdExit; txt = text_softkey_exit;}, |
|
2107 CBA_BUTTON { id = ECmdMSK; txt = qtn_msk_select;} |
|
2108 }; |
|
2109 } |
|
2110 |
|
2111 // A CBA resource for disabling CBA use. The texts are shown but LSK and RSK |
|
2112 // cause no operation. |
|
2113 RESOURCE CBA r_vr_softkeys_options_exit_select_no_command |
|
2114 { |
|
2115 buttons = |
|
2116 { |
|
2117 CBA_BUTTON { id = ECmdNOP; txt = text_softkey_option; }, |
|
2118 CBA_BUTTON { id = ECmdNOP; txt = text_softkey_exit;}, |
|
2119 CBA_BUTTON { id = ECmdMSK; txt = qtn_msk_select;} |
|
2120 }; |
|
2121 } |
|
2122 |
|
2123 // A new CBA resource for settings dialog |
|
2124 RESOURCE CBA r_vr_softkeys_options_back_change |
|
2125 { |
|
2126 buttons = |
|
2127 { |
|
2128 CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
2129 CBA_BUTTON { id = EAknCmdExit; txt = text_softkey_back;}, |
|
2130 CBA_BUTTON { id = ECmdMSK; txt = qtn_msk_change;} |
|
2131 }; |
|
2132 } |
|
2133 |
|
2134 // A new CBA resource for General Settings dialog |
|
2135 RESOURCE CBA r_vr_softkeys_gs_options_back_change |
|
2136 { |
|
2137 buttons = |
|
2138 { |
|
2139 CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
2140 CBA_BUTTON { id = ECmdCancel; txt = text_softkey_back;}, |
|
2141 CBA_BUTTON { id = ECmdMSK; txt = qtn_msk_change;} |
|
2142 }; |
|
2143 } |
|
2144 |
|
2145 // Resources for General Settings plugin |
|
2146 |
|
2147 //---------------------------------------------------- |
|
2148 // |
|
2149 // r_vorec_gs_setting_list_view |
|
2150 // Main settings view |
|
2151 // |
|
2152 //---------------------------------------------------- |
|
2153 // |
|
2154 RESOURCE AVKON_VIEW r_vorec_gs_setting_list_view |
|
2155 { |
|
2156 menubar = r_vorec_gs_settings_menubar; |
|
2157 cba = r_vr_softkeys_gs_options_back_change; |
|
2158 } |
|
2159 |
|
2160 //---------------------------------------------------- |
|
2161 // |
|
2162 // r_vorec_gs_settings_title_name |
|
2163 // Title name used as name of plugin |
|
2164 // |
|
2165 //---------------------------------------------------- |
|
2166 // |
|
2167 RESOURCE TBUF r_vorec_gs_settings_title |
|
2168 { |
|
2169 buf = qtn_vorec_app_title; |
|
2170 } |
|
2171 |
|
2172 //---------------------------------------------------- |
|
2173 // |
|
2174 // r_vorec_gs_view_title |
|
2175 // Setting view's title. |
|
2176 // |
|
2177 //---------------------------------------------------- |
|
2178 // |
|
2179 RESOURCE TITLE_PANE r_vorec_gs_view_title |
|
2180 { |
|
2181 txt = qtn_vorec_app_title; |
|
2182 } |
|
2183 |
|
2184 //---------------------------------------------------- |
|
2185 // |
|
2186 // r_vorec_gs_settings_menupane |
|
2187 // GS Plugin options menu, EEikCmdExit replaced with |
|
2188 // ECmdOk to ensure that we can save the settings |
|
2189 // |
|
2190 //---------------------------------------------------- |
|
2191 // |
|
2192 RESOURCE MENU_PANE r_vorec_gs_settings_menupane |
|
2193 { |
|
2194 items= |
|
2195 { |
|
2196 MENU_ITEM { command = ECmdChange; txt = qtn_vorec_settings_change; flags = EEikMenuItemAction ; }, |
|
2197 MENU_ITEM { command = EAknCmdHelp; txt = qtn_options_help; }, |
|
2198 MENU_ITEM { command = ECmdOk; txt = qtn_options_exit; } |
|
2199 }; |
|
2200 } |
|
2201 |
|
2202 RESOURCE MENU_BAR r_vorec_gs_settings_menubar |
|
2203 { |
|
2204 titles= |
|
2205 { |
|
2206 MENU_TITLE { menu_pane = r_vorec_gs_settings_menupane; } |
|
2207 }; |
|
2208 } |
|
2209 |
|
2210 // --------------------------------------------------------- |
|
2211 // |
|
2212 // r_vorec_memory_selection_dialog |
|
2213 // Memory selection dialog, setting page resource |
|
2214 // |
|
2215 // --------------------------------------------------------- |
|
2216 // |
|
2217 RESOURCE MEMORYSELECTIONDIALOG r_vorec_memory_selection_dialog |
|
2218 { |
|
2219 title = qtn_vorec_set_store; |
|
2220 softkey_1 = text_softkey_ok; |
|
2221 softkey_2 = text_softkey_cancel; |
|
2222 |
|
2223 locations = |
|
2224 { |
|
2225 LOCATION |
|
2226 { |
|
2227 root_path = text_phone_memory_root_path; |
|
2228 default_folder = text_digital_sounds_path; |
|
2229 }, |
|
2230 LOCATION |
|
2231 { |
|
2232 root_path = text_memory_card_root_path; |
|
2233 } |
|
2234 }; |
|
2235 } |
|
2236 |
|
2237 RESOURCE DIALOG r_vorec_usb_connected_dialog |
|
2238 { |
|
2239 flags = EAknWaitNoteFlags|EEikDialogFlagModeless; |
|
2240 buttons = R_AVKON_SOFTKEYS_BACK; |
|
2241 items= |
|
2242 { |
|
2243 DLG_LINE |
|
2244 { |
|
2245 type = EAknCtNote; |
|
2246 id = EGeneralQuery; |
|
2247 control= AVKON_NOTE |
|
2248 { |
|
2249 layout = EWaitLayout; |
|
2250 singular_label = qtn_usb_mode_note_mode_activated; |
|
2251 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
2252 }; |
|
2253 } |
|
2254 }; |
|
2255 } |