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