|
1 /* |
|
2 * Copyright (c) 2002-2009 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: This file contains all the resources for vmbx.dll. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // RESOURCE IDENTIFIER |
|
20 NAME VMBX // 4 letter ID |
|
21 |
|
22 // INCLUDES |
|
23 #include <bldvariant.hrh> |
|
24 |
|
25 #include <uikon.rh> |
|
26 #include <eikon.rh> |
|
27 #include "eikon.rsg" |
|
28 #include <avkon.rsg> |
|
29 #include <avkon.rh> |
|
30 #include <avkon.mbg> |
|
31 #include <avkon.loc> |
|
32 #include <vmbx.loc> |
|
33 |
|
34 // RESOURCE DEFINITIONS |
|
35 |
|
36 // ----------------------------------------------------------------------------- |
|
37 // |
|
38 // RSS signature |
|
39 // |
|
40 // ----------------------------------------------------------------------------- |
|
41 // |
|
42 RESOURCE RSS_SIGNATURE {} |
|
43 |
|
44 // ----------------------------------------------------------------------------- |
|
45 // |
|
46 // A document name buffer. |
|
47 // |
|
48 // ----------------------------------------------------------------------------- |
|
49 // |
|
50 RESOURCE TBUF { buf=""; } |
|
51 |
|
52 // ----------------------------------------------------------------------------- |
|
53 // |
|
54 // r_define_number_prompt |
|
55 // Prompt of the query for changing voice mailbox number. |
|
56 // |
|
57 // ----------------------------------------------------------------------------- |
|
58 // |
|
59 RESOURCE TBUF r_define_number_prompt |
|
60 { |
|
61 buf = qtn_smsvo_number_query; |
|
62 } |
|
63 |
|
64 // ----------------------------------------------------------------------------- |
|
65 // |
|
66 // r_change_number_prompt |
|
67 // Prompt of the query for changing voice mailbox number. |
|
68 // |
|
69 // ----------------------------------------------------------------------------- |
|
70 // |
|
71 RESOURCE TBUF r_change_number_prompt |
|
72 { |
|
73 buf = qtn_smsvo_number_query; |
|
74 } |
|
75 |
|
76 // ----------------------------------------------------------------------------- |
|
77 // |
|
78 // r_vmbx_number_query |
|
79 // Dialog for inserting/changing number |
|
80 // |
|
81 // ----------------------------------------------------------------------------- |
|
82 // |
|
83 RESOURCE DIALOG r_vmbx_number_query |
|
84 { |
|
85 flags = EGeneralQueryFlags; |
|
86 buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
87 items = |
|
88 { |
|
89 DLG_LINE |
|
90 { |
|
91 type = EAknCtQuery; |
|
92 id = EGeneralQuery; |
|
93 control = AVKON_DATA_QUERY |
|
94 { |
|
95 layout = EPhoneLayout; |
|
96 control = EDWIN |
|
97 { |
|
98 flags = EEikEdwinNoHorizScrolling | |
|
99 EEikEdwinResizable | |
|
100 EEikEdwinAlternativeWrapping | |
|
101 EEikEdwinAutoSelection; |
|
102 width = 16; |
|
103 lines = 1; |
|
104 maxlength = 48; |
|
105 default_input_mode = EAknEditorNumericInputMode; |
|
106 allowed_input_modes = EAknEditorNumericInputMode; |
|
107 numeric_keymap = EAknEditorStandardNumberModeKeymap; |
|
108 special_character_table = 0; |
|
109 }; |
|
110 }; |
|
111 } |
|
112 }; |
|
113 } |
|
114 |
|
115 |
|
116 // ----------------------------------------------------------------------------- |
|
117 // |
|
118 // r_vmbx_softkeys_search_cancel_select |
|
119 // for MSK CBA buttons |
|
120 // |
|
121 // ----------------------------------------------------------------------------- |
|
122 // |
|
123 RESOURCE CBA r_vmbx_softkeys_search_cancel_select |
|
124 { |
|
125 buttons = |
|
126 { |
|
127 CBA_BUTTON { id = EAknSoftkeySearch; txt = text_softkey_search; }, |
|
128 CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; }, |
|
129 CBA_BUTTON { id = EAknSoftkeySearch; txt = text_softkey_select; } |
|
130 }; |
|
131 } |
|
132 |
|
133 // ----------------------------------------------------------------------------- |
|
134 // |
|
135 // r_saved_note |
|
136 // Note for succesfully saved vmbx number. |
|
137 // |
|
138 // ----------------------------------------------------------------------------- |
|
139 // |
|
140 RESOURCE TBUF r_saved_note |
|
141 { |
|
142 buf = qtn_smsvo_saved_note; |
|
143 } |
|
144 |
|
145 // ----------------------------------------------------------------------------- |
|
146 // |
|
147 // r_note_empty_number |
|
148 // Note for user entering empty value in vmbx number query. |
|
149 // |
|
150 // ----------------------------------------------------------------------------- |
|
151 // |
|
152 RESOURCE TBUF r_note_empty_number |
|
153 { |
|
154 buf = qtn_smsvo_note_empty_number; |
|
155 } |
|
156 |
|
157 // ----------------------------------------------------------------------------- |
|
158 // |
|
159 // r_invalid_number_note |
|
160 // Note for invalid vmbx number. |
|
161 // |
|
162 // ----------------------------------------------------------------------------- |
|
163 // |
|
164 RESOURCE TBUF r_invalid_number_note |
|
165 { |
|
166 buf = qtn_smsvo_invalid_number; |
|
167 } |
|
168 |
|
169 // ----------------------------------------------------------------------------- |
|
170 // |
|
171 // r_sim_number_note |
|
172 // Note for displaying sim number for user |
|
173 // |
|
174 // ----------------------------------------------------------------------------- |
|
175 // |
|
176 RESOURCE TBUF r_sim_number_note |
|
177 { |
|
178 buf = qtn_smsvo_numb_from_sim_in_use; |
|
179 } |
|
180 |
|
181 // ----------------------------------------------------------------------------- |
|
182 // |
|
183 // r_saved_note_sim_memory |
|
184 // Note for successfully saved vmbx number to Sim card. |
|
185 // |
|
186 // ----------------------------------------------------------------------------- |
|
187 // |
|
188 RESOURCE TBUF r_saved_note_sim_memory |
|
189 { |
|
190 buf = qtn_smsvo_saved_to_sim; |
|
191 } |
|
192 |
|
193 // ----------------------------------------------------------------------------- |
|
194 // |
|
195 // r_saved_note_phone_memory |
|
196 // Note for successfully saved vmbx number to Phone memory. |
|
197 // |
|
198 // ----------------------------------------------------------------------------- |
|
199 // |
|
200 RESOURCE TBUF r_saved_note_phone_memory |
|
201 { |
|
202 buf = qtn_smsvo_saved_to_phone; |
|
203 } |
|
204 |
|
205 // ----------------------------------------------------------------------------- |
|
206 // |
|
207 // r_saved_sim_number_into_use |
|
208 // Query asking user if he wants to take the sim number into use. |
|
209 // |
|
210 // ----------------------------------------------------------------------------- |
|
211 // |
|
212 RESOURCE TBUF r_saved_sim_number_into_use |
|
213 { |
|
214 buf = qtn_smsvo_use_numb_from_sim; |
|
215 } |
|
216 |
|
217 |
|
218 // ----------------------------------------------------------------------------- |
|
219 // |
|
220 // r_vmbx_take_sim_number_into_use |
|
221 // Dialog asking user if he wants to take the sim number into use. |
|
222 // |
|
223 // ----------------------------------------------------------------------------- |
|
224 // |
|
225 RESOURCE DIALOG r_vmbx_take_sim_number_into_use |
|
226 { |
|
227 flags = EGeneralQueryFlags; |
|
228 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
229 items= |
|
230 { |
|
231 DLG_LINE |
|
232 { |
|
233 type = EAknCtQuery; |
|
234 itemflags = EEikDlgItemNonFocusing; |
|
235 id = EGeneralQuery; |
|
236 control = AVKON_CONFIRMATION_QUERY |
|
237 { |
|
238 layout = EConfirmationLayout; |
|
239 label = ""; |
|
240 }; |
|
241 } |
|
242 }; |
|
243 } |
|
244 |
|
245 |
|
246 // ----------------------------------------------------------------------------- |
|
247 // |
|
248 // r_vmbx_memory_list_query |
|
249 // Query where to save number |
|
250 // |
|
251 // ----------------------------------------------------------------------------- |
|
252 // |
|
253 RESOURCE AVKON_LIST_QUERY r_vmbx_memory_list_query |
|
254 { |
|
255 //flags = EGeneralQueryFlags; |
|
256 //softkeys = r_avkon_softkeys_ok_cancel; |
|
257 items = |
|
258 { |
|
259 AVKON_LIST_QUERY_DLG_LINE |
|
260 { |
|
261 control = AVKON_LIST_QUERY_CONTROL |
|
262 { |
|
263 listtype = EAknCtSinglePopupMenuListBox; |
|
264 listbox = AVKON_LIST_QUERY_LIST |
|
265 { |
|
266 array_id=r_vmbx_memory_save_number_to; |
|
267 }; |
|
268 heading = qtn_smsvo_save_to; |
|
269 }; |
|
270 } |
|
271 }; |
|
272 } |
|
273 |
|
274 // ----------------------------------------------------------------------------- |
|
275 // |
|
276 // r_vmbx_memory_save_number_to |
|
277 // Options array for r_vmbx_memory_list_query |
|
278 // |
|
279 // ----------------------------------------------------------------------------- |
|
280 // |
|
281 RESOURCE ARRAY r_vmbx_memory_save_number_to |
|
282 { |
|
283 items= |
|
284 { |
|
285 LBUF {txt=qtn_smsvo_sim_card; } , |
|
286 LBUF {txt=qtn_smsvo_phone_memory; } |
|
287 }; |
|
288 } |
|
289 |
|
290 // ----------------------------------------------------------------------------- |
|
291 // |
|
292 // r_video_saved_note |
|
293 // Note for succesfully saved video mailbox number. |
|
294 // |
|
295 // ----------------------------------------------------------------------------- |
|
296 // |
|
297 RESOURCE TBUF r_video_saved_note |
|
298 { |
|
299 buf = qtn_smsvi_mailbox_saved; |
|
300 } |
|
301 |
|
302 // ----------------------------------------------------------------------------- |
|
303 // |
|
304 // r_video_note_empty_number |
|
305 // text for selections in mailbox query when any mailbox is not defined |
|
306 // (Internet call voice mailbox) |
|
307 // |
|
308 // ----------------------------------------------------------------------------- |
|
309 // |
|
310 RESOURCE TBUF r_video_note_empty_number |
|
311 { |
|
312 buf = qtn_smsvi_note_empty_number; |
|
313 } |
|
314 |
|
315 // ----------------------------------------------------------------------------- |
|
316 // |
|
317 // r_video_define_number_prompt |
|
318 // Prompt of the query for changing video mailbox number. |
|
319 // |
|
320 // ----------------------------------------------------------------------------- |
|
321 // |
|
322 RESOURCE TBUF r_video_define_number_prompt |
|
323 { |
|
324 buf = qtn_smsvi_number_query; |
|
325 } |
|
326 |
|
327 // ----------------------------------------------------------------------------- |
|
328 // |
|
329 // r_video_change_number_prompt |
|
330 // Prompt of the query for changing video mailbox number. |
|
331 // |
|
332 // ----------------------------------------------------------------------------- |
|
333 // |
|
334 RESOURCE TBUF r_video_change_number_prompt |
|
335 { |
|
336 buf = qtn_smsvi_number_query; |
|
337 } |
|
338 |
|
339 // ----------------------------------------------------------------------------- |
|
340 // |
|
341 // r_callto_lbx_prompt |
|
342 // text for selecting mailbox query |
|
343 // |
|
344 // ----------------------------------------------------------------------------- |
|
345 // |
|
346 RESOURCE TBUF r_callto_lbx_prompt |
|
347 { |
|
348 buf = qtn_voip_call_to_voice_mailbox; |
|
349 } |
|
350 |
|
351 // ----------------------------------------------------------------------------- |
|
352 // |
|
353 // r_callto_lbx_cs_mailbox_item |
|
354 // text for selections in mailbox query |
|
355 // |
|
356 // ----------------------------------------------------------------------------- |
|
357 // |
|
358 RESOURCE TBUF r_callto_lbx_cs_mailbox_item |
|
359 { |
|
360 buf = qtn_voip_cs_mailbox; |
|
361 } |
|
362 |
|
363 // ----------------------------------------------------------------------------- |
|
364 // |
|
365 // r_callto_lbx_video_mailbox_item |
|
366 // text for selections in mailbox query |
|
367 // |
|
368 // ----------------------------------------------------------------------------- |
|
369 // |
|
370 RESOURCE TBUF r_callto_lbx_video_mailbox_item |
|
371 { |
|
372 buf = qtn_smsvi_video_mailbox; |
|
373 } |
|
374 |
|
375 |
|
376 // ----------------------------------------------------------------------------- |
|
377 // |
|
378 // r_define_voice_lbx_prompt |
|
379 // text for selecting mailbox query |
|
380 // |
|
381 // ----------------------------------------------------------------------------- |
|
382 // |
|
383 RESOURCE TBUF r_define_voice_lbx_prompt |
|
384 { |
|
385 buf = qtn_voip_define_voice_mailbox; |
|
386 } |
|
387 |
|
388 // ----------------------------------------------------------------------------- |
|
389 // |
|
390 // r_define_video_or_voice_lbx_prompt |
|
391 // text for selecting mailbox query |
|
392 // |
|
393 // ----------------------------------------------------------------------------- |
|
394 // |
|
395 RESOURCE TBUF r_define_video_or_voice_lbx_prompt |
|
396 { |
|
397 buf = qtn_smsvi_define_vi_or_vo_mailbox; |
|
398 } |
|
399 |
|
400 // ----------------------------------------------------------------------------- |
|
401 // |
|
402 // r_define_lbx_cs_mailbox_item |
|
403 // text for selections in mailbox query when any mailbox is not defined |
|
404 // |
|
405 // ----------------------------------------------------------------------------- |
|
406 // |
|
407 RESOURCE TBUF r_define_lbx_cs_mailbox_item |
|
408 { |
|
409 buf = qtn_voip_define_cs_mailbox; |
|
410 } |
|
411 |
|
412 // ----------------------------------------------------------------------------- |
|
413 // |
|
414 // r_define_lbx_video_mailbox_item |
|
415 // text for selections in mailbox query when any mailbox is not defined |
|
416 // |
|
417 // ----------------------------------------------------------------------------- |
|
418 // |
|
419 RESOURCE TBUF r_define_lbx_video_mailbox_item |
|
420 { |
|
421 buf = qtn_smsvi_define_vt_mailbox; |
|
422 } |
|
423 |
|
424 // ----------------------------------------------------------------------------- |
|
425 // |
|
426 // r_mailbox_listquery |
|
427 // List query |
|
428 // |
|
429 // ----------------------------------------------------------------------------- |
|
430 // |
|
431 RESOURCE AVKON_LIST_QUERY r_mailbox_listquery |
|
432 { |
|
433 items = |
|
434 { |
|
435 AVKON_LIST_QUERY_DLG_LINE |
|
436 { |
|
437 control = AVKON_LIST_QUERY_CONTROL |
|
438 { |
|
439 listtype = EAknCtSinglePopupMenuListBox; |
|
440 heading = qtn_voip_call_to_voice_mailbox; |
|
441 listbox = AVKON_LIST_QUERY_LIST |
|
442 { |
|
443 }; |
|
444 }; |
|
445 } |
|
446 }; |
|
447 } |
|
448 |
|
449 // ----------------------------------------------------------------------------- |
|
450 // |
|
451 // r_voip_rel2_2_call_to |
|
452 // Query for voice mailbox call, contains all configured vmbx services |
|
453 // |
|
454 // ----------------------------------------------------------------------------- |
|
455 // |
|
456 RESOURCE DIALOG r_voip_rel2_2_call_to |
|
457 { |
|
458 flags = EGeneralQueryFlags; |
|
459 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
460 items = |
|
461 { |
|
462 DLG_LINE |
|
463 { |
|
464 type = EAknCtListQueryControl; |
|
465 id = EListQueryControl; |
|
466 control = AVKON_LIST_QUERY_CONTROL |
|
467 { |
|
468 listtype = EAknCtSingleGraphicPopupMenuListBox; |
|
469 listbox = LISTBOX |
|
470 { |
|
471 //constructed dynamically |
|
472 }; |
|
473 heading = qtn_voip_call_to_voice_mailbox; |
|
474 }; |
|
475 } |
|
476 }; |
|
477 } |
|
478 |
|
479 // ----------------------------------------------------------------------------- |
|
480 // |
|
481 // r_voice_no_vmbx_number_note |
|
482 // Notification about missing number |
|
483 // |
|
484 // ----------------------------------------------------------------------------- |
|
485 // |
|
486 RESOURCE TBUF r_voice_no_vmbx_number_note |
|
487 { |
|
488 buf = qtn_voice_no_vmbx_number; |
|
489 } |
|
490 |
|
491 // End of File |