|
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: |
|
15 * This file contains all the resources for the ConnectionMonitorUi. |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 // RESOURCE IDENTIFIER |
|
22 NAME CMUI // 4 letter ID |
|
23 // |
|
24 // INCLUDES |
|
25 |
|
26 #include <connectionmonitorui.loc> |
|
27 #include <eikon.rh> |
|
28 #include "ConnectionMonitorUi.hrh" |
|
29 #include <ConnectionMonitorUi.mbg> |
|
30 #include <avkon.rsg> |
|
31 #include <avkon.rh> |
|
32 #include <avkon.mbg> |
|
33 #include <avkon.hrh> |
|
34 #include <avkon.loc> |
|
35 |
|
36 #include <appinfo.rh> |
|
37 #include <data_caging_paths_strings.hrh> |
|
38 |
|
39 // CONSTANTS |
|
40 //#define ?constant ?value |
|
41 |
|
42 // MACROS |
|
43 //#define ?macro |
|
44 |
|
45 // RESOURCE DEFINITIONS |
|
46 |
|
47 RESOURCE RSS_SIGNATURE { } |
|
48 |
|
49 RESOURCE TBUF { buf="ConnectionMonitorUi"; } |
|
50 |
|
51 RESOURCE EIK_APP_INFO |
|
52 { |
|
53 status_pane = r_connmonui_status_pane; |
|
54 } |
|
55 |
|
56 RESOURCE STATUS_PANE_APP_MODEL r_connmonui_status_pane |
|
57 { |
|
58 panes = |
|
59 { |
|
60 SPANE_PANE |
|
61 { |
|
62 id = EEikStatusPaneUidTitle; |
|
63 type = EAknCtTitlePane; |
|
64 resource = r_connmonui_title_pane; |
|
65 } |
|
66 }; |
|
67 } |
|
68 |
|
69 RESOURCE TITLE_PANE r_connmonui_title_pane |
|
70 { |
|
71 txt = qtn_cmon_title; |
|
72 } |
|
73 |
|
74 RESOURCE TBUF r_qtn_cmon_no_active_connections { buf=qtn_cmon_no_active_connections; } |
|
75 RESOURCE TBUF r_qtn_cmon_navi_one_active_conn { buf=qtn_cmon_navi_one_active_conn; } |
|
76 RESOURCE TBUF r_qtn_cmon_navi_many_active_conns { buf=qtn_cmon_navi_many_active_conns; } |
|
77 |
|
78 RESOURCE TBUF r_qtn_set_bearer_data_call { buf=qtn_set_bearer_data_call; } |
|
79 RESOURCE TBUF r_qtn_set_bearer_packet_data { buf=qtn_set_bearer_packet_data; } |
|
80 RESOURCE TBUF r_qtn_cmon_bearer_hscsd { buf=qtn_cmon_bearer_hscsd; } |
|
81 RESOURCE TBUF r_qtn_wlan_sett_bearer_wlan { buf=qtn_wlan_sett_bearer_wlan; } |
|
82 |
|
83 |
|
84 RESOURCE TBUF r_qtn_cmon_heading_conn_name { buf=qtn_cmon_heading_conn_name; } |
|
85 RESOURCE TBUF r_qtn_cmon_heading_bearer { buf=qtn_cmon_heading_bearer; } |
|
86 RESOURCE TBUF r_qtn_cmon_heading_status { buf=qtn_cmon_heading_status; } |
|
87 RESOURCE TBUF r_qtn_cmon_heading_data_total { buf=qtn_cmon_heading_data_total; } |
|
88 RESOURCE TBUF r_qtn_cmon_heading_data_received { buf=qtn_cmon_heading_data_received; } |
|
89 RESOURCE TBUF r_qtn_cmon_heading_data_sent { buf=qtn_cmon_heading_data_sent; } |
|
90 RESOURCE TBUF r_qtn_cmon_heading_duration { buf=qtn_cmon_heading_duration; } |
|
91 RESOURCE TBUF r_qtn_cmon_heading_speed { buf=qtn_cmon_heading_speed; } |
|
92 RESOURCE TBUF r_qtn_cmon_heading_csd_number { buf=qtn_cmon_heading_csd_number; } |
|
93 RESOURCE TBUF r_qtn_cmon_heading_gprs_apn { buf=qtn_cmon_heading_gprs_apn; } |
|
94 RESOURCE TBUF r_qtn_cmon_heading_sharing_info { buf=qtn_cmon_heading_sharing_info; } |
|
95 |
|
96 RESOURCE TBUF r_qtn_cmon_status_creating { buf=qtn_cmon_status_creating; } |
|
97 RESOURCE TBUF r_qtn_cmon_status_idle { buf=qtn_cmon_status_idle; } |
|
98 RESOURCE TBUF r_qtn_cmon_status_active { buf=qtn_cmon_status_active; } |
|
99 RESOURCE TBUF r_qtn_cmon_status_suspended { buf=qtn_cmon_status_suspended; } |
|
100 RESOURCE TBUF r_qtn_cmon_status_closing { buf=qtn_cmon_status_closing; } |
|
101 RESOURCE TBUF r_qtn_cmon_status_closed { buf=qtn_cmon_status_closed; } |
|
102 |
|
103 RESOURCE TBUF r_qtn_cmon_status_details_creating { buf=qtn_cmon_status_details_creating; } |
|
104 RESOURCE TBUF r_qtn_cmon_status_details_idle { buf=qtn_cmon_status_details_idle; } |
|
105 RESOURCE TBUF r_qtn_cmon_status_details_active { buf=qtn_cmon_status_details_active; } |
|
106 RESOURCE TBUF r_qtn_cmon_status_details_suspended { buf=qtn_cmon_status_details_suspended; } |
|
107 RESOURCE TBUF r_qtn_cmon_status_details_closing { buf=qtn_cmon_status_details_closing; } |
|
108 RESOURCE TBUF r_qtn_cmon_status_details_closed { buf=qtn_cmon_status_details_closed; } |
|
109 |
|
110 RESOURCE TBUF r_qtn_log_gprs_amount_b { buf=qtn_log_gprs_amount_b; } |
|
111 RESOURCE TBUF r_qtn_log_gprs_amount_kb { buf=qtn_log_gprs_amount_kb; } |
|
112 RESOURCE TBUF r_qtn_log_gprs_amount_mb { buf=qtn_log_gprs_amount_mb; } |
|
113 RESOURCE TBUF r_qtn_log_gprs_amount_gb { buf=qtn_log_gprs_amount_gb; } |
|
114 |
|
115 RESOURCE TBUF r_qtn_cmon_data_transf_rate_dl { buf=qtn_cmon_data_transf_rate_dl; } |
|
116 RESOURCE TBUF r_qtn_cmon_data_transf_rate_ul { buf=qtn_cmon_data_transf_rate_ul; } |
|
117 |
|
118 RESOURCE TBUF r_qtn_cmon_ul_dl_data_amounts { buf=qtn_cmon_ul_dl_data_amounts; } |
|
119 RESOURCE TBUF r_qtn_cmon_navi_nof_connection { buf=qtn_cmon_navi_nof_connection; } |
|
120 |
|
121 RESOURCE TBUF r_text_calc_decimal_separator { buf=text_calc_decimal_separator; } |
|
122 |
|
123 RESOURCE TBUF r_qtn_cmon_item_conn_name_modem { buf=qtn_cmon_item_conn_name_modem; } |
|
124 |
|
125 RESOURCE TBUF r_qtn_cmon_conf_end_single_conn { buf=qtn_cmon_conf_end_single_conn; } |
|
126 RESOURCE TBUF r_qtn_cmon_conf_end_all_conns { buf=qtn_cmon_conf_end_all_conns; } |
|
127 RESOURCE TBUF r_qtn_cmon_conf_end_modem_conn { buf=qtn_cmon_conf_end_modem_conn; } |
|
128 RESOURCE TBUF r_qtn_cmon_duration_over_24h { buf=qtn_cmon_duration_over_24h; } |
|
129 RESOURCE TBUF r_qtn_cmon_info_conn_already_end { buf=qtn_cmon_info_conn_already_end; } |
|
130 |
|
131 RESOURCE TBUF r_qtn_cmon_wlan_singal_strength_low { buf=qtn_cmon_wlan_singal_strength_low; } |
|
132 RESOURCE TBUF r_qtn_cmon_wlan_singal_strength_medium { buf=qtn_cmon_wlan_singal_strength_medium; } |
|
133 RESOURCE TBUF r_qtn_cmon_wlan_singal_strength_good { buf=qtn_cmon_wlan_singal_strength_good; } |
|
134 RESOURCE TBUF r_qtn_cmon_wlan_signal_strength_no_signal |
|
135 { buf=qtn_cmon_wlan_signal_strength_no_signal; } |
|
136 |
|
137 RESOURCE TBUF r_qtn_cmon_wlan_newtwork_mode_adhoc { buf=qtn_cmon_wlan_newtwork_mode_adhoc; } |
|
138 RESOURCE TBUF r_qtn_cmon_wlan_newtwork_mode_infra { buf=qtn_cmon_wlan_newtwork_mode_infra; } |
|
139 |
|
140 RESOURCE TBUF r_qtn_cmon_wlan_security_mode_open { buf=qtn_cmon_wlan_security_mode_open; } |
|
141 RESOURCE TBUF r_qtn_cmon_wlan_security_mode_wep { buf=qtn_cmon_wlan_security_mode_wep; } |
|
142 RESOURCE TBUF r_qtn_cmon_wlan_security_mode_802_1x { buf=qtn_cmon_wlan_security_mode_802_1x; } |
|
143 RESOURCE TBUF r_qtn_cmon_wlan_security_mode_wpa { buf=qtn_cmon_wlan_security_mode_wpa; } |
|
144 |
|
145 RESOURCE TBUF r_qtn_cmon_wlan_tx_power_level { buf=qtn_cmon_wlan_tx_power_level; } |
|
146 |
|
147 RESOURCE TBUF r_qtn_cmon_heading_wlan_network_name { buf=qtn_cmon_heading_wlan_network_name; } |
|
148 RESOURCE TBUF r_qtn_cmon_heading_wlan_signal_strength |
|
149 { buf=qtn_cmon_heading_wlan_signal_strength; } |
|
150 RESOURCE TBUF r_qtn_cmon_heading_wlan_network_mode { buf=qtn_cmon_heading_wlan_network_mode; } |
|
151 RESOURCE TBUF r_qtn_cmon_heading_wlan_security_mode { buf=qtn_cmon_heading_wlan_security_mode; } |
|
152 RESOURCE TBUF r_qtn_cmon_heading_wlan_tx_power { buf=qtn_cmon_heading_wlan_tx_power; } |
|
153 |
|
154 RESOURCE TBUF r_qtn_cmon_parameter_unavailable { buf=qtn_cmon_parameter_unavailable; } |
|
155 |
|
156 RESOURCE TBUF r_qtn_cmon_sharing_app_msg_server { buf=qtn_cmon_sharing_app_msg_server; } |
|
157 RESOURCE TBUF r_qtn_cmon_sharing_app_dl_mg { buf=qtn_cmon_sharing_app_dl_mg; } |
|
158 RESOURCE TBUF r_qtn_cmon_sharing_app_rss_server { buf=qtn_cmon_sharing_app_rss_server; } |
|
159 RESOURCE TBUF r_qtn_cmon_sharing_app_java_midlet { buf=qtn_cmon_sharing_app_java_midlet; } |
|
160 RESOURCE TBUF r_qtn_cmon_sharing_app_unknown { buf=qtn_cmon_sharing_app_unknown; } |
|
161 RESOURCE TBUF r_qtn_cmon_sharing_app_supl { buf=qtn_cmon_sharing_app_supl; } |
|
162 |
|
163 |
|
164 //---------------------------------------------------- |
|
165 // |
|
166 // r_connectionmonitorui_title |
|
167 // |
|
168 //---------------------------------------------------- |
|
169 // |
|
170 RESOURCE TBUF r_connectionmonitorui_title |
|
171 { |
|
172 buf = qtn_cmon_title_active_conns; |
|
173 } |
|
174 |
|
175 //---------------------------------------------------- |
|
176 // |
|
177 // r_connectionmonitorui_hotkeys |
|
178 // |
|
179 //---------------------------------------------------- |
|
180 // |
|
181 RESOURCE HOTKEYS r_connectionmonitorui_hotkeys |
|
182 { |
|
183 control= |
|
184 { |
|
185 HOTKEY { command=EAknCmdExit; key='e'; } |
|
186 }; |
|
187 } |
|
188 |
|
189 #ifdef RD_CONTROL_PANEL |
|
190 |
|
191 //---------------------------------------------------- |
|
192 // |
|
193 // r_connectionmonitorui_view_buttons |
|
194 // |
|
195 //---------------------------------------------------- |
|
196 // |
|
197 RESOURCE CBA r_cp_connectionmonitorui_view_buttons |
|
198 { |
|
199 buttons = |
|
200 { |
|
201 CBA_BUTTON {id=EAknSoftkeyOptions; txt=text_softkey_option;}, |
|
202 CBA_BUTTON {id=EAknSoftkeyExit; txt=text_softkey_back;}, |
|
203 CBA_BUTTON {id=EAknSoftkeyDetails; txt=qtn_msk_cmon_details;} |
|
204 }; |
|
205 } |
|
206 |
|
207 //---------------------------------------------------- |
|
208 // |
|
209 // r_connectionmonitorui_view |
|
210 // |
|
211 //---------------------------------------------------- |
|
212 // |
|
213 RESOURCE AVKON_VIEW r_cp_connectionmonitorui_view |
|
214 { |
|
215 hotkeys=r_connectionmonitorui_hotkeys; |
|
216 menubar=r_connectionmonitorui_menubar_view; |
|
217 cba=r_cp_connectionmonitorui_view_buttons; |
|
218 } |
|
219 |
|
220 #endif // RD_CONTROL_PANEL |
|
221 |
|
222 //---------------------------------------------------- |
|
223 // |
|
224 // r_connectionmonitorui_view_buttons |
|
225 // |
|
226 //---------------------------------------------------- |
|
227 // |
|
228 RESOURCE CBA r_connectionmonitorui_view_buttons |
|
229 { |
|
230 buttons = |
|
231 { |
|
232 CBA_BUTTON {id=EAknSoftkeyOptions; txt=text_softkey_option;}, |
|
233 CBA_BUTTON {id=EAknSoftkeyExit; txt=text_softkey_exit;}, |
|
234 CBA_BUTTON {id=EAknSoftkeyDetails; txt=qtn_msk_cmon_details;} |
|
235 }; |
|
236 } |
|
237 |
|
238 //---------------------------------------------------- |
|
239 // |
|
240 // r_connectionmonitorui_view |
|
241 // |
|
242 //---------------------------------------------------- |
|
243 // |
|
244 RESOURCE AVKON_VIEW r_connectionmonitorui_view |
|
245 { |
|
246 hotkeys=r_connectionmonitorui_hotkeys; |
|
247 menubar=r_connectionmonitorui_menubar_view; |
|
248 cba=r_connectionmonitorui_view_buttons; |
|
249 } |
|
250 |
|
251 //---------------------------------------------------- |
|
252 // |
|
253 // r_connectionmonitorui_menubar_view |
|
254 // |
|
255 //---------------------------------------------------- |
|
256 // |
|
257 RESOURCE MENU_BAR r_connectionmonitorui_menubar_view |
|
258 { |
|
259 titles= |
|
260 { |
|
261 MENU_TITLE { menu_pane=r_connectionmonitorui_app_menu; txt="App"; }, |
|
262 MENU_TITLE { menu_pane=r_connectionmonitorui_view_menu; txt="View"; } |
|
263 }; |
|
264 } |
|
265 |
|
266 //---------------------------------------------------- |
|
267 // |
|
268 // r_connectionmonitorui_view_menu |
|
269 // |
|
270 //---------------------------------------------------- |
|
271 // |
|
272 RESOURCE MENU_PANE r_connectionmonitorui_view_menu |
|
273 { |
|
274 items= |
|
275 { |
|
276 MENU_ITEM { command=EConnectionMonitorUiCmdAppDetails; |
|
277 txt = qtn_cmon_list_options_details; flags = EEikMenuItemSpecific;}, |
|
278 MENU_ITEM { command=EConnectionMonitorUiCmdAppEndConn; |
|
279 txt = qtn_cmon_list_options_end_conn; flags = EEikMenuItemSpecific;}, |
|
280 MENU_ITEM { command=EConnectionMonitorUiCmdAppEndAll; |
|
281 txt = qtn_cmon_list_options_end_all; } |
|
282 }; |
|
283 } |
|
284 |
|
285 //---------------------------------------------------- |
|
286 // |
|
287 // r_connectionmonitorui_detailsview |
|
288 // |
|
289 //---------------------------------------------------- |
|
290 // |
|
291 RESOURCE AVKON_VIEW r_connectionmonitorui_detailsview |
|
292 { |
|
293 hotkeys=r_connectionmonitorui_hotkeys; |
|
294 cba=R_AVKON_SOFTKEYS_OK_EMPTY__OK; |
|
295 } |
|
296 |
|
297 //---------------------------------------------------- |
|
298 // |
|
299 // r_connectionmonitorui_app_menu |
|
300 // |
|
301 //---------------------------------------------------- |
|
302 // |
|
303 RESOURCE MENU_PANE r_connectionmonitorui_app_menu |
|
304 { |
|
305 items= |
|
306 { |
|
307 MENU_ITEM { command=EAknCmdHelp; txt = qtn_options_help; }, |
|
308 MENU_ITEM { command=EAknCmdExit; txt=qtn_options_exit; } |
|
309 }; |
|
310 } |
|
311 |
|
312 // ICONARRAYS |
|
313 |
|
314 RESOURCE AKN_ICON_ARRAY r_listbox_icons |
|
315 { |
|
316 bmpfile = APP_BITMAP_DIR"\\ConnectionMonitorUi.mbm"; |
|
317 icons = |
|
318 { |
|
319 AKN_ICON |
|
320 { |
|
321 iconId = EMbmConnectionmonitoruiQgn_prop_wml_gprs; |
|
322 maskId = EMbmConnectionmonitoruiQgn_prop_wml_gprs_mask; |
|
323 }, |
|
324 AKN_ICON |
|
325 { |
|
326 iconId = EMbmConnectionmonitoruiQgn_prop_wml_csd; |
|
327 maskId = EMbmConnectionmonitoruiQgn_prop_wml_csd_mask; |
|
328 }, |
|
329 AKN_ICON |
|
330 { |
|
331 iconId = EMbmConnectionmonitoruiQgn_prop_wml_hscsd; |
|
332 maskId = EMbmConnectionmonitoruiQgn_prop_wml_hscsd_mask; |
|
333 }, |
|
334 AKN_ICON |
|
335 { |
|
336 iconId = EMbmConnectionmonitoruiQgn_prop_cmon_gprs_suspended; |
|
337 maskId = EMbmConnectionmonitoruiQgn_prop_cmon_gprs_suspended_mask; |
|
338 } |
|
339 }; |
|
340 } |
|
341 |
|
342 RESOURCE TBUF r_qtn_appl_option_item { buf=qtn_appl_option_item; } |
|
343 |
|
344 RESOURCE DIALOG r_end_conn_confirmation_query |
|
345 { |
|
346 flags=EGeneralQueryFlags; |
|
347 buttons=R_AVKON_SOFTKEYS_YES_NO__YES; |
|
348 items= |
|
349 { |
|
350 DLG_LINE |
|
351 { |
|
352 type=EAknCtQuery; |
|
353 id = EGeneralQuery; |
|
354 control= AVKON_CONFIRMATION_QUERY |
|
355 { |
|
356 layout = EConfirmationQueryLayout; |
|
357 }; |
|
358 } |
|
359 }; |
|
360 } |
|
361 |
|
362 //---------------------------------------------------- |
|
363 // |
|
364 // r_qtn_cmon_connection_summary_note_text |
|
365 // |
|
366 //---------------------------------------------------- |
|
367 // |
|
368 RESOURCE TBUF r_qtn_cmon_connection_summary_note_text { buf = |
|
369 qtn_cmon_summary_heading"\n"qtn_cmon_summary_transferred"\n%0U\n"qtn_cmon_summary_duration"\n%1U"; } |
|
370 |
|
371 //---------------------------------------------------- |
|
372 // |
|
373 // r_qtn_cmon_connection_summary_note |
|
374 // |
|
375 //---------------------------------------------------- |
|
376 // |
|
377 RESOURCE DIALOG r_qtn_cmon_connection_summary_note |
|
378 { |
|
379 flags = EAknInformationNoteFlags; |
|
380 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
381 items= |
|
382 { |
|
383 DLG_LINE |
|
384 { |
|
385 type = EAknCtNote; |
|
386 id = EGeneralNote; |
|
387 control= AVKON_NOTE |
|
388 { |
|
389 layout = ETextualNotificationLayout; |
|
390 singular_label = ""; |
|
391 plural_label = ""; |
|
392 }; |
|
393 } |
|
394 }; |
|
395 } |
|
396 |
|
397 //---------------------------------------------------- |
|
398 // |
|
399 // r_connectionmonitorui_localisable_app_info |
|
400 // |
|
401 //---------------------------------------------------- |
|
402 // |
|
403 RESOURCE LOCALISABLE_APP_INFO r_connectionmonitorui_localisable_app_info |
|
404 { |
|
405 short_caption = qtn_apps_cmon_grid; |
|
406 caption_and_icon = |
|
407 CAPTION_AND_ICON_INFO |
|
408 { |
|
409 caption = qtn_apps_cmon_list; |
|
410 #ifdef __SCALABLE_ICONS |
|
411 number_of_icons = 1; |
|
412 icon_file = "Z:"APP_BITMAP_DIR"\\connectionmonitorui_aif.mif"; |
|
413 #else |
|
414 number_of_icons = 2; |
|
415 icon_file = "Z:"APP_BITMAP_DIR"\\connectionmonitorui_aif.mbm"; |
|
416 #endif |
|
417 }; |
|
418 } |
|
419 |
|
420 |
|
421 |
|
422 // End of File |