|
1 /* |
|
2 * Copyright (c) 2010 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 // RESOURCE IDENTIFIER |
|
19 NAME HEWB // 4 letter ID |
|
20 |
|
21 |
|
22 // INCLUDES |
|
23 #include <eikon.rh> |
|
24 #include <avkon.rh> |
|
25 #include <avkon.rsg> |
|
26 #include <appinfo.rh> |
|
27 #include <AiwCommon.rh> |
|
28 |
|
29 #include "edta.hrh" |
|
30 #include "edta.rls" |
|
31 //#include "easydialingconstants.hrh" |
|
32 |
|
33 // RESOURCE DEFINITIONS |
|
34 // ----------------------------------------------------------------------------- |
|
35 // |
|
36 // Define the resource file signature |
|
37 // This resource should be empty. |
|
38 // |
|
39 // ----------------------------------------------------------------------------- |
|
40 // |
|
41 RESOURCE RSS_SIGNATURE |
|
42 { |
|
43 } |
|
44 |
|
45 // ----------------------------------------------------------------------------- |
|
46 // |
|
47 // Default Document Name |
|
48 // |
|
49 // ----------------------------------------------------------------------------- |
|
50 // |
|
51 RESOURCE TBUF r_default_document_name |
|
52 { |
|
53 buf=STRING_r_default_document_name; |
|
54 } |
|
55 |
|
56 // ----------------------------------------------------------------------------- |
|
57 // |
|
58 // Define default menu and CBA key. |
|
59 // |
|
60 // ----------------------------------------------------------------------------- |
|
61 // |
|
62 RESOURCE EIK_APP_INFO |
|
63 { |
|
64 menubar = r_edta_menubar; |
|
65 cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; |
|
66 } |
|
67 |
|
68 |
|
69 // ----------------------------------------------------------------------------- |
|
70 // |
|
71 // r_edta_menubar |
|
72 // Menubar for edta example |
|
73 // |
|
74 // ----------------------------------------------------------------------------- |
|
75 // |
|
76 RESOURCE MENU_BAR r_edta_menubar |
|
77 { |
|
78 titles = |
|
79 { |
|
80 MENU_TITLE { menu_pane = r_edta_menu; } |
|
81 }; |
|
82 } |
|
83 |
|
84 |
|
85 // ----------------------------------------------------------------------------- |
|
86 // |
|
87 // r_edta_menu |
|
88 // Menu for "Options" |
|
89 // |
|
90 // ----------------------------------------------------------------------------- |
|
91 // |
|
92 RESOURCE MENU_PANE r_edta_menu |
|
93 { |
|
94 items = |
|
95 { |
|
96 MENU_ITEM |
|
97 { |
|
98 txt = STRING_r_hewb_command_plugin_functions_menu; |
|
99 cascade = r_edta_plugin_functions_menu; |
|
100 }, |
|
101 MENU_ITEM |
|
102 { |
|
103 command = EEdtaCommandShowContacts; |
|
104 txt = STRING_r_hewb_command_search_contacts; |
|
105 }, |
|
106 MENU_ITEM |
|
107 { |
|
108 command = EEdtaSelectAndLaunchContact; |
|
109 txt = STRING_r_hewb_command_select_and_launch_contact; |
|
110 }, |
|
111 MENU_ITEM |
|
112 { |
|
113 command = EEdtaCommandCheckPCSServer; |
|
114 txt = STRING_r_hewb_command_check_pcsserver; |
|
115 }, |
|
116 MENU_ITEM |
|
117 { |
|
118 command = EEdtaCommandShowNameOrdering; |
|
119 txt = STRING_r_hewb_command_show_name_ordering; |
|
120 }, |
|
121 MENU_ITEM |
|
122 { |
|
123 txt = STRING_r_hewb_command_test_functions_menu; |
|
124 cascade = r_edta_test_functions_menu; |
|
125 }, |
|
126 MENU_ITEM |
|
127 { |
|
128 command = EAknSoftkeyExit; |
|
129 txt = STRING_r_hewb_exit; |
|
130 } |
|
131 }; |
|
132 } |
|
133 |
|
134 // ----------------------------------------------------------------------------- |
|
135 // |
|
136 // r_edta_plugin_functions_menu |
|
137 // Submenu for "Options" |
|
138 // |
|
139 // ----------------------------------------------------------------------------- |
|
140 // |
|
141 RESOURCE MENU_PANE r_edta_plugin_functions_menu |
|
142 { |
|
143 items = |
|
144 { |
|
145 MENU_ITEM |
|
146 { |
|
147 command = EEdtaSetPluginInput; |
|
148 txt = STRING_r_hewb_command_set_plugin_input; |
|
149 }, |
|
150 MENU_ITEM |
|
151 { |
|
152 command = EEdtaCommandTwoConsequtiveSearchesTest; |
|
153 txt = STRING_r_hewb_command_two_consequtive_searches; |
|
154 }, |
|
155 MENU_ITEM |
|
156 { |
|
157 txt = STRING_r_hewb_command_thumbnail_settings_menu; |
|
158 cascade = r_edta_plugin_thumbnail_settings_menu; |
|
159 } |
|
160 }; |
|
161 } |
|
162 |
|
163 // ----------------------------------------------------------------------------- |
|
164 // |
|
165 // r_edta_plugin_thumbnail_settings_menu |
|
166 // Submenu for "Thumbnail setting" |
|
167 // |
|
168 // ----------------------------------------------------------------------------- |
|
169 // |
|
170 RESOURCE MENU_PANE r_edta_plugin_thumbnail_settings_menu |
|
171 { |
|
172 items = |
|
173 { |
|
174 MENU_ITEM |
|
175 { |
|
176 command = EEdtaCommandShowThumbnails; |
|
177 txt = STRING_r_hewb_command_show_thumbnails; |
|
178 }, |
|
179 MENU_ITEM |
|
180 { |
|
181 command = EEdtaCommandHideThumbnails; |
|
182 txt = STRING_r_hewb_command_hide_thumbnails; |
|
183 } |
|
184 }; |
|
185 } |
|
186 |
|
187 |
|
188 // ----------------------------------------------------------------------------- |
|
189 // |
|
190 // r_edta_test_functions_menu |
|
191 // Submenu for "Options" |
|
192 // |
|
193 // ----------------------------------------------------------------------------- |
|
194 // |
|
195 RESOURCE MENU_PANE r_edta_test_functions_menu |
|
196 { |
|
197 items = |
|
198 { |
|
199 MENU_ITEM |
|
200 { |
|
201 command = EEdtaCommandCreateTestContactBase; |
|
202 txt = STRING_r_hewb_command_create_contact_base; |
|
203 }, |
|
204 MENU_ITEM |
|
205 { |
|
206 command = EEdtaCommandMiscCoverageTest; |
|
207 txt = STRING_r_hewb_command_coverage_test; |
|
208 } |
|
209 }; |
|
210 } |
|
211 |
|
212 |
|
213 // ----------------------------------------------------------------------------- |
|
214 // |
|
215 // Resources for messages. |
|
216 // |
|
217 // ----------------------------------------------------------------------------- |
|
218 // |
|
219 RESOURCE TBUF32 r_hewb_command_set_plugin_input_text { buf=STRING_r_hewb_command_set_plugin_input_text; } |
|
220 RESOURCE TBUF32 r_hewb_file_text { buf=STRING_r_hewb_file_text; } |
|
221 RESOURCE TBUF32 r_hewb_caption_string { buf=STRING_r_hewb_caption_string; } |
|
222 |
|
223 // ---------------------------------------------------------------------------- |
|
224 // |
|
225 // r_edta_localisable_app_info |
|
226 // |
|
227 // ---------------------------------------------------------------------------- |
|
228 // |
|
229 RESOURCE LOCALISABLE_APP_INFO r_edta_localisable_app_info |
|
230 { |
|
231 short_caption = STRING_r_hewb_caption_string; |
|
232 caption_and_icon = |
|
233 CAPTION_AND_ICON_INFO |
|
234 { |
|
235 caption = STRING_r_hewb_caption_string; |
|
236 |
|
237 number_of_icons = 1; |
|
238 icon_file = STRING_r_icon_file_path; |
|
239 }; |
|
240 } |
|
241 |
|
242 // ---------------------------------------------------------------------------- |
|
243 // |
|
244 // r_dialog_text_edit_query |
|
245 // |
|
246 // ---------------------------------------------------------------------------- |
|
247 // |
|
248 RESOURCE DIALOG r_dialog_text_edit_query |
|
249 { |
|
250 flags = EAknGeneralQueryFlags; |
|
251 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
252 items = |
|
253 { |
|
254 DLG_LINE |
|
255 { |
|
256 type = EAknCtQuery; |
|
257 id = EGeneralQuery; |
|
258 control = AVKON_DATA_QUERY |
|
259 { |
|
260 layout = EDataLayout; |
|
261 label = "Enter dial search string ?"; |
|
262 control = EDWIN |
|
263 { |
|
264 allowed_case_modes = EAknEditorAllCaseModes; |
|
265 default_case = EAknEditorLowerCase; |
|
266 allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode; |
|
267 default_input_mode = EAknEditorTextInputMode; |
|
268 avkon_flags = EAknEditorFlagNoT9; |
|
269 width = 32; |
|
270 maxlength = 32; |
|
271 lines = 1; |
|
272 }; |
|
273 }; |
|
274 } |
|
275 }; |
|
276 } |
|
277 |
|
278 // End of File |
|
279 |