1 /* |
|
2 * Copyright (c) 2007-2008 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 project AiPlugin |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 NAME WLPL |
|
21 |
|
22 #include <eikon.rh> |
|
23 #include <eikon.rsg> |
|
24 #include <avkon.rh> |
|
25 #include <avkon.rsg> |
|
26 #include <avkon.hrh> |
|
27 #include <avkon.loc> |
|
28 |
|
29 #include <wsfaiplugin.loc> |
|
30 #include <wsfmainapplication.loc> |
|
31 |
|
32 |
|
33 RESOURCE RSS_SIGNATURE { } |
|
34 |
|
35 |
|
36 RESOURCE TBUF16 { buf=""; } |
|
37 |
|
38 |
|
39 |
|
40 // -------------------------------------------------------------------------- |
|
41 // Localised strings |
|
42 // -------------------------------------------------------------------------- |
|
43 // |
|
44 RESOURCE TBUF r_qtn_sniffer_plug_in_refreshing |
|
45 { |
|
46 buf = qtn_sniffer_plug_in_refreshing; |
|
47 } |
|
48 |
|
49 RESOURCE TBUF r_qtn_sniffer_plug_in_connecting |
|
50 { |
|
51 buf = qtn_sniffer_plug_in_connecting; |
|
52 } |
|
53 |
|
54 RESOURCE TBUF r_qtn_status_no_wlans_available |
|
55 { |
|
56 buf = qtn_sniffer_plug_in_no_wlans_found; |
|
57 } |
|
58 |
|
59 RESOURCE TBUF r_qtn_sniffer_plug_in_scanning_off |
|
60 { |
|
61 buf = qtn_sniffer_plug_in_scanning_off; |
|
62 } |
|
63 |
|
64 RESOURCE TBUF r_qtn_sniffer_plug_in_ssid_found |
|
65 { |
|
66 buf = qtn_sniffer_plug_in_ssid_found; |
|
67 } |
|
68 |
|
69 RESOURCE TBUF r_qtn_sniffer_plug_in_unknown_ssid_found |
|
70 { |
|
71 buf = qtn_sniffer_plug_in_unknown_wlan_found; |
|
72 } |
|
73 |
|
74 RESOURCE TBUF r_qtn_sniffer_plug_in_unknown_ssids_found |
|
75 { |
|
76 buf = qtn_sniffer_plug_in_unknown_wlans_found; |
|
77 } |
|
78 |
|
79 RESOURCE TBUF r_qtn_sniffer_plug_in_connected_to_ssid |
|
80 { |
|
81 buf = qtn_sniffer_plug_in_iap_connected; |
|
82 } |
|
83 |
|
84 RESOURCE TBUF r_qtn_wlan_manual_ssid_input |
|
85 { |
|
86 buf = qtn_wlan_manual_ssid_input; |
|
87 } |
|
88 |
|
89 RESOURCE TBUF r_qtn_msk_sniffer_activate |
|
90 { |
|
91 buf = qtn_msk_sniffer_activate; |
|
92 } |
|
93 |
|
94 RESOURCE TBUF r_qtn_ai_wizard_title |
|
95 { |
|
96 buf = qtn_ai_wizard_title; |
|
97 } |
|
98 |
|
99 RESOURCE TBUF r_qtn_wlan_info_no_networks_found |
|
100 { |
|
101 buf = qtn_wlan_info_no_networks_found; |
|
102 } |
|
103 |
|
104 RESOURCE TBUF r_qtn_wlan_info_connection_already_active |
|
105 { |
|
106 buf = qtn_wlan_info_connection_already_active; |
|
107 } |
|
108 |
|
109 RESOURCE TBUF r_qtn_sniffer_plug_in_connected_to |
|
110 { |
|
111 buf = qtn_sniffer_plug_in_connected_to; |
|
112 } |
|
113 |
|
114 RESOURCE TBUF r_qtn_sniffer_plug_in_wlan_network_found |
|
115 { |
|
116 buf = qtn_sniffer_plug_in_wlan_network_found; |
|
117 } |
|
118 |
|
119 RESOURCE TBUF r_ssid |
|
120 { |
|
121 buf = L"'%U[16]'"; |
|
122 } |
|
123 |
|
124 |
|
125 // -------------------------------------------------------------------------- |
|
126 // r_qtn_aiplugin_options_offline_items |
|
127 // Options menu items for 'Offline' state |
|
128 // -------------------------------------------------------------------------- |
|
129 // |
|
130 RESOURCE ARRAY r_qtn_aiplugin_options_offline_items |
|
131 { |
|
132 items = |
|
133 { |
|
134 LBUF |
|
135 { |
|
136 txt = qtn_sniffer_opt_start_web_browsing; |
|
137 }, |
|
138 LBUF |
|
139 { |
|
140 txt = qtn_sniffer_opt_connect; |
|
141 }, |
|
142 LBUF |
|
143 { |
|
144 txt = qtn_sniffer_plug_in_options_search_wlan_networks; |
|
145 }, |
|
146 LBUF |
|
147 { |
|
148 txt = qtn_sniffer_opt_set_scanning_off; |
|
149 } |
|
150 }; |
|
151 } |
|
152 |
|
153 |
|
154 // -------------------------------------------------------------------------- |
|
155 // r_qtn_aiplugin_options_connected_items |
|
156 // Options menu items for 'Connected' state |
|
157 // -------------------------------------------------------------------------- |
|
158 // |
|
159 RESOURCE ARRAY r_qtn_aiplugin_options_connected_items |
|
160 { |
|
161 items = |
|
162 { |
|
163 LBUF |
|
164 { |
|
165 txt = qtn_sniffer_opt_start_web_browsing; |
|
166 }, |
|
167 LBUF |
|
168 { |
|
169 txt = qtn_sniffer_opt_disconnect_wlan; |
|
170 } |
|
171 }; |
|
172 } |
|
173 |
|
174 |
|
175 // -------------------------------------------------------------------------- |
|
176 // r_qtn_aiplugin_options_connecting_items |
|
177 // Options menu items for 'Connecting' state |
|
178 // -------------------------------------------------------------------------- |
|
179 // |
|
180 RESOURCE ARRAY r_qtn_aiplugin_options_connecting_items |
|
181 { |
|
182 items = |
|
183 { |
|
184 LBUF |
|
185 { |
|
186 txt = qtn_sniffer_opt_disconnect_wlan; |
|
187 } |
|
188 }; |
|
189 } |
|
190 |
|
191 |
|
192 // -------------------------------------------------------------------------- |
|
193 // r_qtn_aiplugin_options_browsing_items |
|
194 // Options menu items for 'Browsing' state |
|
195 // -------------------------------------------------------------------------- |
|
196 // |
|
197 RESOURCE ARRAY r_qtn_aiplugin_options_browsing_items |
|
198 { |
|
199 items = |
|
200 { |
|
201 LBUF |
|
202 { |
|
203 txt = qtn_sniffer_opt_continue_web_browsing; |
|
204 }, |
|
205 LBUF |
|
206 { |
|
207 txt = qtn_sniffer_opt_disconnect_wlan; |
|
208 } |
|
209 }; |
|
210 } |
|
211 |
|
212 |
|
213 // -------------------------------------------------------------------------- |
|
214 // r_qtn_aiplugin_options_offline |
|
215 // Options menu in 'Offline' state |
|
216 // -------------------------------------------------------------------------- |
|
217 // |
|
218 RESOURCE AVKON_LIST_QUERY r_qtn_aiplugin_options_offline |
|
219 { |
|
220 flags = EGeneralQueryFlags; |
|
221 softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT; |
|
222 items = |
|
223 { |
|
224 AVKON_LIST_QUERY_DLG_LINE |
|
225 { |
|
226 control = AVKON_LIST_QUERY_CONTROL |
|
227 { |
|
228 listtype = EAknCtSinglePopupMenuListBox; |
|
229 listbox = AVKON_LIST_QUERY_LIST |
|
230 { |
|
231 array_id = r_qtn_aiplugin_options_offline_items; |
|
232 }; |
|
233 }; |
|
234 } |
|
235 }; |
|
236 } |
|
237 |
|
238 |
|
239 // -------------------------------------------------------------------------- |
|
240 // r_qtn_aiplugin_options_connected |
|
241 // Options menu in 'Connected' state |
|
242 // -------------------------------------------------------------------------- |
|
243 // |
|
244 RESOURCE AVKON_LIST_QUERY r_qtn_aiplugin_options_connected |
|
245 { |
|
246 flags = EGeneralQueryFlags; |
|
247 softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT; |
|
248 items = |
|
249 { |
|
250 AVKON_LIST_QUERY_DLG_LINE |
|
251 { |
|
252 control = AVKON_LIST_QUERY_CONTROL |
|
253 { |
|
254 listtype = EAknCtSinglePopupMenuListBox; |
|
255 listbox = AVKON_LIST_QUERY_LIST |
|
256 { |
|
257 array_id = r_qtn_aiplugin_options_connected_items; |
|
258 }; |
|
259 }; |
|
260 } |
|
261 }; |
|
262 } |
|
263 |
|
264 |
|
265 // -------------------------------------------------------------------------- |
|
266 // r_qtn_aiplugin_options_connecting |
|
267 // Options menu in 'Connecting' state |
|
268 // -------------------------------------------------------------------------- |
|
269 // |
|
270 RESOURCE AVKON_LIST_QUERY r_qtn_aiplugin_options_connecting |
|
271 { |
|
272 flags = EGeneralQueryFlags; |
|
273 softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT; |
|
274 items = |
|
275 { |
|
276 AVKON_LIST_QUERY_DLG_LINE |
|
277 { |
|
278 control = AVKON_LIST_QUERY_CONTROL |
|
279 { |
|
280 listtype = EAknCtSinglePopupMenuListBox; |
|
281 listbox = AVKON_LIST_QUERY_LIST |
|
282 { |
|
283 array_id = r_qtn_aiplugin_options_connecting_items; |
|
284 }; |
|
285 }; |
|
286 } |
|
287 }; |
|
288 } |
|
289 |
|
290 |
|
291 // -------------------------------------------------------------------------- |
|
292 // r_qtn_aiplugin_options_browsing |
|
293 // Options menu in 'Browsing' state |
|
294 // -------------------------------------------------------------------------- |
|
295 // |
|
296 RESOURCE AVKON_LIST_QUERY r_qtn_aiplugin_options_browsing |
|
297 { |
|
298 flags = EGeneralQueryFlags; |
|
299 softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT; |
|
300 items = |
|
301 { |
|
302 AVKON_LIST_QUERY_DLG_LINE |
|
303 { |
|
304 control = AVKON_LIST_QUERY_CONTROL |
|
305 { |
|
306 listtype = EAknCtSinglePopupMenuListBox; |
|
307 listbox = AVKON_LIST_QUERY_LIST |
|
308 { |
|
309 array_id = r_qtn_aiplugin_options_browsing_items; |
|
310 }; |
|
311 }; |
|
312 } |
|
313 }; |
|
314 } |
|
315 |
|
316 |
|
317 // -------------------------------------------------------------------------- |
|
318 // r_qtn_plugin_search_wlan_networks |
|
319 // Search for wlan networks query |
|
320 // -------------------------------------------------------------------------- |
|
321 // |
|
322 RESOURCE AVKON_LIST_QUERY r_qtn_plugin_search_wlan_networks |
|
323 { |
|
324 flags = EGeneralQueryFlags; |
|
325 softkeys = r_qtn_plugin_search_wlan_network_buttons; |
|
326 items = |
|
327 { |
|
328 AVKON_LIST_QUERY_DLG_LINE |
|
329 { |
|
330 control = AVKON_LIST_QUERY_CONTROL |
|
331 { |
|
332 listtype = EAknCtSingleGraphicPopupMenuListBox; |
|
333 heading = qtn_wlan_prmpt_select_network; |
|
334 listbox = AVKON_LIST_QUERY_LIST |
|
335 { |
|
336 }; |
|
337 }; |
|
338 } |
|
339 }; |
|
340 } |
|
341 |
|
342 |
|
343 // -------------------------------------------------------------------------- |
|
344 // r_qtn_plugin_search_wlan_network_buttons |
|
345 // CBA buttons for search for wlan networks query |
|
346 // -------------------------------------------------------------------------- |
|
347 // |
|
348 RESOURCE CBA r_qtn_plugin_search_wlan_network_buttons |
|
349 { |
|
350 buttons = |
|
351 { |
|
352 CBA_BUTTON { id = EEikBidOk; txt = qtn_sniffer_softkey_connect; }, |
|
353 CBA_BUTTON { id = EEikBidCancel; txt = text_softkey_cancel; }, |
|
354 CBA_BUTTON { id = EEikBidOk; txt = ""; } |
|
355 }; |
|
356 } |
|
357 |
|
358 |
|
359 //---------------------------------------------------------------------------- |
|
360 // r_restart_browsing_confirmation_query |
|
361 // Query to restart browser with WLAN |
|
362 //---------------------------------------------------------------------------- |
|
363 RESOURCE DIALOG r_restart_browsing_confirmation_query |
|
364 { |
|
365 flags=EGeneralQueryFlags; |
|
366 buttons=R_AVKON_SOFTKEYS_YES_NO__YES; |
|
367 items= |
|
368 { |
|
369 DLG_LINE |
|
370 { |
|
371 type=EAknCtQuery; |
|
372 id = EGeneralQuery; |
|
373 control= AVKON_CONFIRMATION_QUERY |
|
374 { |
|
375 layout = EConfirmationQueryLayout; |
|
376 }; |
|
377 } |
|
378 }; |
|
379 } |
|
380 |
|
381 |
|