1 /* |
|
2 * Copyright (c) 2007-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: Resource definitions for AppMngr2 GS Settings plugin |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 NAME AMGS |
|
20 |
|
21 #include <eikon.rh> |
|
22 #include <avkon.rsg> |
|
23 #include <avkon.rh> |
|
24 #include <data_caging_paths_strings.hrh> |
|
25 #include <appinfo.rh> |
|
26 #include "appmngr2.hrh" // Command IDs |
|
27 #include <appmngr2.loc> // UI strings |
|
28 #include <avkon.loc> // UI strings |
|
29 #include <appmngrgsplugin.loc> |
|
30 |
|
31 RESOURCE RSS_SIGNATURE { } |
|
32 |
|
33 // --------------------------------------------------------------------------- |
|
34 // R_APPMNGR2_SETTINGS_VIEW |
|
35 // --------------------------------------------------------------------------- |
|
36 // |
|
37 RESOURCE AVKON_VIEW r_appmngr2_settings_view |
|
38 { |
|
39 menubar = r_appmngr2_settigs_menubar; |
|
40 cba = r_appmngr2_cba_options_back_change; |
|
41 } |
|
42 |
|
43 // --------------------------------------------------------------------------- |
|
44 // R_APPMNGR2_SETTIGS_MENUBAR |
|
45 // --------------------------------------------------------------------------- |
|
46 // |
|
47 RESOURCE MENU_BAR r_appmngr2_settigs_menubar |
|
48 { |
|
49 titles = |
|
50 { |
|
51 MENU_TITLE { menu_pane = r_appmngr2_settings_menu; } |
|
52 }; |
|
53 } |
|
54 |
|
55 // --------------------------------------------------------------------------- |
|
56 // R_APPMNGR2_SETTINGS_MENU |
|
57 // --------------------------------------------------------------------------- |
|
58 // |
|
59 RESOURCE MENU_PANE r_appmngr2_settings_menu |
|
60 { |
|
61 items= |
|
62 { |
|
63 MENU_ITEM |
|
64 { |
|
65 command = EAppMngr2CmdChange; |
|
66 txt = qtn_options_change; |
|
67 flags = EEikMenuItemSpecific; |
|
68 }, |
|
69 MENU_ITEM |
|
70 { |
|
71 command = EAknCmdHelp; |
|
72 txt = qtn_options_help; |
|
73 }, |
|
74 MENU_ITEM |
|
75 { |
|
76 command = EAknCmdExit; |
|
77 txt = qtn_options_exit; |
|
78 } |
|
79 }; |
|
80 } |
|
81 |
|
82 // --------------------------------------------------------------------------- |
|
83 // R_APPMNGR2_CBA_OPTIONS_BACK_CHANGE |
|
84 // --------------------------------------------------------------------------- |
|
85 // |
|
86 RESOURCE CBA r_appmngr2_cba_options_back_change |
|
87 { |
|
88 buttons = |
|
89 { |
|
90 CBA_BUTTON |
|
91 { |
|
92 id = EAknSoftkeyOptions; |
|
93 txt = text_softkey_option; |
|
94 }, |
|
95 CBA_BUTTON |
|
96 { |
|
97 id = EAknSoftkeyBack; |
|
98 txt = text_softkey_back; |
|
99 }, |
|
100 CBA_BUTTON |
|
101 { |
|
102 id = EAknSoftkeyChange; |
|
103 txt = qtn_msk_change; |
|
104 } |
|
105 }; |
|
106 } |
|
107 |
|
108 // --------------------------------------------------------------------------- |
|
109 // R_APPMNGR2_SETTING_ARRAY |
|
110 // --------------------------------------------------------------------------- |
|
111 // |
|
112 RESOURCE ARRAY r_appmngr2_setting_array |
|
113 { |
|
114 items = |
|
115 { |
|
116 LBUF { txt = " \t"qtn_am_setting_sw_install"\t\t"; }, |
|
117 LBUF { txt = " \t"qtn_am_setting_ocsp"\t\t"; }, |
|
118 LBUF { txt = " \t"qtn_am_setting_ocsp_url"\t\t"; } |
|
119 }; |
|
120 } |
|
121 |
|
122 // --------------------------------------------------------------------------- |
|
123 // R_APPMNGR2_ALLOW_UNTRUSTED_VALUE_ARRAY |
|
124 // --------------------------------------------------------------------------- |
|
125 // |
|
126 RESOURCE ARRAY r_appmngr2_allow_untrusted_value_array |
|
127 { |
|
128 items = |
|
129 { |
|
130 LBUF { txt = qtn_am_set_sw_install_signed; }, |
|
131 LBUF { txt = qtn_am_set_sw_install_all; } |
|
132 }; |
|
133 } |
|
134 |
|
135 // --------------------------------------------------------------------------- |
|
136 // R_APPMNGR2_SET_PAGE_ALLOW_UNTRUSTED |
|
137 // --------------------------------------------------------------------------- |
|
138 // |
|
139 RESOURCE AVKON_SETTING_PAGE r_appmngr2_set_page_allow_untrusted |
|
140 { |
|
141 label = qtn_am_setting_sw_install; |
|
142 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
143 type = EAknSetListBox; |
|
144 editor_resource_id = r_appmngr2_ocsp_editor; |
|
145 } |
|
146 |
|
147 // --------------------------------------------------------------------------- |
|
148 // R_APPMNGR2_OCSP_CHECK_VALUE_ARRAY |
|
149 // --------------------------------------------------------------------------- |
|
150 // |
|
151 RESOURCE ARRAY r_appmngr2_ocsp_check_value_array |
|
152 { |
|
153 items = |
|
154 { |
|
155 LBUF { txt = qtn_am_set_ocsp_must_pass; }, |
|
156 LBUF { txt = qtn_am_set_ocsp_on; }, |
|
157 LBUF { txt = qtn_am_set_ocsp_off; } |
|
158 }; |
|
159 } |
|
160 |
|
161 // --------------------------------------------------------------------------- |
|
162 // R_APPMNGR2_OCSP_CHECK_PAGE |
|
163 // --------------------------------------------------------------------------- |
|
164 // |
|
165 RESOURCE AVKON_SETTING_PAGE r_appmngr2_ocsp_check_page |
|
166 { |
|
167 label = qtn_am_setting_ocsp; |
|
168 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
169 type = EAknSetListBox; |
|
170 editor_resource_id = r_appmngr2_ocsp_editor; |
|
171 } |
|
172 |
|
173 // --------------------------------------------------------------------------- |
|
174 // R_APPMNGR2_OCSP_EDITOR |
|
175 // --------------------------------------------------------------------------- |
|
176 // |
|
177 RESOURCE LISTBOX r_appmngr2_ocsp_editor |
|
178 { |
|
179 flags = EEikListBoxMultipleSelection; |
|
180 } |
|
181 |
|
182 // --------------------------------------------------------------------------- |
|
183 // R_APPMNGR2_OCSP_URL_SETTING_PAGE |
|
184 // --------------------------------------------------------------------------- |
|
185 // |
|
186 RESOURCE AVKON_SETTING_PAGE r_appmngr2_ocsp_url_setting_page |
|
187 { |
|
188 number = EAknSettingPageNoOrdinalDisplayed; |
|
189 label = qtn_am_setting_ocsp_url; |
|
190 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
191 type = EEikCtEdwin; |
|
192 editor_resource_id = r_appmngr2_url_editor; |
|
193 } |
|
194 |
|
195 // --------------------------------------------------------------------------- |
|
196 // R_APPMNGR2_URL_EDITOR |
|
197 // --------------------------------------------------------------------------- |
|
198 // |
|
199 RESOURCE EDWIN r_appmngr2_url_editor |
|
200 { |
|
201 width = KAppMngr2OcspUrlControlWidth; |
|
202 lines = KAppMngr2OcspUrlControlLines; |
|
203 maxlength = KAppMngr2MaxOcspUrlLength; |
|
204 numeric_keymap = EAknEditorCalculatorNumberModeKeymap; |
|
205 allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode; |
|
206 default_input_mode = EAknEditorTextInputMode; |
|
207 special_character_table = R_AVKON_URL_SPECIAL_CHARACTER_TABLE_DIALOG; |
|
208 default_case = EAknEditorLowerCase; |
|
209 flags = EEikEdwinAutoSelection | EAknEditorLowerCase | EEikEdwinNoLineOrParaBreaks; |
|
210 avkon_flags = EAknEditorFlagNoT9 | EAknEditorFlagLatinInputModesOnly; |
|
211 } |
|
212 |
|
213 // --------------------------------------------------------------------------- |
|
214 // TBUF resources |
|
215 // --------------------------------------------------------------------------- |
|
216 // |
|
217 RESOURCE TBUF r_set_folder_application_manager |
|
218 { |
|
219 buf = qtn_cp_folder_installation_settings; |
|
220 } |
|
221 |
|
222 RESOURCE TBUF r_am_installation_settings_title |
|
223 { |
|
224 buf = qtn_am_installation_settings_title; |
|
225 } |
|
226 |
|
227 RESOURCE TBUF r_am_note_locked_settigs |
|
228 { |
|
229 buf = qtn_am_note_locked_settings; |
|
230 } |
|
231 |
|
232 RESOURCE TBUF r_am_set_ocsp_none |
|
233 { |
|
234 buf = qtn_selec_sett_val_field_none; |
|
235 } |
|
236 |
|