author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Wed, 13 Oct 2010 14:32:23 +0300 | |
branch | RCL_3 |
changeset 27 | d0e1a4b40897 |
parent 23 | cd54903d48da |
permissions | -rw-r--r-- |
23 | 1 |
/* |
2 |
* Copyright (c) 2002 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: Profiles Application resources |
|
15 |
* |
|
16 |
*/ |
|
17 |
||
18 |
||
19 |
||
20 |
// RESOURCE IDENTIFIER |
|
21 |
NAME PROF |
|
22 |
||
23 |
// INCLUDES |
|
24 |
#include <eikon.rh> |
|
25 |
#include <avkon.rh> |
|
26 |
#include <avkon.rsg> |
|
27 |
#include <avkon.loc> |
|
28 |
#include <avkon.mbg> |
|
29 |
#include <e32keys.h> |
|
30 |
#include <bldvariant.hrh> |
|
31 |
#include <appinfo.rh> |
|
32 |
#include <ProfileEng.hrh> |
|
33 |
#include <Profile.hrh> |
|
34 |
#include <profileapp.loc> |
|
27
d0e1a4b40897
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
23
diff
changeset
|
35 |
#include <profile.loc> |
23 | 36 |
#include "ProfileApp.hrh" |
37 |
#include <data_caging_paths_strings.hrh> |
|
38 |
||
39 |
// RESOURCE DEFINITIONS |
|
40 |
||
41 |
RESOURCE RSS_SIGNATURE {} |
|
42 |
||
43 |
RESOURCE TBUF { buf = ""; } |
|
44 |
||
45 |
RESOURCE EIK_APP_INFO {} |
|
46 |
||
47 |
RESOURCE LOCALISABLE_APP_INFO r_profile_localisable_app_info |
|
48 |
{ |
|
49 |
short_caption = qtn_apps_mode_grid; |
|
50 |
caption_and_icon = |
|
51 |
CAPTION_AND_ICON_INFO |
|
52 |
{ |
|
53 |
caption = qtn_apps_mode_list; |
|
54 |
||
55 |
#ifdef __SCALABLE_ICONS |
|
56 |
||
57 |
number_of_icons = 1; |
|
58 |
icon_file = APP_BITMAP_DIR"\\ProfileApp_aif.mif"; |
|
59 |
||
60 |
#else |
|
61 |
||
62 |
number_of_icons = 2; |
|
63 |
icon_file = APP_BITMAP_DIR"\\ProfileApp_aif.mbm"; |
|
64 |
||
65 |
#endif // __SCALABLE_ICONS |
|
66 |
}; |
|
67 |
} |
|
68 |
||
69 |
// ----------------------------------------------------------------------------- |
|
70 |
// |
|
71 |
// r_profile_main_view |
|
72 |
// ?description |
|
73 |
// |
|
74 |
// ----------------------------------------------------------------------------- |
|
75 |
// |
|
76 |
RESOURCE AVKON_VIEW r_profile_main_view |
|
77 |
{ |
|
78 |
menubar = r_profile_main_view_options_menubar; |
|
79 |
cba = r_profile_main_view_cba; |
|
80 |
} |
|
81 |
||
82 |
// ----------------------------------------------------------------------------- |
|
83 |
// |
|
84 |
// r_profile_settings_view |
|
85 |
// ?description |
|
86 |
// |
|
87 |
// ----------------------------------------------------------------------------- |
|
88 |
// |
|
89 |
RESOURCE AVKON_VIEW r_profile_settings_view |
|
90 |
{ |
|
91 |
menubar = r_profile_settings_view_options_menubar; |
|
92 |
cba = r_profile_settings_view_cba; |
|
93 |
} |
|
94 |
||
95 |
// ----------------------------------------------------------------------------- |
|
96 |
// |
|
97 |
// r_profile_main_view_options_menubar |
|
98 |
// ?description |
|
99 |
// |
|
100 |
// ----------------------------------------------------------------------------- |
|
101 |
// |
|
102 |
RESOURCE MENU_BAR r_profile_main_view_options_menubar |
|
103 |
{ |
|
104 |
titles = |
|
105 |
{ |
|
106 |
MENU_TITLE { menu_pane = r_profile_main_view_options_menupane; } |
|
107 |
}; |
|
108 |
} |
|
109 |
||
110 |
// ----------------------------------------------------------------------------- |
|
111 |
// |
|
112 |
// r_profile_main_view_context_specific_options_menubar |
|
113 |
// ?description |
|
114 |
// |
|
115 |
// ----------------------------------------------------------------------------- |
|
116 |
// |
|
117 |
RESOURCE MENU_BAR r_profile_main_view_context_specific_options_menubar |
|
118 |
{ |
|
119 |
titles = |
|
120 |
{ |
|
121 |
MENU_TITLE { menu_pane = r_profile_main_view_context_specific_options_menupane; } |
|
122 |
}; |
|
123 |
} |
|
124 |
||
125 |
// ----------------------------------------------------------------------------- |
|
126 |
// |
|
127 |
// r_profile_settings_view_options_menubar |
|
128 |
// ?description |
|
129 |
// |
|
130 |
// ----------------------------------------------------------------------------- |
|
131 |
// |
|
132 |
RESOURCE MENU_BAR r_profile_settings_view_options_menubar |
|
133 |
{ |
|
134 |
titles = |
|
135 |
{ |
|
136 |
MENU_TITLE { menu_pane = r_profile_settings_view_options_menupane; } |
|
137 |
}; |
|
138 |
} |
|
139 |
||
140 |
// ----------------------------------------------------------------------------- |
|
141 |
// |
|
142 |
// r_profile_main_view_cba |
|
143 |
// ?description |
|
144 |
// |
|
145 |
// ----------------------------------------------------------------------------- |
|
146 |
// |
|
147 |
RESOURCE CBA r_profile_main_view_cba |
|
148 |
{ |
|
149 |
flags = 0; |
|
150 |
buttons = |
|
151 |
{ |
|
152 |
CBA_BUTTON {id=EAknSoftkeyOptions; txt=text_softkey_option;}, |
|
153 |
CBA_BUTTON {id=EAknSoftkeyExit; txt=text_softkey_exit;}, |
|
154 |
CBA_BUTTON {id=EAknSoftkeyContextOptions; txt=text_softkey_option;} |
|
155 |
}; |
|
156 |
} |
|
157 |
||
158 |
||
159 |
// ----------------------------------------------------------------------------- |
|
160 |
// |
|
161 |
// r_profile_main_view_cba_2 |
|
162 |
// ?description |
|
163 |
// |
|
164 |
// ----------------------------------------------------------------------------- |
|
165 |
// |
|
166 |
RESOURCE CBA r_profile_main_view_cba_2 |
|
167 |
{ |
|
168 |
flags = 0; |
|
169 |
buttons = |
|
170 |
{ |
|
171 |
CBA_BUTTON {id=EAknSoftkeyOptions; txt=text_softkey_option;}, |
|
172 |
CBA_BUTTON {id=EAknSoftkeyBack; txt=text_softkey_back;}, |
|
173 |
CBA_BUTTON {id=EAknSoftkeyContextOptions; txt=text_softkey_option;} |
|
174 |
}; |
|
175 |
} |
|
176 |
||
177 |
||
178 |
// ----------------------------------------------------------------------------- |
|
179 |
// |
|
180 |
// r_profile_settings_view_cba |
|
181 |
// ?description |
|
182 |
// |
|
183 |
// ----------------------------------------------------------------------------- |
|
184 |
// |
|
185 |
RESOURCE CBA r_profile_settings_view_cba |
|
186 |
{ |
|
187 |
flags = 0; |
|
188 |
buttons = |
|
189 |
{ |
|
190 |
CBA_BUTTON {id=EAknSoftkeyOptions; txt=text_softkey_option;}, |
|
191 |
CBA_BUTTON {id=EAknSoftkeyBack; txt=text_softkey_back;}, |
|
192 |
CBA_BUTTON {id=EAknSoftkeyChange; txt=qtn_msk_change;} |
|
193 |
}; |
|
194 |
} |
|
195 |
||
196 |
// ----------------------------------------------------------------------------- |
|
197 |
// |
|
198 |
// r_profile_settings_view_cba_idle |
|
199 |
// ?description |
|
200 |
// |
|
201 |
// ----------------------------------------------------------------------------- |
|
202 |
// |
|
203 |
RESOURCE CBA r_profile_settings_view_cba_idle |
|
204 |
{ |
|
205 |
flags = 0; |
|
206 |
buttons = |
|
207 |
{ |
|
208 |
CBA_BUTTON {id=EAknSoftkeyOptions; txt=text_softkey_option;}, |
|
209 |
CBA_BUTTON {id=EAknSoftkeyExit; txt=text_softkey_exit;}, |
|
210 |
CBA_BUTTON {id=EAknSoftkeyChange; txt=qtn_msk_change;} |
|
211 |
}; |
|
212 |
} |
|
213 |
||
214 |
// ----------------------------------------------------------------------------- |
|
215 |
// |
|
216 |
// r_profile_main_view_options_menupane |
|
217 |
// ?description |
|
218 |
// |
|
219 |
// ----------------------------------------------------------------------------- |
|
220 |
// |
|
221 |
RESOURCE MENU_PANE r_profile_main_view_options_menupane |
|
222 |
{ |
|
223 |
items = |
|
224 |
{ |
|
225 |
// MENU_ITEM { command = EProfileCmdActivate; txt = qtn_mode_activate; }, |
|
226 |
//MENU_ITEM { command = EProfileCmdPersonalise; txt = qtn_mode_personalise; }, |
|
227 |
//MENU_ITEM { command = EProfileCmdTimed; txt = qtn_profiles_options_timed; }, |
|
228 |
#ifdef __DYNAMIC_PROFILES |
|
229 |
MENU_ITEM { command = EProfileCmdCreateNew; txt = qtn_profiles_options_create_new; }, |
|
230 |
// MENU_ITEM { command = EProfileCmdDelete; txt = qtn_profiles_options_delete; }, |
|
231 |
#endif // __DYNAMIC_PROFILES |
|
232 |
MENU_ITEM { command = EAknCmdHelp; txt = qtn_options_help; }, |
|
233 |
//MENU_ITEM { command = EEikCmdExit; txt = qtn_options_exit; } |
|
234 |
MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; } |
|
235 |
}; |
|
236 |
} |
|
237 |
||
238 |
// ----------------------------------------------------------------------------- |
|
239 |
// |
|
240 |
// r_profile_main_view_context_specific_options_menupane |
|
241 |
// ?description |
|
242 |
// |
|
243 |
// ----------------------------------------------------------------------------- |
|
244 |
// |
|
245 |
RESOURCE MENU_PANE r_profile_main_view_context_specific_options_menupane |
|
246 |
{ |
|
247 |
items = |
|
248 |
{ |
|
249 |
MENU_ITEM { command = EProfileCmdActivate; txt = qtn_mode_activate; }, |
|
250 |
MENU_ITEM { command = EProfileCmdPersonalise; txt = qtn_mode_personalise; }, |
|
251 |
MENU_ITEM { command = EProfileCmdDelete; txt = qtn_profiles_options_delete; }, |
|
252 |
MENU_ITEM { command = EProfileCmdTimed; txt = qtn_profiles_options_timed; } |
|
253 |
}; |
|
254 |
} |
|
255 |
||
256 |
// ----------------------------------------------------------------------------- |
|
257 |
// |
|
258 |
// r_profile_settings_view_options_menupane |
|
259 |
// ?description |
|
260 |
// |
|
261 |
// ----------------------------------------------------------------------------- |
|
262 |
// |
|
263 |
RESOURCE MENU_PANE r_profile_settings_view_options_menupane |
|
264 |
{ |
|
265 |
items = |
|
266 |
{ |
|
267 |
//MENU_ITEM { command = EProfileCmdChange; txt = qtn_mode_change; }, |
|
268 |
MENU_ITEM { command = EAknCmdHelp; txt = qtn_options_help; }, |
|
269 |
//MENU_ITEM { command = EEikCmdExit; txt = qtn_options_exit; } |
|
270 |
MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; } |
|
271 |
}; |
|
272 |
} |
|
273 |
||
274 |
// ----------------------------------------------------------------------------- |
|
275 |
// |
|
276 |
// r_profile_leave_offline_confirmation_query |
|
277 |
// ?description |
|
278 |
// |
|
279 |
// ----------------------------------------------------------------------------- |
|
280 |
// |
|
281 |
RESOURCE DIALOG r_profile_leave_offline_confirmation_query |
|
282 |
{ |
|
283 |
flags = EGeneralQueryFlags; |
|
284 |
buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
285 |
items = |
|
286 |
{ |
|
287 |
DLG_LINE |
|
288 |
{ |
|
289 |
type = EAknCtQuery; |
|
290 |
id = EGeneralQuery; |
|
291 |
control = AVKON_CONFIRMATION_QUERY |
|
292 |
{ |
|
293 |
layout = EConfirmationQueryLayout; |
|
294 |
label = qtn_leave_offline_mode_query; |
|
295 |
}; |
|
296 |
} |
|
297 |
}; |
|
298 |
} |
|
299 |
||
300 |
// ----------------------------------------------------------------------------- |
|
301 |
// |
|
302 |
// r_profile_delete_confirmation_query |
|
303 |
// ?description |
|
304 |
// |
|
305 |
// ----------------------------------------------------------------------------- |
|
306 |
// |
|
307 |
RESOURCE DIALOG r_profile_delete_confirmation_query |
|
308 |
{ |
|
309 |
flags = EGeneralQueryFlags; |
|
310 |
buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
311 |
items= |
|
312 |
{ |
|
313 |
DLG_LINE |
|
314 |
{ |
|
315 |
type = EAknCtQuery; |
|
316 |
id = EGeneralQuery; |
|
317 |
control = AVKON_CONFIRMATION_QUERY |
|
318 |
{ |
|
319 |
layout = EConfirmationQueryLayout; |
|
320 |
label = qtn_profiles_conf_delete; |
|
321 |
}; |
|
322 |
} |
|
323 |
}; |
|
324 |
} |
|
325 |
||
326 |
// ----------------------------------------------------------------------------- |
|
327 |
// |
|
328 |
// r_profile_text_title |
|
329 |
// ?description |
|
330 |
// |
|
331 |
// ----------------------------------------------------------------------------- |
|
332 |
// |
|
333 |
RESOURCE TBUF r_profile_text_title { buf = qtn_mode_profiles; } |
|
334 |
||
335 |
// ----------------------------------------------------------------------------- |
|
336 |
// |
|
337 |
// r_profile_text_insert_sim |
|
338 |
// ?description |
|
339 |
// |
|
340 |
// ----------------------------------------------------------------------------- |
|
341 |
// |
|
342 |
RESOURCE TBUF r_profile_text_insert_sim { buf = qtn_su_note_insert_sim; } |
|
343 |
||
344 |
// ----------------------------------------------------------------------------- |
|
345 |
// |
|
346 |
// r_profile_text_error_maximum |
|
347 |
// ?description |
|
348 |
// |
|
349 |
// ----------------------------------------------------------------------------- |
|
350 |
// |
|
351 |
RESOURCE TBUF r_profile_text_error_maximum { buf = qtn_profiles_error_maximum; } |
|
352 |
||
353 |
// ----------------------------------------------------------------------------- |
|
354 |
// |
|
355 |
// r_profile_text_delete_error |
|
356 |
// ?description |
|
357 |
// |
|
358 |
// ----------------------------------------------------------------------------- |
|
359 |
// |
|
360 |
RESOURCE TBUF r_profile_text_delete_error { buf = qtn_profiles_delete_error; } |
|
361 |
||
362 |
// --------------------------------------------------------- |
|
363 |
// |
|
364 |
// r_profile_time_query |
|
365 |
// ?description |
|
366 |
// |
|
367 |
// --------------------------------------------------------- |
|
368 |
// |
|
369 |
RESOURCE DIALOG r_profile_time_query |
|
370 |
{ |
|
371 |
flags=EGeneralQueryFlags; |
|
372 |
buttons=R_AVKON_SOFTKEYS_OK_CANCEL; |
|
373 |
items= |
|
374 |
{ |
|
375 |
DLG_LINE |
|
376 |
{ |
|
377 |
type=EAknCtQuery; |
|
378 |
id=EGeneralQuery; |
|
379 |
control = AVKON_DATA_QUERY |
|
380 |
{ |
|
381 |
layout = ETimeLayout; |
|
382 |
label = text_popupfield_prompt_for_time; |
|
383 |
control = TIME_EDITOR |
|
384 |
{ |
|
385 |
minTime= TIME {second=0;minute=0;hour=0;}; |
|
386 |
maxTime= TIME {second=59;minute=59;hour=23;}; |
|
387 |
flags=EEikTimeWithoutSecondsField; |
|
388 |
}; |
|
389 |
}; |
|
390 |
} |
|
391 |
}; |
|
392 |
} |
|
393 |
||
394 |
// ----------------------------------------------------------------------------- |
|
395 |
// |
|
396 |
// r_profile_setting_expiry_time |
|
397 |
// ?description |
|
398 |
// |
|
399 |
// ----------------------------------------------------------------------------- |
|
400 |
// |
|
401 |
RESOURCE TBUF r_profile_setting_expiry_time { buf = qtn_profiles_setting_expiry_time; } |
|
402 |
||
403 |
// ----------------------------------------------------------------------------- |
|
404 |
// |
|
405 |
// r_profile_conf_singular |
|
406 |
// ?description |
|
407 |
// |
|
408 |
// ----------------------------------------------------------------------------- |
|
409 |
// |
|
410 |
RESOURCE TBUF r_profile_conf_singular { buf = qtn_profiles_conf_singular; } |
|
411 |
||
412 |
// ----------------------------------------------------------------------------- |
|
413 |
// |
|
414 |
// r_profile_conf_plural |
|
415 |
// ?description |
|
416 |
// |
|
417 |
// ----------------------------------------------------------------------------- |
|
418 |
// |
|
419 |
RESOURCE TBUF r_profile_conf_plural { buf = qtn_profiles_conf_plural; } |
|
420 |
||
421 |
// ----------------------------------------------------------------------------- |
|
422 |
// |
|
423 |
// r_profile_conf_hour_sev_min |
|
424 |
// ?description |
|
425 |
// |
|
426 |
// ----------------------------------------------------------------------------- |
|
427 |
// |
|
428 |
RESOURCE TBUF r_profile_conf_hour_sev_min { buf = qtn_profiles_conf_hour_sev_min; } |
|
429 |
||
430 |
// ----------------------------------------------------------------------------- |
|
431 |
// |
|
432 |
// r_profile_conf_sev_hours_min |
|
433 |
// ?description |
|
434 |
// |
|
435 |
// ----------------------------------------------------------------------------- |
|
436 |
// |
|
437 |
RESOURCE TBUF r_profile_conf_sev_hours_min { buf = qtn_profiles_conf_sev_hours_min; } |
|
438 |
||
439 |
// ----------------------------------------------------------------------------- |
|
440 |
// |
|
441 |
// r_profile_error_timing_active_profile |
|
442 |
// ?description |
|
443 |
// |
|
444 |
// ----------------------------------------------------------------------------- |
|
445 |
// |
|
446 |
RESOURCE TBUF r_profile_error_timing_active_profile { buf = qtn_profiles_error_timing_active_profile; } |
|
447 |
||
448 |
// ----------------------------------------------------------------------------- |
|
449 |
// |
|
450 |
// r_profile_confirm_timed_query |
|
451 |
// ?description |
|
452 |
// |
|
453 |
// ----------------------------------------------------------------------------- |
|
454 |
// |
|
455 |
RESOURCE DIALOG r_profile_confirm_timed_query |
|
456 |
{ |
|
457 |
flags = EGeneralQueryFlags; |
|
458 |
buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
459 |
items = |
|
460 |
{ |
|
461 |
DLG_LINE |
|
462 |
{ |
|
463 |
type = EAknCtQuery; |
|
464 |
id = EGeneralQuery; |
|
465 |
control = AVKON_CONFIRMATION_QUERY |
|
466 |
{ |
|
467 |
layout = EConfirmationQueryLayout; |
|
468 |
label = ""; |
|
469 |
bmpfile = AVKON_BITMAP_FILE; |
|
470 |
bmpid = EMbmAvkonQgn_note_info; |
|
471 |
bmpmask = EMbmAvkonQgn_note_info_mask; |
|
472 |
}; |
|
473 |
} |
|
474 |
}; |
|
475 |
} |
|
476 |
||
477 |
// End of File |