|
1 /* |
|
2 * Copyright (c) 2006 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: |
|
15 * Resource file for APControlListPlugin |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 // RESOURCE IDENTIFIER |
|
21 NAME APCL |
|
22 |
|
23 // INCLUDES |
|
24 #include <eikon.rh> |
|
25 #include <eikon.rsg> |
|
26 #include <avkon.rh> |
|
27 #include <avkon.rsg> |
|
28 #include <avkon.loc> |
|
29 |
|
30 #include "apcontrollistplugin.hrh" |
|
31 #include <apcontrollistplugin.loc> |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 // MACROS |
|
37 |
|
38 // RESOURCE DEFINITIONS |
|
39 RESOURCE RSS_SIGNATURE |
|
40 { |
|
41 } |
|
42 |
|
43 RESOURCE TBUF |
|
44 { |
|
45 buf = "apnlist"; |
|
46 } |
|
47 |
|
48 //---------------------------------------------------- |
|
49 // |
|
50 // r_apclplugin_title |
|
51 // |
|
52 // |
|
53 //---------------------------------------------------- |
|
54 // |
|
55 RESOURCE TBUF r_apclplugin_title |
|
56 { |
|
57 buf = qtn_acl_title; |
|
58 } |
|
59 |
|
60 //---------------------------------------------------- |
|
61 // |
|
62 // r_qtn_acl_navi_active |
|
63 // |
|
64 // |
|
65 //---------------------------------------------------- |
|
66 // |
|
67 RESOURCE TBUF r_qtn_acl_navi_active |
|
68 { |
|
69 buf = qtn_acl_navi_active ; |
|
70 } |
|
71 |
|
72 //---------------------------------------------------- |
|
73 // |
|
74 // r_qtn_acl_navi_not_active |
|
75 // |
|
76 // |
|
77 //---------------------------------------------------- |
|
78 // |
|
79 RESOURCE TBUF r_qtn_acl_navi_not_active |
|
80 { |
|
81 buf = qtn_acl_navi_not_active ; |
|
82 } |
|
83 |
|
84 //---------------------------------------------------- |
|
85 // |
|
86 // r_qtn_acl_empty_view_primary |
|
87 // |
|
88 // |
|
89 //---------------------------------------------------- |
|
90 // |
|
91 RESOURCE TBUF r_qtn_acl_empty_view_primary |
|
92 { |
|
93 buf = qtn_acl_empty_view_primary ; |
|
94 } |
|
95 |
|
96 //---------------------------------------------------- |
|
97 // |
|
98 // qtn_acl_empty_view_secondary |
|
99 // |
|
100 // |
|
101 //---------------------------------------------------- |
|
102 // |
|
103 RESOURCE TBUF r_qtn_acl_empty_view_secondary |
|
104 { |
|
105 buf = qtn_acl_empty_view_secondary ; |
|
106 } |
|
107 |
|
108 //---------------------------------------------------- |
|
109 // |
|
110 // r_qtn_acl_wait_reading_sim |
|
111 // |
|
112 // |
|
113 //---------------------------------------------------- |
|
114 // |
|
115 RESOURCE TBUF r_qtn_acl_wait_reading_sim |
|
116 { |
|
117 buf = qtn_acl_wait_reading_sim; |
|
118 } |
|
119 |
|
120 //---------------------------------------------------- |
|
121 // |
|
122 // r_qtn_acl_network_provided_apn |
|
123 // |
|
124 // |
|
125 //---------------------------------------------------- |
|
126 // |
|
127 RESOURCE TBUF r_qtn_acl_network_provided_apn |
|
128 { |
|
129 buf = qtn_acl_network_provided_apn; |
|
130 } |
|
131 |
|
132 //---------------------------------------------------- |
|
133 // |
|
134 // r_qtn_acl_conf_control_activated |
|
135 // |
|
136 //---------------------------------------------------- |
|
137 // |
|
138 RESOURCE TBUF r_qtn_acl_conf_control_activated { buf = qtn_acl_conf_control_activated ; } |
|
139 |
|
140 //---------------------------------------------------- |
|
141 // |
|
142 // r_qtn_acl_conf_control_deactivated |
|
143 // |
|
144 //---------------------------------------------------- |
|
145 // |
|
146 RESOURCE TBUF r_qtn_acl_conf_control_deactivated { buf = qtn_acl_conf_control_deactivated ; } |
|
147 |
|
148 //---------------------------------------------------- |
|
149 // |
|
150 // r_qtn_acl_info_active |
|
151 // |
|
152 //---------------------------------------------------- |
|
153 // |
|
154 RESOURCE TBUF r_qtn_acl_info_active { buf = qtn_acl_info_active ; } |
|
155 |
|
156 //---------------------------------------------------- |
|
157 // |
|
158 // r_qtn_acl_info_not_active |
|
159 // |
|
160 //---------------------------------------------------- |
|
161 // |
|
162 RESOURCE TBUF r_qtn_acl_info_not_active { buf = qtn_acl_info_not_active ; } |
|
163 |
|
164 //---------------------------------------------------- |
|
165 // |
|
166 // r_qtn_acl_err_invalid_input |
|
167 // |
|
168 //---------------------------------------------------- |
|
169 // |
|
170 RESOURCE TBUF r_qtn_acl_err_invalid_input { buf = qtn_acl_err_invalid_input; } |
|
171 |
|
172 //---------------------------------------------------- |
|
173 // |
|
174 // r_qtn_acl_err_sim_card |
|
175 // |
|
176 //---------------------------------------------------- |
|
177 // |
|
178 RESOURCE TBUF r_qtn_acl_err_sim_card { buf = text_fdn_card_error; } |
|
179 |
|
180 //---------------------------------------------------- |
|
181 // |
|
182 // r_two_string_for_empty_view |
|
183 // |
|
184 //---------------------------------------------------- |
|
185 // |
|
186 RESOURCE TBUF r_two_string_for_empty_view { buf = "%0U\n%1U"; } |
|
187 |
|
188 //---------------------------------------------------- |
|
189 // |
|
190 // r_apclplugin_main_menubar |
|
191 // |
|
192 // |
|
193 //---------------------------------------------------- |
|
194 // |
|
195 RESOURCE MENU_BAR r_apclplugin_main_menubar |
|
196 { |
|
197 titles = |
|
198 { |
|
199 MENU_TITLE |
|
200 { |
|
201 menu_pane = r_apclplugin_main_menu; |
|
202 } |
|
203 }; |
|
204 } |
|
205 |
|
206 //---------------------------------------------------- |
|
207 // |
|
208 // r_apclplugin_main_menu |
|
209 // |
|
210 // |
|
211 //---------------------------------------------------- |
|
212 // |
|
213 RESOURCE MENU_PANE r_apclplugin_main_menu |
|
214 { |
|
215 items = |
|
216 { |
|
217 MENU_ITEM |
|
218 { |
|
219 command = EAPControlListCmdActivate; |
|
220 txt = qtn_acl_options_activate_control; |
|
221 }, |
|
222 MENU_ITEM |
|
223 { |
|
224 command = EAPControlListCmdDeactivate; |
|
225 txt = qtn_acl_options_deactivate_control; |
|
226 }, |
|
227 MENU_ITEM |
|
228 { |
|
229 command = EAPControlListCmdAdd; |
|
230 txt = qtn_acl_options_add_apn_manually; |
|
231 }, |
|
232 MENU_ITEM |
|
233 { |
|
234 command = EAPControlListCmdRemove; |
|
235 txt = qtn_acl_options_remove; |
|
236 flags = EEikMenuItemSpecific; |
|
237 }, |
|
238 MENU_ITEM |
|
239 { |
|
240 command = EAknCmdHelp; |
|
241 txt = qtn_options_help; |
|
242 }, |
|
243 MENU_ITEM |
|
244 { |
|
245 command = EEikCmdExit; |
|
246 txt = qtn_options_exit; |
|
247 } |
|
248 }; |
|
249 } |
|
250 |
|
251 //---------------------------------------------------- |
|
252 // |
|
253 // r_apclplugin_softkeys_options_back |
|
254 // |
|
255 // |
|
256 //---------------------------------------------------- |
|
257 // |
|
258 RESOURCE CBA r_apclplugin_softkeys_options_back |
|
259 { |
|
260 buttons = |
|
261 { |
|
262 CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;}, |
|
263 CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back;}, |
|
264 CBA_BUTTON {id=EAknSoftkeyEmpty; txt = text_softkey_empty;} |
|
265 }; |
|
266 } |
|
267 |
|
268 //---------------------------------------------------- |
|
269 // |
|
270 // r_apclplugin_main_view |
|
271 // Main view. |
|
272 // |
|
273 //---------------------------------------------------- |
|
274 // |
|
275 RESOURCE AVKON_VIEW r_apclplugin_main_view |
|
276 { |
|
277 menubar=r_apclplugin_main_menubar; |
|
278 cba=r_apclplugin_softkeys_options_back; |
|
279 } |
|
280 |
|
281 RESOURCE LISTBOX r_apcontrol_listbox |
|
282 { |
|
283 flags = EAknListBoxSelectionList; |
|
284 } |
|
285 //---------------------------------------------------- |
|
286 // |
|
287 // r_apn_name_query |
|
288 // |
|
289 // |
|
290 //---------------------------------------------------- |
|
291 // |
|
292 RESOURCE DIALOG r_apn_name_query |
|
293 { |
|
294 flags = EGeneralQueryFlags; |
|
295 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
296 items = |
|
297 { |
|
298 DLG_LINE |
|
299 { |
|
300 type = EAknCtQuery; |
|
301 id = EGeneralQuery; |
|
302 control = AVKON_DATA_QUERY |
|
303 { |
|
304 layout = EDataLayoutAllowEmptyInput; |
|
305 label = qtn_acl_prmpt_apn_to_add; |
|
306 control = EDWIN |
|
307 { |
|
308 maxlength = KMaxApnNameWitoutLabelLength; |
|
309 default_case = EAknEditorLowerCase; |
|
310 // accepts only ASCII |
|
311 flags = EEikEdwinNoWrap; |
|
312 avkon_flags = EAknEditorFlagLatinInputModesOnly; |
|
313 }; |
|
314 }; |
|
315 } |
|
316 }; |
|
317 } |
|
318 |
|
319 //---------------------------------------------------- |
|
320 // |
|
321 // r_qtn_vpn_main |
|
322 // Caption for Plugin. |
|
323 // |
|
324 //---------------------------------------------------- |
|
325 // |
|
326 RESOURCE TBUF r_qtn_acl_menu_item { buf = qtn_acl_menu_item ; } |
|
327 |
|
328 |
|
329 //End of File |