27
|
1 |
/*
|
|
2 |
* Copyright (c) 2006 - 2007 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 file for DRMSettinsPlugin
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
// RESOURCE IDENTIFIER
|
|
21 |
NAME DRMS // 4 letter ID
|
|
22 |
|
|
23 |
// INCLUDES
|
|
24 |
#include <eikon.rh>
|
|
25 |
#include <uikon.rh>
|
|
26 |
#include <avkon.rsg>
|
|
27 |
#include <avkon.rh>
|
|
28 |
#include <avkon.mbg>
|
|
29 |
#include <EIKCORE.rsg>
|
|
30 |
#include <eikon.rsg>
|
|
31 |
#include <appinfo.rh>
|
|
32 |
#include <avkon.loc>
|
|
33 |
#include <AvkonIcons.hrh>
|
|
34 |
#include <data_caging_paths_strings.hrh>
|
|
35 |
#include <gs.loc>
|
|
36 |
#include <drmsettingsplugin.loc>
|
|
37 |
|
|
38 |
#include "drmsettingsplugin.hrh"
|
|
39 |
#include "drmsettingsplugin.rh"
|
|
40 |
|
|
41 |
|
|
42 |
// CONSTANTS
|
|
43 |
|
|
44 |
// RESOURCE DEFINITIONS
|
|
45 |
|
|
46 |
RESOURCE RSS_SIGNATURE
|
|
47 |
{
|
|
48 |
}
|
|
49 |
|
|
50 |
|
|
51 |
RESOURCE TBUF
|
|
52 |
{
|
|
53 |
buf="DRMS";
|
|
54 |
}
|
|
55 |
|
|
56 |
//----------------------------------------------------
|
|
57 |
//
|
|
58 |
// EIK_APP_INFO
|
|
59 |
// It contains application information.
|
|
60 |
//
|
|
61 |
//----------------------------------------------------
|
|
62 |
//
|
|
63 |
RESOURCE EIK_APP_INFO
|
|
64 |
{
|
|
65 |
}
|
|
66 |
|
|
67 |
|
|
68 |
|
|
69 |
//----------------------------------------------------
|
|
70 |
// r_drm_settings_view_caption
|
|
71 |
//
|
|
72 |
// Caption for DRM Settings plugin
|
|
73 |
//----------------------------------------------------
|
|
74 |
//
|
|
75 |
RESOURCE TBUF r_drm_settings_view_caption
|
|
76 |
{
|
|
77 |
buf = qtn_set_protected_content;
|
|
78 |
}
|
|
79 |
|
|
80 |
|
|
81 |
//----------------------------------------------------
|
|
82 |
//
|
|
83 |
// r_drm_settings_view_title
|
|
84 |
// Title of DRM Settings view
|
|
85 |
//
|
|
86 |
//----------------------------------------------------
|
|
87 |
//
|
|
88 |
RESOURCE TITLE_PANE r_drm_settings_view_title
|
|
89 |
{
|
|
90 |
txt = qtn_set_protected_content;
|
|
91 |
}
|
|
92 |
|
|
93 |
|
|
94 |
//----------------------------------------------------
|
|
95 |
//
|
|
96 |
// r_drm_softkeys_options_back_change
|
|
97 |
// Text association with MSK ( CHANGE )
|
|
98 |
//
|
|
99 |
//----------------------------------------------------
|
|
100 |
//
|
|
101 |
RESOURCE CBA r_drm_softkeys_options_back_change
|
|
102 |
{
|
|
103 |
buttons =
|
|
104 |
{
|
|
105 |
CBA_BUTTON
|
|
106 |
{
|
|
107 |
id=EAknSoftkeyOptions;
|
|
108 |
txt = text_softkey_option;
|
|
109 |
},
|
|
110 |
CBA_BUTTON
|
|
111 |
{
|
|
112 |
id=EAknSoftkeyBack;
|
|
113 |
txt = text_softkey_back;
|
|
114 |
},
|
|
115 |
CBA_BUTTON
|
|
116 |
{
|
|
117 |
id=EDRMSettingsCmdAppChangeMSK;
|
|
118 |
txt = qtn_msk_change;
|
|
119 |
}
|
|
120 |
};
|
|
121 |
}
|
|
122 |
|
|
123 |
|
|
124 |
|
|
125 |
|
|
126 |
//----------------------------------------------------
|
|
127 |
//
|
|
128 |
// r_drm_settings_view
|
|
129 |
// DRM Settings view.
|
|
130 |
//
|
|
131 |
//----------------------------------------------------
|
|
132 |
//
|
|
133 |
RESOURCE AVKON_VIEW r_drm_settings_view
|
|
134 |
{
|
|
135 |
menubar = r_drm_settings_menubar_change_exit;
|
|
136 |
cba = r_drm_softkeys_options_back_change;
|
|
137 |
}
|
|
138 |
|
|
139 |
|
|
140 |
// -----------------------------------------------------------------------------
|
|
141 |
//
|
|
142 |
// r_drm_settings_menubar_change_exit
|
|
143 |
// Menu with 'change' and 'exit' items.
|
|
144 |
//
|
|
145 |
// -----------------------------------------------------------------------------
|
|
146 |
//
|
|
147 |
RESOURCE MENU_BAR r_drm_settings_menubar_change_exit
|
|
148 |
{
|
|
149 |
titles =
|
|
150 |
{
|
|
151 |
MENU_TITLE
|
|
152 |
{
|
|
153 |
menu_pane = r_drm_settings_menu_item_exit;
|
|
154 |
},
|
|
155 |
MENU_TITLE
|
|
156 |
{
|
|
157 |
menu_pane = r_drm_settings_menu_item_change;
|
|
158 |
}
|
|
159 |
};
|
|
160 |
}
|
|
161 |
|
|
162 |
|
|
163 |
// -----------------------------------------------------------------------------
|
|
164 |
//
|
|
165 |
// r_drm_settings_menu_item_exit
|
|
166 |
// Options menu items 'Help' and 'Exit'. Used instead of plain 'Exit' when help
|
|
167 |
// is wanted to be shown in UI.
|
|
168 |
//
|
|
169 |
// -----------------------------------------------------------------------------
|
|
170 |
//
|
|
171 |
RESOURCE MENU_PANE r_drm_settings_menu_item_exit
|
|
172 |
{
|
|
173 |
items =
|
|
174 |
{
|
|
175 |
MENU_ITEM
|
|
176 |
{
|
|
177 |
command = EAknCmdHelp;
|
|
178 |
txt = qtn_options_help;
|
|
179 |
},
|
|
180 |
MENU_ITEM
|
|
181 |
{
|
|
182 |
command = EAknCmdExit;
|
|
183 |
txt = qtn_options_exit;
|
|
184 |
}
|
|
185 |
};
|
|
186 |
}
|
|
187 |
|
|
188 |
|
|
189 |
// -----------------------------------------------------------------------------
|
|
190 |
//
|
|
191 |
// r_drm_settings_menu_item_change
|
|
192 |
// Change item.
|
|
193 |
//
|
|
194 |
// -----------------------------------------------------------------------------
|
|
195 |
//
|
|
196 |
RESOURCE MENU_PANE r_drm_settings_menu_item_change
|
|
197 |
{
|
|
198 |
items =
|
|
199 |
{
|
|
200 |
MENU_ITEM
|
|
201 |
{
|
|
202 |
command = EDRMSettingsCmdAppChange;
|
|
203 |
txt = qtn_set_options_change;
|
|
204 |
flags = EEikMenuItemAction;
|
|
205 |
}
|
|
206 |
};
|
|
207 |
}
|
|
208 |
|
|
209 |
|
|
210 |
//----------------------------------------------------
|
|
211 |
//
|
|
212 |
// r_drm_settings_lbx
|
|
213 |
// DRM Settings view's listbox.
|
|
214 |
//
|
|
215 |
//----------------------------------------------------
|
|
216 |
//
|
|
217 |
RESOURCE DRM_SETTINGS_FEATURE_ARRAY r_drm_settings_lbx
|
|
218 |
{
|
|
219 |
items =
|
|
220 |
{
|
|
221 |
#ifdef __DRM_OMA2
|
|
222 |
#ifdef RD_DRM_SILENT_RIGHTS_ACQUISITION
|
|
223 |
DRM_SETTINGS_FEATURE
|
|
224 |
{
|
|
225 |
txt = " \t"qtn_set_automatic_activation"\t\t";
|
|
226 |
item = EDRMSettingsIdAutomaticActivation;
|
|
227 |
},
|
|
228 |
#endif // RD_DRM_SILENT_RIGHTS_ACQUISITION
|
|
229 |
|
|
230 |
#ifdef RD_DRM_METERING
|
|
231 |
DRM_SETTINGS_FEATURE
|
|
232 |
{
|
|
233 |
txt = " \t"qtn_drm_set_usage_reporting"\t\t";
|
|
234 |
item = EDRMSettingsIdUsageReporting;
|
|
235 |
},
|
|
236 |
#endif // RD_DRM_METERING
|
|
237 |
|
|
238 |
DRM_SETTINGS_FEATURE
|
|
239 |
{
|
|
240 |
txt = " \t"qtn_set_transaction_tracking"\t\t";
|
|
241 |
item = EDRMSettingsIdTransactionTracking;
|
|
242 |
},
|
|
243 |
#endif // __DRM_OMA2
|
|
244 |
|
|
245 |
DRM_SETTINGS_FEATURE
|
|
246 |
{
|
|
247 |
txt = " \t"qtn_drm_set_license_deletion"\t\t";
|
|
248 |
item = EDRMSettingsIdWMDRMLicenseDeletion;
|
|
249 |
}
|
|
250 |
};
|
|
251 |
}
|
|
252 |
|
|
253 |
//----------------------------------------------------
|
|
254 |
//
|
|
255 |
// r_drm_settings_lbx_no_oma2
|
|
256 |
// DRM Settings view's listbox when OMA DRM version
|
|
257 |
// 2 is configured not to be supported.
|
|
258 |
//
|
|
259 |
//----------------------------------------------------
|
|
260 |
//
|
|
261 |
RESOURCE DRM_SETTINGS_FEATURE_ARRAY r_drm_settings_lbx_no_oma2
|
|
262 |
{
|
|
263 |
items =
|
|
264 |
{
|
|
265 |
DRM_SETTINGS_FEATURE
|
|
266 |
{
|
|
267 |
txt = " \t"qtn_drm_set_license_deletion"\t\t";
|
|
268 |
item = EDRMSettingsIdWMDRMLicenseDeletion;
|
|
269 |
}
|
|
270 |
};
|
|
271 |
}
|
|
272 |
|
|
273 |
|
|
274 |
|
|
275 |
//----------------------------------------------------
|
|
276 |
//
|
|
277 |
// r_drm_settings_setting_listbox
|
|
278 |
// Common listbox editor resource for setting pages.
|
|
279 |
//
|
|
280 |
//----------------------------------------------------
|
|
281 |
//
|
|
282 |
RESOURCE LISTBOX r_drm_settings_setting_listbox
|
|
283 |
{
|
|
284 |
flags = EEikListBoxMultipleSelection;
|
|
285 |
}
|
|
286 |
|
|
287 |
|
|
288 |
//----------------------------------------------------
|
|
289 |
//
|
|
290 |
// r_ttracking_setting_page
|
|
291 |
// Transaction tracking setting page.
|
|
292 |
//
|
|
293 |
//----------------------------------------------------
|
|
294 |
//
|
|
295 |
RESOURCE AVKON_SETTING_PAGE r_ttracking_setting_page
|
|
296 |
{
|
|
297 |
number = EAknSettingPageNoOrdinalDisplayed;
|
|
298 |
label = qtn_drm_set_popup_trans_track;
|
|
299 |
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
|
|
300 |
type = EAknSetListBox;
|
|
301 |
editor_resource_id = r_drm_settings_setting_listbox;
|
|
302 |
}
|
|
303 |
|
|
304 |
|
|
305 |
//----------------------------------------------------
|
|
306 |
//
|
|
307 |
// r_ttracking_setting_page_lbx
|
|
308 |
// Transaction tracking setting page's listbox.
|
|
309 |
//
|
|
310 |
//----------------------------------------------------
|
|
311 |
//
|
|
312 |
RESOURCE ARRAY r_ttracking_setting_page_lbx
|
|
313 |
{
|
|
314 |
items =
|
|
315 |
{
|
|
316 |
LBUF
|
|
317 |
{
|
|
318 |
txt = qtn_set_transact_tracking_on;
|
|
319 |
},
|
|
320 |
LBUF
|
|
321 |
{
|
|
322 |
txt = qtn_set_transact_tracking_off;
|
|
323 |
}
|
|
324 |
};
|
|
325 |
}
|
|
326 |
|
|
327 |
|
|
328 |
//----------------------------------------------------
|
|
329 |
// r_drm_settings_ttracking_on
|
|
330 |
//
|
|
331 |
// DRM Settings text for Transaction tracking "On"
|
|
332 |
//----------------------------------------------------
|
|
333 |
//
|
|
334 |
RESOURCE TBUF r_drm_settings_ttracking_on
|
|
335 |
{
|
|
336 |
buf = qtn_set_transact_tracking_on;
|
|
337 |
}
|
|
338 |
|
|
339 |
|
|
340 |
//----------------------------------------------------
|
|
341 |
// r_drm_settings_ttracking_off
|
|
342 |
//
|
|
343 |
// DRM Settings text for Transaction tracking "Off"
|
|
344 |
//----------------------------------------------------
|
|
345 |
//
|
|
346 |
RESOURCE TBUF r_drm_settings_ttracking_off
|
|
347 |
{
|
|
348 |
buf = qtn_set_transact_tracking_off;
|
|
349 |
}
|
|
350 |
|
|
351 |
|
|
352 |
//----------------------------------------------------
|
|
353 |
//
|
|
354 |
// r_autom_activ_setting_page
|
|
355 |
// Automatic activation setting page.
|
|
356 |
//
|
|
357 |
//----------------------------------------------------
|
|
358 |
//
|
|
359 |
RESOURCE AVKON_SETTING_PAGE r_autom_activ_setting_page
|
|
360 |
{
|
|
361 |
number = EAknSettingPageNoOrdinalDisplayed;
|
|
362 |
label = qtn_drm_set_popup_autom_activat;
|
|
363 |
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
|
|
364 |
type = EAknSetListBox;
|
|
365 |
editor_resource_id = r_drm_settings_setting_listbox;
|
|
366 |
}
|
|
367 |
|
|
368 |
|
|
369 |
//----------------------------------------------------
|
|
370 |
//
|
|
371 |
// r_autom_activ_setting_page_lbx
|
|
372 |
// Automatic activation setting page's listbox.
|
|
373 |
//
|
|
374 |
//----------------------------------------------------
|
|
375 |
//
|
|
376 |
RESOURCE ARRAY r_autom_activ_setting_page_lbx
|
|
377 |
{
|
|
378 |
items =
|
|
379 |
{
|
|
380 |
LBUF
|
|
381 |
{
|
|
382 |
txt = qtn_set_automat_act_allowed;
|
|
383 |
},
|
|
384 |
LBUF
|
|
385 |
{
|
|
386 |
txt = qtn_set_automat_act_not_allowed;
|
|
387 |
}
|
|
388 |
};
|
|
389 |
}
|
|
390 |
|
|
391 |
|
|
392 |
//----------------------------------------------------
|
|
393 |
// r_drm_settings_autom_activ_on
|
|
394 |
//
|
|
395 |
// DRM Settings text for Automatic activation "Allowed"
|
|
396 |
//----------------------------------------------------
|
|
397 |
//
|
|
398 |
RESOURCE TBUF r_drm_settings_autom_activ_on
|
|
399 |
{
|
|
400 |
buf = qtn_set_automat_act_allowed;
|
|
401 |
}
|
|
402 |
|
|
403 |
|
|
404 |
//----------------------------------------------------
|
|
405 |
// r_drm_settings_autom_activ_off
|
|
406 |
//
|
|
407 |
// DRM Settings text for Automatic activation "Not allowed"
|
|
408 |
//----------------------------------------------------
|
|
409 |
//
|
|
410 |
RESOURCE TBUF r_drm_settings_autom_activ_off
|
|
411 |
{
|
|
412 |
buf = qtn_set_automat_act_not_allowed;
|
|
413 |
}
|
|
414 |
|
|
415 |
// ---------------------------------------------------------
|
|
416 |
//
|
|
417 |
// r_drm_settings_metering_checkbox_page
|
|
418 |
// Used in checkbox list.
|
|
419 |
//
|
|
420 |
// ---------------------------------------------------------
|
|
421 |
//
|
|
422 |
RESOURCE AVKON_SETTING_PAGE r_drm_settings_metering_checkbox_page
|
|
423 |
{
|
|
424 |
number = EAknSettingPageNoOrdinalDisplayed;
|
|
425 |
label = qtn_drm_set_popup_usage_report;
|
|
426 |
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__MARK;
|
|
427 |
type = EAknSetListBox;
|
|
428 |
editor_resource_id = r_drm_settings_metering_checkbox_list;
|
|
429 |
invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL;
|
|
430 |
}
|
|
431 |
|
|
432 |
// ---------------------------------------------------------
|
|
433 |
//
|
|
434 |
// r_drm_settings_metering_checkbox_list
|
|
435 |
// Used in checkbox list.
|
|
436 |
//
|
|
437 |
// ---------------------------------------------------------
|
|
438 |
//
|
|
439 |
RESOURCE AVKON_MULTISELECTION_LIST r_drm_settings_metering_checkbox_list
|
|
440 |
{
|
|
441 |
}
|
|
442 |
|
|
443 |
//------------------------------------------------------------------------------
|
|
444 |
//
|
|
445 |
// r_usage_reporting_list_title
|
|
446 |
// Title text for usage reporting listbox
|
|
447 |
//
|
|
448 |
//------------------------------------------------------------------------------
|
|
449 |
//
|
|
450 |
RESOURCE TBUF r_usage_reporting_list_title
|
|
451 |
{
|
|
452 |
buf=qtn_drm_set_popup_usage_report;
|
|
453 |
}
|
|
454 |
|
|
455 |
|
|
456 |
//------------------------------------------------------------------------------
|
|
457 |
//
|
|
458 |
// r_usage_reporting_list_empty
|
|
459 |
// Empty text for usage reporting listbox
|
|
460 |
//
|
|
461 |
//------------------------------------------------------------------------------
|
|
462 |
//
|
|
463 |
RESOURCE TBUF r_usage_reporting_list_empty
|
|
464 |
{
|
|
465 |
buf=qtn_drm_set_pane_no_providers;
|
|
466 |
}
|
|
467 |
|
|
468 |
|
|
469 |
//------------------------------------------------------------------------------
|
|
470 |
//
|
|
471 |
// r_drm_set_several_services
|
|
472 |
// 'Several' value for 'Allow usage reporting for' field
|
|
473 |
//
|
|
474 |
//------------------------------------------------------------------------------
|
|
475 |
//
|
|
476 |
RESOURCE TBUF r_drm_set_several_services
|
|
477 |
{
|
|
478 |
buf=qtn_drm_set_several_services;
|
|
479 |
}
|
|
480 |
|
|
481 |
|
|
482 |
//------------------------------------------------------------------------------
|
|
483 |
//
|
|
484 |
// r_drm_set_usage_report_none
|
|
485 |
// 'None' value for 'Allow usage reporting for' field
|
|
486 |
//
|
|
487 |
//------------------------------------------------------------------------------
|
|
488 |
//
|
|
489 |
RESOURCE TBUF r_drm_set_usage_report_none
|
|
490 |
{
|
|
491 |
buf=qtn_drm_set_usage_report_none;
|
|
492 |
}
|
|
493 |
|
|
494 |
|
|
495 |
//------------------------------------------------------------------------------
|
|
496 |
//
|
|
497 |
// r_drm_confirmation_query_metering
|
|
498 |
// Confirmation query dialog.
|
|
499 |
//
|
|
500 |
//------------------------------------------------------------------------------
|
|
501 |
//
|
|
502 |
RESOURCE DIALOG r_drm_confirmation_query_metering
|
|
503 |
{
|
|
504 |
flags=EGeneralQueryFlags;
|
|
505 |
buttons=R_AVKON_SOFTKEYS_YES_NO__YES;
|
|
506 |
items=
|
|
507 |
{
|
|
508 |
DLG_LINE
|
|
509 |
{
|
|
510 |
type=EAknCtQuery;
|
|
511 |
id=EGeneralQuery;
|
|
512 |
control= AVKON_CONFIRMATION_QUERY
|
|
513 |
{
|
|
514 |
layout = EConfirmationQueryLayout;
|
|
515 |
label = " ";
|
|
516 |
};
|
|
517 |
}
|
|
518 |
};
|
|
519 |
}
|
|
520 |
|
|
521 |
//------------------------------------------------------------------------------
|
|
522 |
//
|
|
523 |
// r_drm_conf_query_metering
|
|
524 |
// Confirmation query text.
|
|
525 |
//
|
|
526 |
//------------------------------------------------------------------------------
|
|
527 |
//
|
|
528 |
RESOURCE TBUF r_drm_conf_query_metering
|
|
529 |
{
|
|
530 |
buf=qtn_drm_conf_query_metering;
|
|
531 |
}
|
|
532 |
|
|
533 |
//End of File
|