equal
deleted
inserted
replaced
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 * Defines resource structures for defining recording view states (visual). |
|
16 * The file can be included in a resource file only. |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 #ifndef __RECVIEW_RH__ |
|
22 #define __RECVIEW_RH__ |
|
23 |
|
24 #include <uikon.rh> |
|
25 #include <badef.rh> |
|
26 |
|
27 #include "voicerecorder.hrh" |
|
28 |
|
29 STRUCT VR_TRANSITION |
|
30 { |
|
31 BYTE cmd = 0; |
|
32 BYTE next = 0; |
|
33 BYTE function = 0; |
|
34 } |
|
35 |
|
36 STRUCT VR_CONTEXT |
|
37 { |
|
38 BYTE id; |
|
39 STRUCT transition; |
|
40 STRUCT states[]; |
|
41 } |
|
42 |
|
43 STRUCT VR_STATE |
|
44 { |
|
45 BYTE id; |
|
46 STRUCT transitions[]; |
|
47 } |
|
48 |
|
49 |
|
50 STRUCT VR_STATEMACHINE |
|
51 { |
|
52 STRUCT labelsets[]; // a VR_LABELSET array |
|
53 STRUCT labelLayouts[]; // a VR_LABEL array |
|
54 STRUCT states[]; // a VR_VISUAL_STATE array |
|
55 STRUCT contexts[]; // a VR_CONTEXT array |
|
56 } |
|
57 |
|
58 STRUCT VR_VISUAL_STATE |
|
59 { |
|
60 LLINK menubar; |
|
61 LLINK cba; |
|
62 LTEXT< VRLABELMAXLENGTH > status; |
|
63 BYTE labelSetId = 0; |
|
64 BYTE hasVolumeControl = 0; |
|
65 BYTE hasProgressBar = 1; |
|
66 BYTE focusButton = 0; |
|
67 BYTE stateID = 0; |
|
68 STRUCT buttons[]; |
|
69 } |
|
70 |
|
71 STRUCT VR_LABELSET |
|
72 { |
|
73 STRUCT labels[]; // an LTEXT array |
|
74 } |
|
75 |
|
76 STRUCT VR_BUTTON_INFO |
|
77 { |
|
78 WORD commandId = 0; |
|
79 BYTE state = 0; |
|
80 } |
|
81 |
|
82 STRUCT VR_LABEL_LINK |
|
83 { |
|
84 LLINK euroLabelId; |
|
85 LLINK apacLabelId; |
|
86 LLINK arabicHebrewLabelId; |
|
87 } |
|
88 |
|
89 STRUCT VR_BUTTONS_NEW |
|
90 { |
|
91 STRUCT buttons[]; |
|
92 } |
|
93 |
|
94 #endif // __RECVIEW_RH__ |
|