|
1 /* |
|
2 * Copyright (c) 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 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDES |
|
20 |
|
21 #include <eikon.rh> |
|
22 #include "registryinfov2.rh" |
|
23 #include "pbkinfoview.rh" |
|
24 |
|
25 // aspsyncutil uses sync app .loc file |
|
26 #include <pbkinfoview.loc> |
|
27 |
|
28 // common avkon strings |
|
29 #include <avkon.loc> |
|
30 |
|
31 #include <avkon.rsg> |
|
32 #include <avkon.rh> |
|
33 #include <avkon.mbg> |
|
34 #include <AvkonIcons.hrh> |
|
35 |
|
36 |
|
37 #include <vuivoicerecognition.loc> |
|
38 |
|
39 // RESOURCE IDENTIFIER |
|
40 NAME INFV |
|
41 |
|
42 |
|
43 RESOURCE RSS_SIGNATURE { } |
|
44 |
|
45 |
|
46 // |
|
47 // STRINGS |
|
48 // |
|
49 |
|
50 STRUCT STRING |
|
51 { |
|
52 LTEXT text; |
|
53 } |
|
54 |
|
55 // Dialog title |
|
56 RESOURCE TBUF r_infoview_dialog_title { buf=qtn_phob_vc_info_title; } |
|
57 |
|
58 // Popup texts |
|
59 RESOURCE TBUF r_infoview_popup_contact { buf=qtn_pb_voice_info_popup_contact; } |
|
60 RESOURCE TBUF r_infoview_popup_general { buf=qtn_pb_voice_info_popup_contact_general; } |
|
61 |
|
62 // String for a view with no voice commands |
|
63 RESOURCE TBUF r_infoview_empty_view { buf=qtn_phob_vc_info_empty_list; } |
|
64 // String for a view with a contact not from phone's contacts db |
|
65 // that therefore no voice commands |
|
66 RESOURCE TBUF r_infoview_empty_view_sim_contact { buf=qtn_phob_vc_info_empty_list_sim_contact; } |
|
67 |
|
68 |
|
69 RESOURCE TBUF r_text_call_in_progress { buf = text_call_in_progress; } |
|
70 |
|
71 //------------------------------------------------------------------------------ |
|
72 // r_infoview_app_listbox |
|
73 // Listbox resourcee |
|
74 //------------------------------------------------------------------------------ |
|
75 // |
|
76 RESOURCE LISTBOX r_infoview_app_listbox |
|
77 { |
|
78 flags = 0x0001; |
|
79 } |
|
80 |
|
81 |
|
82 // ----------------------------------------------------------------------------- |
|
83 // r_infoview_dialog |
|
84 // infoview dialog resource. |
|
85 // ----------------------------------------------------------------------------- |
|
86 // |
|
87 RESOURCE DIALOG r_infoview_dialog |
|
88 { |
|
89 flags=EEikDialogFlagWait | EEikDialogFlagFillAppClientRect | EEikDialogFlagNotifyEsc; |
|
90 |
|
91 buttons=R_AVKON_SOFTKEYS_OPTIONS_EXIT; // r_softkeys_options_back__play |
|
92 items= |
|
93 { |
|
94 DLG_LINE |
|
95 { |
|
96 type=EAknCtDoubleGraphicListBox; |
|
97 itemflags=EEikDlgItemTakesEnterKey; |
|
98 id=EInfoViewDialogList; |
|
99 control=LISTBOX |
|
100 { |
|
101 flags=0; |
|
102 height=2; |
|
103 width=80; |
|
104 }; |
|
105 } |
|
106 }; |
|
107 } |
|
108 |
|
109 // ----------------------------------------------------------------------------- |
|
110 // r_infoview_dialog_menu |
|
111 // Info view menu bar. |
|
112 // ----------------------------------------------------------------------------- |
|
113 // |
|
114 RESOURCE MENU_BAR r_infoview_dialog_menu |
|
115 { |
|
116 titles= |
|
117 { |
|
118 MENU_TITLE |
|
119 { |
|
120 menu_pane=r_infoview_dialog_menu_pane; |
|
121 } |
|
122 }; |
|
123 } |
|
124 |
|
125 // ----------------------------------------------------------------------------- |
|
126 // r_infoview_dialog_menu_pane |
|
127 // Info view menu. |
|
128 // ----------------------------------------------------------------------------- |
|
129 // |
|
130 RESOURCE MENU_PANE r_infoview_dialog_menu_pane |
|
131 { |
|
132 items = |
|
133 { |
|
134 MENU_ITEM |
|
135 { |
|
136 command = EInfoViewMenuCmdPlay; |
|
137 txt = qtn_phob_opt_play; |
|
138 flags = EEikMenuItemAction; |
|
139 }, |
|
140 |
|
141 MENU_ITEM |
|
142 { |
|
143 command = EInfoViewMenuCmdHelp; |
|
144 txt = qtn_options_help; |
|
145 }, |
|
146 |
|
147 MENU_ITEM |
|
148 { |
|
149 command = EInfoViewMenuCmdExit; |
|
150 txt = qtn_options_exit; |
|
151 } |
|
152 }; |
|
153 } |
|
154 |
|
155 //----------------------------------------------------------------------------- |
|
156 // r_softkeys_options_exit__select |
|
157 // Info view softkeys |
|
158 //----------------------------------------------------------------------------- |
|
159 // |
|
160 RESOURCE CBA r_softkeys_options_back__play |
|
161 { |
|
162 buttons = |
|
163 { |
|
164 CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;}, |
|
165 CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back; }, |
|
166 AVKON_CBA_BUTTON{id=EAknSoftkeySelect; longpressid=0; txt = qtn_msk_play; } |
|
167 }; |
|
168 } |
|
169 |
|
170 |
|
171 // End of file |
|
172 |
|
173 |