1 /* |
|
2 * Copyright (c) 2007 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: Resource file for DiagVibratePlugin |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // RESOURCE IDENTIFIER |
|
21 NAME VIBR // 4 letter ID |
|
22 |
|
23 // INCLUDES |
|
24 #include <eikon.rh> |
|
25 #include "diagvibrateplugin.hrh" |
|
26 #include <devdiagvibrateplugin.loc> |
|
27 #include <diagplugincommon.loc> |
|
28 |
|
29 #include <avkon.loc> |
|
30 #include <avkon.mbg> |
|
31 #include <avkon.rsg> |
|
32 #include <avkon.rh> |
|
33 |
|
34 #include <AvkonIcons.hrh> |
|
35 #include <bldvariant.hrh> |
|
36 #include <data_caging_paths_strings.hrh> |
|
37 #include <eikcore.rsg> |
|
38 #include <eikon.rsg> |
|
39 #include <uikon.rh> |
|
40 |
|
41 // CONSTANTS |
|
42 #define BMPFILE_NAME "\\resource\\apps\\avkon2.mbm" |
|
43 |
|
44 // RESOURCE DEFINITIONS |
|
45 |
|
46 RESOURCE RSS_SIGNATURE |
|
47 { |
|
48 } |
|
49 |
|
50 RESOURCE TBUF |
|
51 { |
|
52 buf="VIBR"; |
|
53 } |
|
54 |
|
55 //---------------------------------------------------- |
|
56 // r_diag_lst_vibrate |
|
57 // |
|
58 // Vibrate Plugin caption |
|
59 //---------------------------------------------------- |
|
60 // |
|
61 RESOURCE TBUF r_diag_lst_vibrate |
|
62 { |
|
63 buf = qtn_diag_lst_vibrate; |
|
64 } |
|
65 |
|
66 //---------------------------------------------------- |
|
67 // r_diag_msg_vibrating |
|
68 // |
|
69 // Message text the phone is vibrating |
|
70 //---------------------------------------------------- |
|
71 // |
|
72 RESOURCE TBUF r_diag_msg_vibrating |
|
73 { |
|
74 buf = qtn_diag_msg_vibrating; |
|
75 } |
|
76 |
|
77 //---------------------------------------------------- |
|
78 // r_diag_lst_test_vibrate |
|
79 // |
|
80 // Vibrate text for the suite view |
|
81 //---------------------------------------------------- |
|
82 // |
|
83 RESOURCE TBUF r_diag_lst_test_vibrate |
|
84 { |
|
85 buf = qtn_diag_lst_test_vibrate; |
|
86 } |
|
87 |
|
88 //---------------------------------------------------- |
|
89 // r_diag_msg_info_vibrate |
|
90 // |
|
91 // Vibrate test information message |
|
92 //---------------------------------------------------- |
|
93 // |
|
94 RESOURCE TBUF r_diag_msg_info_vibrate |
|
95 { |
|
96 buf = qtn_diag_conf_test_failed_vibrate; |
|
97 } |
|
98 |
|
99 //---------------------------------------------------- |
|
100 // r_diag_title_test_vibrate |
|
101 // |
|
102 // Vibrate title text for suite and result views |
|
103 //---------------------------------------------------- |
|
104 // |
|
105 RESOURCE TBUF r_diag_title_test_vibrate |
|
106 { |
|
107 buf = qtn_diag_title_test_vibrate; |
|
108 } |
|
109 |
|
110 //---------------------------------------------------- |
|
111 // r_diag_msg_title_vibrate |
|
112 // |
|
113 // Vibrate title text for start query |
|
114 //---------------------------------------------------- |
|
115 // |
|
116 RESOURCE TBUF r_diag_msg_title_vibrate |
|
117 { |
|
118 buf = qtn_diag_msg_title_vibrate; |
|
119 } |
|
120 |
|
121 //---------------------------------------------------- |
|
122 // r_vibrate_softkeys_ok__cancel |
|
123 // |
|
124 // Buttons shown when the user is asked to confirm that |
|
125 // the test should be executed. Shown when the test is |
|
126 // run as a single test. |
|
127 //---------------------------------------------------- |
|
128 // |
|
129 RESOURCE CBA r_vibrate_softkeys_ok__cancel |
|
130 { |
|
131 buttons = |
|
132 { |
|
133 CBA_BUTTON |
|
134 { |
|
135 id = EAknSoftkeyOk; |
|
136 txt = text_softkey_ok; |
|
137 }, |
|
138 |
|
139 CBA_BUTTON |
|
140 { |
|
141 id = ECBACmdCancel; // .hrh |
|
142 txt = text_softkey_cancel; // .rls or .loc |
|
143 } |
|
144 }; |
|
145 } |
|
146 |
|
147 |
|
148 //---------------------------------------------------- |
|
149 // r_vibrate_softkeys_skip_ok_cancel |
|
150 // |
|
151 // Buttons shown when the user is asked to confirm |
|
152 // that the test should be executed. Shown when the |
|
153 // test is run as a part of a suite. |
|
154 //---------------------------------------------------- |
|
155 // |
|
156 RESOURCE CBA r_vibrate_softkeys_ok_skip |
|
157 { |
|
158 buttons = |
|
159 { |
|
160 CBA_BUTTON |
|
161 { |
|
162 id = EAknSoftkeyOk; |
|
163 txt = text_softkey_ok; |
|
164 }, |
|
165 CBA_BUTTON |
|
166 { |
|
167 id = ECBACmdSkip; // .hrh |
|
168 txt = qtn_diag_softk_skip; // .rls or .loc |
|
169 } |
|
170 }; |
|
171 } |
|
172 |
|
173 //---------------------------------------------------- |
|
174 // r_vibrate_softkeys_stop__cancel |
|
175 // |
|
176 // Buttons shown during the vibration. These buttons are |
|
177 // shown when the test is run as a single test. |
|
178 //---------------------------------------------------- |
|
179 // |
|
180 RESOURCE CBA r_vibrate_softkeys_stop__cancel |
|
181 { |
|
182 buttons = |
|
183 { |
|
184 CBA_BUTTON |
|
185 { |
|
186 id = EAknSoftkeyOk; |
|
187 txt = qtn_msk_stop; |
|
188 }, |
|
189 |
|
190 CBA_BUTTON |
|
191 { |
|
192 id = ECBACmdCancel; // .hrh |
|
193 txt = text_softkey_cancel; // .rls or .loc |
|
194 } |
|
195 }; |
|
196 } |
|
197 |
|
198 //---------------------------------------------------- |
|
199 // r_vibrate_softkeys_skip_stop__cancel |
|
200 // |
|
201 // Buttons shown during the vibration. Shown when the |
|
202 // test is run as a part of a suite. |
|
203 //---------------------------------------------------- |
|
204 // |
|
205 RESOURCE CBA r_vibrate_softkeys_stop_cancel |
|
206 { |
|
207 buttons = |
|
208 { |
|
209 CBA_BUTTON |
|
210 { |
|
211 id = EAknSoftkeyOk; |
|
212 txt = qtn_msk_stop; |
|
213 }, |
|
214 |
|
215 CBA_BUTTON |
|
216 { |
|
217 id = ECBACmdCancel; // .hrh |
|
218 txt = text_softkey_cancel; // .rls or .loc |
|
219 } |
|
220 |
|
221 |
|
222 }; |
|
223 } |
|
224 |
|
225 |
|
226 RESOURCE CBA r_vibrate_softkeys_yes_no |
|
227 { |
|
228 buttons = |
|
229 { |
|
230 CBA_BUTTON |
|
231 { |
|
232 id = EAknSoftkeyYes; |
|
233 txt = text_softkey_yes; |
|
234 }, |
|
235 |
|
236 CBA_BUTTON |
|
237 { |
|
238 id = ECBACmdNo; // .hrh |
|
239 txt = text_softkey_no; // .rls or .loc |
|
240 } |
|
241 |
|
242 |
|
243 }; |
|
244 } |
|
245 |
|
246 //---------------------------------------------------- |
|
247 // r_vibrateplugin_confquery_dlg |
|
248 // |
|
249 // Vibrate Plugin confirmation query dialog |
|
250 //---------------------------------------------------- |
|
251 // |
|
252 RESOURCE DIALOG r_vibrateplugin_confquery_dlg |
|
253 { |
|
254 flags = EGeneralQueryFlags; |
|
255 buttons = r_vibrate_softkeys_yes_no; |
|
256 items = |
|
257 { |
|
258 DLG_LINE |
|
259 { |
|
260 type = EAknCtQuery; |
|
261 id = EGeneralQuery; |
|
262 control = AVKON_CONFIRMATION_QUERY |
|
263 { |
|
264 layout = EConfirmationQueryLayout; |
|
265 label = qtn_diag_conf_vibrate; |
|
266 bmpfile = BMPFILE_NAME; |
|
267 bmpid = EMbmAvkonQgn_note_query; |
|
268 bmpmask = EMbmAvkonQgn_note_query_mask; |
|
269 }; |
|
270 } |
|
271 }; |
|
272 } |
|
273 |
|
274 //---------------------------------------------------- |
|
275 // r_vibrateplugin_disconnect_charger_dlg |
|
276 // |
|
277 // Vibrate Plugin discoonect charger note |
|
278 //---------------------------------------------------- |
|
279 // |
|
280 RESOURCE DIALOG r_vibrateplugin_disconnect_charger_dlg |
|
281 { |
|
282 flags = EGeneralQueryFlags; |
|
283 buttons = r_vibrate_softkeys_ok__cancel; |
|
284 items = |
|
285 { |
|
286 DLG_LINE |
|
287 { |
|
288 type = EAknCtQuery; |
|
289 id = EGeneralQuery; |
|
290 control = AVKON_CONFIRMATION_QUERY |
|
291 { |
|
292 layout = EConfirmationQueryLayout; |
|
293 label = qtn_diag_conf_battery_charger_disconnect; |
|
294 bmpfile = BMPFILE_NAME; |
|
295 bmpid = EMbmAvkonQgn_note_empty; |
|
296 bmpmask = EMbmAvkonQgn_note_empty_mask; |
|
297 }; |
|
298 } |
|
299 }; |
|
300 } |
|
301 |
|
302 |
|
303 //---------------------------------------------------- |
|
304 // r_vibrateplugin_startquery |
|
305 // |
|
306 // Vibrate Plugin start query dialog |
|
307 //---------------------------------------------------- |
|
308 // |
|
309 RESOURCE DIALOG r_vibrateplugin_startquery |
|
310 { |
|
311 flags = EGeneralQueryFlags | |
|
312 EEikDialogFlagNoBorder | |
|
313 EEikDialogFlagNoTitleBar; |
|
314 buttons = r_vibrate_softkeys_ok_skip; |
|
315 items = |
|
316 { |
|
317 DLG_LINE |
|
318 { |
|
319 type = EAknCtPopupHeadingPane; |
|
320 id = EAknMessageQueryHeaderId; |
|
321 |
|
322 control = AVKON_HEADING |
|
323 { |
|
324 label = qtn_diag_msg_title_vibrate; |
|
325 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE; |
|
326 }; |
|
327 }, |
|
328 |
|
329 DLG_LINE |
|
330 { |
|
331 type = EAknCtMessageQuery; // avkon.hrh |
|
332 id = EAknMessageQueryContentId; // .hrh |
|
333 control = AVKON_MESSAGE_QUERY // avkon.hrh |
|
334 { |
|
335 message = qtn_diag_msg_vibrate; // .loc |
|
336 }; |
|
337 } |
|
338 }; |
|
339 } |
|
340 |
|
341 |
|
342 //---------------------------------------------------- |
|
343 // r_vibrateplugin_progress_note_vibrating |
|
344 // |
|
345 // Vibrate Plugin vibration progress note |
|
346 //---------------------------------------------------- |
|
347 // |
|
348 RESOURCE DIALOG r_vibrateplugin_progress_note_vibrating |
|
349 { |
|
350 flags = EAknProgressNoteFlags; |
|
351 buttons = r_vibrate_softkeys_stop_cancel; |
|
352 |
|
353 items = |
|
354 { |
|
355 DLG_LINE |
|
356 { |
|
357 type = EAknCtNote; |
|
358 id = EGeneralNote; |
|
359 |
|
360 control = AVKON_NOTE |
|
361 { |
|
362 layout = EProgressLayout; |
|
363 singular_label = qtn_diag_msg_vibrating; |
|
364 |
|
365 imageid = EMbmAvkonQgn_note_progress; |
|
366 imagemask = EMbmAvkonQgn_note_progress_mask; |
|
367 }; |
|
368 } |
|
369 }; |
|
370 } |
|
371 |
|
372 |
|
373 |
|
374 //---------------------------------------------------- |
|
375 // r_vibrateplugin_disconnect_charger_dlg |
|
376 // |
|
377 // Vibrate Plugin discoonect charger note |
|
378 //---------------------------------------------------- |
|
379 // |
|
380 RESOURCE DIALOG r_vibrateplugin_vibrate_activate_dlg |
|
381 { |
|
382 flags = EGeneralQueryFlags; |
|
383 buttons = r_vibrate_softkeys_yes_no; |
|
384 items = |
|
385 { |
|
386 DLG_LINE |
|
387 { |
|
388 type = EAknCtQuery; |
|
389 id = EGeneralQuery; |
|
390 control = AVKON_CONFIRMATION_QUERY |
|
391 { |
|
392 layout = EConfirmationQueryLayout; |
|
393 label = qtn_diag_conf_vibrate_activate; |
|
394 bmpfile = BMPFILE_NAME; |
|
395 bmpid = EMbmAvkonQgn_note_empty; |
|
396 bmpmask = EMbmAvkonQgn_note_empty_mask; |
|
397 }; |
|
398 } |
|
399 }; |
|
400 } |
|
401 |
|
402 //End of File |
|