1 /* |
|
2 * Copyright (c) 2005-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 XDMPlugin |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 // RESOURCE IDENTIFIER |
|
22 NAME GSXD // 4 letter ID |
|
23 |
|
24 // INCLUDES |
|
25 #include <bldvariant.hrh> |
|
26 #include <avkon.rh> |
|
27 #include <avkon.rsg> |
|
28 #include <avkon.mbg> |
|
29 #include <eikcore.rsg> |
|
30 #include <eikon.rh> |
|
31 #include <eikon.rsg> |
|
32 #include <avkon.loc> |
|
33 #include <data_caging_paths_strings.hrh> |
|
34 #include <appinfo.rh> |
|
35 |
|
36 #include <gsxdmplugin.loc> |
|
37 #include "XDMPlugin.hrh" |
|
38 |
|
39 // CONSTANTS |
|
40 //---------------------------------------------------- |
|
41 // |
|
42 // |
|
43 // Needed or loading the resource fails! |
|
44 // |
|
45 //---------------------------------------------------- |
|
46 // |
|
47 RESOURCE RSS_SIGNATURE |
|
48 { |
|
49 } |
|
50 |
|
51 //---------------------------------------------------- |
|
52 // |
|
53 // r_gs_xdm_settings_main_menubar |
|
54 // Menu when main list is visible |
|
55 // |
|
56 //---------------------------------------------------- |
|
57 // |
|
58 RESOURCE MENU_BAR r_gs_xdm_settings_main_menubar |
|
59 { |
|
60 titles = |
|
61 { |
|
62 MENU_TITLE { menu_pane = r_gs_xdm_settings_main_menu;} |
|
63 }; |
|
64 } |
|
65 |
|
66 //---------------------------------------------------- |
|
67 // |
|
68 // r_gs_xdm_settings_main_menu |
|
69 // Main menu when we enter in XDM settings |
|
70 // |
|
71 //---------------------------------------------------- |
|
72 // |
|
73 RESOURCE MENU_PANE r_gs_xdm_settings_main_menu |
|
74 { |
|
75 items = |
|
76 { |
|
77 MENU_ITEM { command = EGSXDMPluginCmdChange; txt = qtn_xdm_settings_change; }, |
|
78 MENU_ITEM { command = EGSXDMPluginCmdEdit; txt = qtn_xdm_options_edit_set; }, |
|
79 MENU_ITEM { command = EGSXDMPluginCmdNewSettings; |
|
80 cascade = r_gs_xdm_new_settings_menu; txt = qtn_xdm_options_new_set; }, |
|
81 MENU_ITEM { command = EGSXDMPluginCmdDelete; txt = qtn_xdm_options_delete; }, |
|
82 MENU_ITEM { command = EAknCmdHelp; txt = qtn_options_help; }, |
|
83 MENU_ITEM { command = EGSXDMPluginCmdExitFromSL; txt = qtn_options_exit; }, |
|
84 MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; } |
|
85 }; |
|
86 } |
|
87 |
|
88 //---------------------------------------------------- |
|
89 // |
|
90 // r_gs_xdm_new_settings_menu |
|
91 // case menu |
|
92 // |
|
93 //---------------------------------------------------- |
|
94 // |
|
95 RESOURCE MENU_PANE r_gs_xdm_new_settings_menu |
|
96 { |
|
97 items = |
|
98 { |
|
99 MENU_ITEM { command = EGSXDMPluginCmdNewDefault; txt = qtn_xdm_options_new_sub_default; }, |
|
100 MENU_ITEM { command = EGSXDMPluginCmdNewExisting; txt = qtn_xdm_options_new_sub_existing; } |
|
101 }; |
|
102 } |
|
103 |
|
104 //---------------------------------------------------- |
|
105 // |
|
106 // r_gs_xdm_main_view_title |
|
107 // XDM view's title. |
|
108 // |
|
109 //---------------------------------------------------- |
|
110 // |
|
111 RESOURCE TITLE_PANE r_gs_xdm_main_view_title |
|
112 { |
|
113 txt = qtn_xdm_title; |
|
114 } |
|
115 |
|
116 //---------------------------------------------------- |
|
117 // |
|
118 // r_gs_xdm_main_view |
|
119 // XDM plugin main view. |
|
120 // |
|
121 //---------------------------------------------------- |
|
122 // |
|
123 RESOURCE AVKON_VIEW r_gs_xdm_main_view |
|
124 { |
|
125 menubar = r_gs_xdm_settings_main_menubar; |
|
126 cba = r_xdmui_mainview_softkeys;//R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
127 } |
|
128 |
|
129 //---------------------------------------------------- |
|
130 // |
|
131 // r_xdmui_mainview_softkeys |
|
132 // XDM plugin main view softkeys. |
|
133 // |
|
134 //---------------------------------------------------- |
|
135 // |
|
136 RESOURCE CBA r_xdmui_mainview_softkeys |
|
137 { |
|
138 flags = 0; |
|
139 buttons = |
|
140 { |
|
141 CBA_BUTTON {id=EAknSoftkeyOptions; txt= text_softkey_option;}, |
|
142 CBA_BUTTON {id=EAknSoftkeyBack; txt= text_softkey_back;}, |
|
143 CBA_BUTTON {id=EGSXDMPluginCmdEdit; txt= qtn_msk_edit;} |
|
144 }; |
|
145 } |
|
146 |
|
147 //---------------------------------------------------- |
|
148 // |
|
149 // r_xdmui_mainview_softkeys_sl |
|
150 // XDM plugin main view softkeys for settings list |
|
151 // |
|
152 //---------------------------------------------------- |
|
153 // |
|
154 RESOURCE CBA r_xdmui_mainview_softkeys_sl |
|
155 { |
|
156 flags = 0; |
|
157 buttons = |
|
158 { |
|
159 CBA_BUTTON {id=EAknSoftkeyOptions; txt= text_softkey_option;}, |
|
160 CBA_BUTTON {id=EAknSoftkeyBack; txt= text_softkey_back;}, |
|
161 CBA_BUTTON {id=EGSXDMPluginCmdChange; txt= qtn_msk_change;} |
|
162 }; |
|
163 } |
|
164 |
|
165 // --------------------------------------------------------- |
|
166 // |
|
167 // r_settings |
|
168 // |
|
169 // settings list - collection of all setting types |
|
170 // |
|
171 // --------------------------------------------------------- |
|
172 // |
|
173 RESOURCE LISTBOX r_gs_xdm_main_list |
|
174 { |
|
175 flags = EAknListBoxSelectionList; |
|
176 } |
|
177 |
|
178 |
|
179 // --------------------------------------------------------- |
|
180 // |
|
181 // r_settings |
|
182 // |
|
183 // settings list - collection of all setting types |
|
184 // |
|
185 // --------------------------------------------------------- |
|
186 // |
|
187 |
|
188 RESOURCE AVKON_SETTING_ITEM_LIST r_settings |
|
189 { |
|
190 flags = EAknSettingItemIncludeHiddenInOrdinal; |
|
191 title = qtn_xdm_title; |
|
192 items = |
|
193 { |
|
194 AVKON_SETTING_ITEM |
|
195 { |
|
196 identifier = ESettingItemSettingName; |
|
197 setting_page_resource = r_server_name_editor_page; |
|
198 name = qtn_xdm_settings_set_name; |
|
199 compulsory_ind_string = qtn_xdm_compulsory_indicator; |
|
200 empty_item_text = qtn_xdm_settings_must_define; |
|
201 }, |
|
202 AVKON_SETTING_ITEM |
|
203 { |
|
204 identifier = ESettingItemAccessPoint; |
|
205 setting_page_resource = r_accesspoint_editor_page; |
|
206 name = qtn_xdm_settings_access_point; |
|
207 compulsory_ind_string = qtn_xdm_compulsory_indicator; |
|
208 empty_item_text = qtn_xdm_settings_must_define; |
|
209 }, |
|
210 AVKON_SETTING_ITEM |
|
211 { |
|
212 identifier = ESettingItemServerAddress; |
|
213 setting_page_resource = r_server_address_editor_page; |
|
214 name = qtn_xdm_settings_address; |
|
215 compulsory_ind_string = qtn_xdm_compulsory_indicator; |
|
216 empty_item_text = qtn_xdm_settings_must_define; |
|
217 }, |
|
218 AVKON_SETTING_ITEM |
|
219 { |
|
220 identifier = ESettingItemSipURL; |
|
221 setting_page_resource = r_sip_url_editor_page; |
|
222 name = qtn_xdm_settings_sip; |
|
223 }, |
|
224 AVKON_SETTING_ITEM |
|
225 { |
|
226 identifier = ESettingItemUserID; |
|
227 setting_page_resource = r_user_id_editor_page; |
|
228 name = qtn_xdm_settings_username; |
|
229 compulsory_ind_string = qtn_xdm_compulsory_indicator; |
|
230 empty_item_text = qtn_xdm_settings_must_define; |
|
231 }, |
|
232 AVKON_SETTING_ITEM |
|
233 { |
|
234 identifier = ESettingItemPassword; |
|
235 setting_page_resource = r_password_editor_page; |
|
236 name = qtn_xdm_settings_password; |
|
237 empty_item_text = qtn_xdm_text_password; |
|
238 } |
|
239 }; |
|
240 } |
|
241 |
|
242 // --------------------------------------------------------- |
|
243 // |
|
244 // Settings Pages |
|
245 // |
|
246 // defines the AVKON_SETTING_PAGE structures referred to in |
|
247 // setting_page_resource fields above. |
|
248 // |
|
249 // These structures define the way in which the editors used |
|
250 // to change the setting data are presented. |
|
251 // |
|
252 // --------------------------------------------------------- |
|
253 // |
|
254 RESOURCE AVKON_SETTING_PAGE r_server_name_editor_page |
|
255 { |
|
256 label= qtn_xdm_settings_set_name; |
|
257 type = EEikCtEdwin; |
|
258 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
259 invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL; |
|
260 editor_resource_id = r_server_name_editor; |
|
261 } |
|
262 |
|
263 RESOURCE AVKON_SETTING_PAGE r_server_address_editor_page |
|
264 { |
|
265 label= qtn_xdm_settings_address; |
|
266 type = EEikCtEdwin; |
|
267 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
268 invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL; |
|
269 editor_resource_id = r_server_address_editor; |
|
270 } |
|
271 |
|
272 |
|
273 RESOURCE AVKON_SETTING_PAGE r_accesspoint_editor_page |
|
274 { |
|
275 label= qtn_xdm_settings_access_point; |
|
276 type = EEikCtEdwin; |
|
277 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
278 invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL; |
|
279 editor_resource_id = r_accesspoint_editor; |
|
280 } |
|
281 |
|
282 RESOURCE AVKON_SETTING_PAGE r_sip_url_editor_page |
|
283 { |
|
284 label= qtn_xdm_settings_sip; |
|
285 type = EEikCtEdwin; |
|
286 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
287 invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL; |
|
288 editor_resource_id = r_sip_url_editor; |
|
289 } |
|
290 |
|
291 RESOURCE AVKON_SETTING_PAGE r_user_id_editor_page |
|
292 { |
|
293 label= qtn_xdm_settings_username; |
|
294 type = EEikCtEdwin; |
|
295 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
296 invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL; |
|
297 editor_resource_id = r_user_id_editor; |
|
298 } |
|
299 |
|
300 RESOURCE AVKON_SETTING_PAGE r_password_editor_page |
|
301 { |
|
302 label= qtn_xdm_settings_password; |
|
303 type = EEikCtSecretEd; |
|
304 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
305 invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL; |
|
306 editor_resource_id = r_password_editor; |
|
307 } |
|
308 |
|
309 RESOURCE EDWIN r_user_id_editor |
|
310 { |
|
311 flags = EEikEdwinAutoSelection | EAknEditorLowerCase | EEikEdwinNoLineOrParaBreaks; |
|
312 allowed_case_modes = EAknEditorLowerCase | EAknEditorUpperCase; |
|
313 numeric_keymap=EAknEditorCalculatorNumberModeKeymap; |
|
314 allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode; |
|
315 default_input_mode = EAknEditorTextInputMode; |
|
316 special_character_table = R_AVKON_URL_SPECIAL_CHARACTER_TABLE_DIALOG; |
|
317 default_case = EAknEditorLowerCase; |
|
318 avkon_flags = EAknEditorFlagLatinInputModesOnly; |
|
319 width = 0; |
|
320 lines = 0; |
|
321 maxlength = KMaxUserIDLength; |
|
322 } |
|
323 |
|
324 RESOURCE SECRETED r_password_editor |
|
325 { |
|
326 num_letters = KMaxPasswordLength; |
|
327 } |
|
328 |
|
329 RESOURCE EDWIN r_server_address_editor |
|
330 { |
|
331 flags = EEikEdwinAutoSelection | EAknEditorLowerCase | EEikEdwinNoLineOrParaBreaks; |
|
332 allowed_case_modes = EAknEditorLowerCase | EAknEditorUpperCase; |
|
333 numeric_keymap=EAknEditorCalculatorNumberModeKeymap; |
|
334 allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode; |
|
335 default_input_mode = EAknEditorTextInputMode; |
|
336 special_character_table = R_AVKON_URL_SPECIAL_CHARACTER_TABLE_DIALOG; |
|
337 default_case = EAknEditorLowerCase; |
|
338 avkon_flags = EAknEditorFlagLatinInputModesOnly; |
|
339 width = 0; |
|
340 lines = 0; |
|
341 maxlength = KMaxServerAddressLength; |
|
342 } |
|
343 |
|
344 RESOURCE EDWIN r_accesspoint_editor |
|
345 { |
|
346 maxlength = KMaxAccessPointNameLength; |
|
347 } |
|
348 |
|
349 RESOURCE EDWIN r_server_name_editor |
|
350 { |
|
351 width = 0; |
|
352 lines = 0; |
|
353 flags = EEikEdwinNoLineOrParaBreaks; |
|
354 maxlength = KMaxSettingSetNameLength; |
|
355 } |
|
356 |
|
357 RESOURCE EDWIN r_sip_url_editor |
|
358 { |
|
359 width = 0; |
|
360 lines = 0; |
|
361 maxlength = KMaxSIPURLLength; |
|
362 } |
|
363 |
|
364 |
|
365 RESOURCE DIALOG r_confirmation_query |
|
366 { |
|
367 flags = EGeneralQueryFlags; |
|
368 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
369 items= |
|
370 { |
|
371 DLG_LINE |
|
372 { |
|
373 type = EAknCtQuery; |
|
374 id = EGeneralQuery; |
|
375 control = AVKON_CONFIRMATION_QUERY |
|
376 { |
|
377 layout =EConfirmationQueryLayout; |
|
378 }; |
|
379 } |
|
380 }; |
|
381 } |
|
382 |
|
383 //---------------------------------------------------- |
|
384 // |
|
385 // string resouces |
|
386 // the strings can be localized in loc file |
|
387 // |
|
388 //---------------------------------------------------- |
|
389 // |
|
390 RESOURCE TBUF r_str_xdm_settings { buf = qtn_xdm_title; } |
|
391 RESOURCE TBUF r_str_xdm_compulsory { buf = qtn_selec_setting_compulsory; } |
|
392 RESOURCE TBUF r_str_xdm_must_define { buf = qtn_poc_settings_must_define; } |
|
393 RESOURCE TBUF r_str_xdm_use_existing { buf = qtn_xdm_propmt_use_exist; } |
|
394 RESOURCE TBUF r_str_xdm_empty_text { buf = qtn_xdm_main_empty_info_text; } |
|
395 RESOURCE TBUF r_str_xdm_empty_text_sec { buf = qtn_xdm_main_empty_info_text_secondary; } |
|
396 RESOURCE TBUF r_str_xdm_new_set { buf = qtn_xdm_text_new_set; } |
|
397 RESOURCE TBUF r_str_xdm_new_set_many { buf = qtn_xdm_text_new_set_many; } |
|
398 RESOURCE TBUF r_str_xdm_conf_delete_last { buf = qtn_xdm_conf_delete_last; } |
|
399 RESOURCE TBUF r_str_xdm_conf_delete { buf = qtn_query_common_conf_delete; } |
|
400 RESOURCE TBUF r_str_xdm_conf_compulsory { buf = qtn_xdm_compulsory_query_info_text; } |
|
401 RESOURCE TBUF r_str_xdm_title_pane_text { buf = qtn_xdm_title; } |
|
402 RESOURCE TBUF r_str_xdm_name_already_exist { buf = qtn_xdm_set_already_exist_info; } |
|
403 RESOURCE TBUF r_str_xdm_ap_name_for_debug_only { buf = qtn_xdm_settings_access_point;} |
|
404 |
|
405 // ****** PDATA RESOURCES END ****** |
|
406 //End of File |
|