|
1 /* |
|
2 * Copyright (c) 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: Upnp settings plugin resource file |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 // RESOURCE IDENTIFIER |
|
25 NAME UPGS // 4 letter ID |
|
26 |
|
27 // INCLUDES |
|
28 #include <eikon.rh> |
|
29 #include <avkon.rsg> |
|
30 #include <avkon.rh> |
|
31 #include <avkon.loc> |
|
32 #include <upnpsettings.loc> |
|
33 |
|
34 // USER INCLUDES |
|
35 #include "upnpsettingsengine.hrh" |
|
36 #include "upnpgsplugin.hrh" |
|
37 |
|
38 // CONSTANTS |
|
39 |
|
40 // RESOURCE DEFINITIONS |
|
41 |
|
42 RESOURCE RSS_SIGNATURE |
|
43 { |
|
44 } |
|
45 |
|
46 //---------------------------------------------------- |
|
47 // r_gs_datacall_view_caption |
|
48 // |
|
49 // Data call view caption for plugin |
|
50 //---------------------------------------------------- |
|
51 // |
|
52 RESOURCE TBUF r_upnp_gs_settings_view_caption |
|
53 { |
|
54 buf = qtn_iupnp_gs_caption; |
|
55 } |
|
56 |
|
57 //---------------------------------------------------- |
|
58 // r_gs_datacall_view_caption |
|
59 // |
|
60 // Data call view caption for plugin |
|
61 //---------------------------------------------------- |
|
62 // |
|
63 RESOURCE TBUF r_upnp_gs_settings_view_title |
|
64 { |
|
65 buf = qtn_iupnp_title_sharing; |
|
66 } |
|
67 |
|
68 //---------------------------------------------------- |
|
69 // |
|
70 // r_gs_dcall_view |
|
71 // Data call view. |
|
72 // |
|
73 //---------------------------------------------------- |
|
74 // |
|
75 RESOURCE AVKON_VIEW r_gs_upnp_view |
|
76 { |
|
77 menubar = r_homeconnect_settings_menubar; |
|
78 cba = r_settingsui_softkeys_options_back__change; |
|
79 } |
|
80 |
|
81 //---------------------------------------------------------------------------- |
|
82 // |
|
83 // r_homeconnect_settings_menubar |
|
84 // |
|
85 //---------------------------------------------------------------------------- |
|
86 // |
|
87 RESOURCE MENU_BAR r_homeconnect_settings_menubar |
|
88 { |
|
89 titles = |
|
90 { |
|
91 MENU_TITLE { menu_pane = r_homeconnect_settings_menu;} |
|
92 }; |
|
93 } |
|
94 |
|
95 //---------------------------------------------------------------------------- |
|
96 // |
|
97 // r_homeconnect_settings_menu |
|
98 // |
|
99 //---------------------------------------------------------------------------- |
|
100 |
|
101 RESOURCE MENU_PANE r_homeconnect_settings_menu |
|
102 { |
|
103 items = |
|
104 { |
|
105 MENU_ITEM |
|
106 { |
|
107 command = EAknSoftkeyChange; |
|
108 txt = qtn_options_change; |
|
109 }, |
|
110 MENU_ITEM |
|
111 { |
|
112 command = EAknCmdHelp; |
|
113 txt = qtn_options_help; |
|
114 }, |
|
115 MENU_ITEM |
|
116 { |
|
117 command = EAknCmdExit; |
|
118 txt = qtn_options_exit; |
|
119 } |
|
120 }; |
|
121 } |
|
122 |
|
123 |
|
124 // RESOURCE DEFINITIONS |
|
125 |
|
126 //---------------------------------------------------------------------------- |
|
127 // |
|
128 // r_homeconnect_settings_dialog |
|
129 // |
|
130 //---------------------------------------------------------------------------- |
|
131 // |
|
132 RESOURCE AVKON_SETTING_ITEM_LIST r_upnp_gs_settings_list |
|
133 { |
|
134 items = |
|
135 { |
|
136 AVKON_SETTING_ITEM |
|
137 { |
|
138 identifier = EUPnPGSPluginItemIAP; |
|
139 setting_page_resource = r_iap_setting_page; |
|
140 associated_resource = r_iap_selection_page_texts; |
|
141 name = qtn_iupnp_home_ap; |
|
142 }, |
|
143 AVKON_SETTING_ITEM |
|
144 { |
|
145 identifier = EUPnPGSPluginItemMyDeviceName; |
|
146 setting_page_resource = r_my_device_name_setting_page; |
|
147 name = qtn_iupnp_device_name; |
|
148 }, |
|
149 AVKON_SETTING_ITEM |
|
150 { |
|
151 identifier = EUPnPGSPluginItemCopyLocation; |
|
152 name = qtn_iupnp_copy_location; |
|
153 } |
|
154 }; |
|
155 |
|
156 } |
|
157 |
|
158 //---------------------------------------------------------------------------- |
|
159 // |
|
160 // r_iap_setting_page |
|
161 // |
|
162 //---------------------------------------------------------------------------- |
|
163 // |
|
164 RESOURCE AVKON_SETTING_PAGE r_iap_setting_page |
|
165 { |
|
166 label = qtn_iupnp_ap_head_set; |
|
167 type = EAknCtPopupSettingList; |
|
168 editor_resource_id = r_iap_selection_page_edit_controls; |
|
169 } |
|
170 |
|
171 //---------------------------------------------------------------------------- |
|
172 // |
|
173 // r_iap_selection_page_edit_controls |
|
174 // |
|
175 //---------------------------------------------------------------------------- |
|
176 // |
|
177 RESOURCE POPUP_SETTING_LIST r_iap_selection_page_edit_controls |
|
178 { |
|
179 } |
|
180 //---------------------------------------------------------------------------- |
|
181 // |
|
182 // r_iap_selection_page_texts |
|
183 // |
|
184 //---------------------------------------------------------------------------- |
|
185 // |
|
186 RESOURCE AVKON_POPUP_SETTING_TEXTS r_iap_selection_page_texts |
|
187 |
|
188 { |
|
189 setting_texts_resource = r_iap_selection_item_texts; |
|
190 } |
|
191 |
|
192 //---------------------------------------------------------------------------- |
|
193 // |
|
194 // r_iap_selection_item_texts |
|
195 // |
|
196 //---------------------------------------------------------------------------- |
|
197 // |
|
198 RESOURCE ARRAY r_iap_selection_item_texts |
|
199 { |
|
200 items = |
|
201 { |
|
202 AVKON_ENUMERATED_TEXT |
|
203 { |
|
204 value = EUPnPSettingsEngineIAPItemNone; |
|
205 text = qtn_iupnp_ap_none_set; |
|
206 }, |
|
207 AVKON_ENUMERATED_TEXT |
|
208 { |
|
209 value = EUPnPSettingsEngineIAPItemAlwaysAsk; |
|
210 text = qtn_iupnp_ap_ask_set; |
|
211 }, |
|
212 AVKON_ENUMERATED_TEXT |
|
213 { |
|
214 value = EUPnPSettingsEngineIAPItemUserDefined; |
|
215 text = qtn_iupnp_ap_user_defined; |
|
216 } |
|
217 }; |
|
218 } |
|
219 |
|
220 |
|
221 |
|
222 //---------------------------------------------------------------------------- |
|
223 // |
|
224 // r_my_device_name_setting_page |
|
225 // |
|
226 //---------------------------------------------------------------------------- |
|
227 // |
|
228 RESOURCE AVKON_SETTING_PAGE r_my_device_name_setting_page |
|
229 { |
|
230 type = EEikCtEdwin; |
|
231 editor_resource_id = r_my_device_name_edwin; |
|
232 } |
|
233 |
|
234 |
|
235 //---------------------------------------------------------------------------- |
|
236 // |
|
237 // home network IAP selection item texts |
|
238 // |
|
239 //---------------------------------------------------------------------------- |
|
240 // |
|
241 RESOURCE TBUF r_qtn_iupnp_item_home_iap_always_ask { buf = qtn_iupnp_ap_ask_set; } |
|
242 RESOURCE TBUF r_qtn_iupnp_item_home_iap_user_defined { buf = qtn_iupnp_ap_user_defined; } |
|
243 RESOURCE TBUF r_qtn_iupnp_item_home_iap_none { buf = qtn_iupnp_ap_none_set; } |
|
244 |
|
245 //---------------------------------------------------------------------------- |
|
246 // |
|
247 // home network IAP selection setting page texts |
|
248 // |
|
249 //---------------------------------------------------------------------------- |
|
250 // |
|
251 RESOURCE TBUF r_qtn_iupnp_home_iap_always_ask { buf = qtn_iupnp_ap_ask_set; } |
|
252 RESOURCE TBUF r_qtn_iupnp_home_iap_create_new { buf = qtn_iupnp_ap_new_set; } |
|
253 RESOURCE TBUF r_qtn_iupnp_home_iap_none { buf = qtn_iupnp_ap_none_set; } |
|
254 |
|
255 //---------------------------------------------------------------------------- |
|
256 // |
|
257 // r_my_device_name_edwin |
|
258 // |
|
259 //---------------------------------------------------------------------------- |
|
260 // |
|
261 RESOURCE EDWIN r_my_device_name_edwin |
|
262 { |
|
263 width = 64; |
|
264 lines = 5; |
|
265 maxlength = 64; |
|
266 } |
|
267 |
|
268 //---------------------------------------------------------------------------- |
|
269 // |
|
270 // r_settingsui_softkeys_options_back__change |
|
271 // |
|
272 //---------------------------------------------------------------------------- |
|
273 // |
|
274 RESOURCE CBA r_settingsui_softkeys_options_back__change |
|
275 { |
|
276 buttons = |
|
277 { |
|
278 CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;}, |
|
279 CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back; }, |
|
280 CBA_BUTTON {id=EAknSoftkeyChange; txt= qtn_msk_change; } |
|
281 }; |
|
282 } |
|
283 |
|
284 //---------------------------------------------------------------------------- |
|
285 // |
|
286 // r_upnp_settings_menubar |
|
287 // |
|
288 //---------------------------------------------------------------------------- |
|
289 // |
|
290 RESOURCE MENU_BAR r_upnp_settings_menubar |
|
291 { |
|
292 titles = |
|
293 { |
|
294 MENU_TITLE { menu_pane = r_upnp_settings_menu;} |
|
295 }; |
|
296 } |
|
297 |
|
298 //---------------------------------------------------------------------------- |
|
299 // |
|
300 // r_upnp_settings_menu |
|
301 // |
|
302 //---------------------------------------------------------------------------- |
|
303 |
|
304 RESOURCE MENU_PANE r_upnp_settings_menu |
|
305 { |
|
306 items = |
|
307 { |
|
308 MENU_ITEM |
|
309 { |
|
310 command = EAknSoftkeyChange; |
|
311 txt = qtn_options_change; |
|
312 }, |
|
313 MENU_ITEM |
|
314 { |
|
315 command = EAknCmdHelp; |
|
316 txt = qtn_options_help; |
|
317 }, |
|
318 MENU_ITEM |
|
319 { |
|
320 command = EAknCmdExit; |
|
321 txt = qtn_options_exit; |
|
322 } |
|
323 }; |
|
324 } |
|
325 |
|
326 //---------------------------------------------------------------------------- |
|
327 // |
|
328 // r_unsecured_connections_confirmation_query |
|
329 // |
|
330 //---------------------------------------------------------------------------- |
|
331 // |
|
332 RESOURCE DIALOG r_unsecured_connections_confirmation_query |
|
333 { |
|
334 flags = EGeneralQueryFlags; |
|
335 buttons = r_softkeys_continue_cancel; |
|
336 items = |
|
337 { |
|
338 DLG_LINE |
|
339 { |
|
340 type = EAknCtQuery; |
|
341 id = EGeneralQuery; |
|
342 control = AVKON_CONFIRMATION_QUERY |
|
343 { |
|
344 layout = EConfirmationQueryLayout; |
|
345 label = qtn_iupnp_conf_unsecure; |
|
346 }; |
|
347 } |
|
348 }; |
|
349 } |
|
350 |
|
351 //---------------------------------------------------------------------------- |
|
352 // |
|
353 // r_softkeys_continue_cancel |
|
354 // |
|
355 //---------------------------------------------------------------------------- |
|
356 // |
|
357 RESOURCE CBA r_softkeys_continue_cancel |
|
358 { |
|
359 buttons = |
|
360 { |
|
361 CBA_BUTTON |
|
362 { |
|
363 id = EUPnPGSPluginCbaButtonContinue; |
|
364 txt = qtn_iupnp_conf_continue; |
|
365 }, |
|
366 CBA_BUTTON |
|
367 { |
|
368 id = EAknSoftkeyCancel; |
|
369 txt = text_softkey_cancel; |
|
370 } |
|
371 }; |
|
372 } |
|
373 |
|
374 //---------------------------------------------------------------------------- |
|
375 // |
|
376 // r_ibu_gallery_update_note_title_text |
|
377 // |
|
378 //---------------------------------------------------------------------------- |
|
379 // |
|
380 RESOURCE TBUF r_ibu_gallery_update_note_title_text |
|
381 { |
|
382 buf = qtn_iupnp_ibu_gallery_update_note_title_2; |
|
383 } |
|
384 |
|
385 //---------------------------------------------------------------------------- |
|
386 // |
|
387 // r_ibu_gallery_update_note_text |
|
388 // |
|
389 //---------------------------------------------------------------------------- |
|
390 // |
|
391 RESOURCE TBUF r_ibu_gallery_update_note_text |
|
392 { |
|
393 buf = qtn_iupnp_ibu_gallery_update_note_2; |
|
394 } |
|
395 |
|
396 //---------------------------------------------------------------------------- |
|
397 // |
|
398 // r_ibu_gallery_update_notavail_note_text |
|
399 // |
|
400 //---------------------------------------------------------------------------- |
|
401 // |
|
402 RESOURCE TBUF r_ibu_gallery_update_notavail_note_text |
|
403 { |
|
404 buf = qtn_iupnp_ibu_gallery_notavail_note_2; |
|
405 } |
|
406 |
|
407 //---------------------------------------------------------------------------- |
|
408 // |
|
409 // r_qtn_iupnp_iap_turn_sharing_off |
|
410 // |
|
411 //---------------------------------------------------------------------------- |
|
412 // |
|
413 RESOURCE TBUF r_qtn_iupnp_iap_turn_sharing_off |
|
414 { |
|
415 buf = qtn_iupnp_ibu_gallery_connectionactive_note; |
|
416 } |
|
417 |
|
418 //---------------------------------------------------------------------------- |
|
419 // |
|
420 // r_homeconnect_info_query |
|
421 // |
|
422 //---------------------------------------------------------------------------- |
|
423 // |
|
424 RESOURCE DIALOG r_homeconnect_info_query |
|
425 { |
|
426 flags = EGeneralQueryFlags | EEikDialogFlagNoTitleBar | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
427 buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
428 items= |
|
429 { |
|
430 DLG_LINE |
|
431 { |
|
432 type = EAknCtPopupHeadingPane; |
|
433 id = EAknMessageQueryHeaderId; |
|
434 control = AVKON_HEADING |
|
435 { |
|
436 }; |
|
437 }, |
|
438 DLG_LINE |
|
439 { |
|
440 type = EAknCtMessageQuery; |
|
441 id = EAknMessageQueryContentId; |
|
442 control = AVKON_MESSAGE_QUERY |
|
443 { |
|
444 }; |
|
445 } |
|
446 }; |
|
447 } |
|
448 |
|
449 //End of File |