|
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: Resource file |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <ecom/registryinfo.rh> |
|
20 #include <mpxcollectionplugin.hrh> |
|
21 #include "mpxpluginresource.hrh" |
|
22 |
|
23 /** |
|
24 * The opaque_data syntax is made up of three parts: |
|
25 * a list of Uids for resolving the view plugin, feature flags, priority. |
|
26 * |
|
27 * <p>uid1;uid2;uid3</p> |
|
28 * uid*: Supported plugin types. |
|
29 * E.g. if podcast plugin may support music plugin as well, KMPXColPluginMusic |
|
30 * |
|
31 * <t>uid</t> |
|
32 * uid: plugin type uid. |
|
33 * E.g. for music plugin will be: 0x101FFCDA |
|
34 * |
|
35 * <f>flags</f> [optional] |
|
36 * flags: sum of the required feature flags |
|
37 * Collection specific flags include: |
|
38 * EMPXCollectionPluginFlagCacheable - Are media results cachable in the collection cache |
|
39 * General flags include: |
|
40 * EMPXPluginFlagPreLoad - Should the plugin be pre loaded when the collection starts |
|
41 * |
|
42 * |
|
43 * <i>priority</i> [optional] |
|
44 * priority: a value of type TMPXCollectionPluginPriorities. This value determines |
|
45 * the returning order when several plugins can support the same set of Uids. |
|
46 * Default value of this field is EMPXCollectionPluginPriorityNormal. |
|
47 * |
|
48 * <c>non-cacheable attributes</c> optional |
|
49 * List of content IDs that cannot be cached in the collection cache. |
|
50 * The list is a list of hexidecimal numbers, semicolon seperated |
|
51 * For example, <c>0x101FFC45</c> not cache media objects w/ drm attributes |
|
52 * |
|
53 */ |
|
54 |
|
55 RESOURCE REGISTRY_INFO theInfo |
|
56 { |
|
57 dll_uid = 0x10207C85; |
|
58 |
|
59 interfaces = |
|
60 { |
|
61 INTERFACE_INFO |
|
62 { |
|
63 interface_uid = KMPXCollectionPluginInterfaceUid; |
|
64 implementations = |
|
65 { |
|
66 IMPLEMENTATION_INFO |
|
67 { |
|
68 implementation_uid = 0x101FFC3A; |
|
69 version_no = 1; |
|
70 display_name = ""; |
|
71 default_data = "audio/mp3;audio/x-mp3;audio/mp4;audio/3gpp;audio/3gpp2;audio/wav;audio/x-wav;audio/x-au;audio/au;audio/3gp;audio/mpeg;audio/aac;audio/x-ms-wma;x-caf-audio/x-ms-wma;audio/x-pn-realaudio;audio/x-realaudio;audio/vnd.rn-realaudio"; |
|
72 opaque_data = "<s>*<e>.mp3;.aac;.3gp;.3gpp;.3g2;.3gpp2;.m4a;.wav;.mp4;.wma;.dcf;.odf;.asf;.m3u;.rm;.ra;.o4a;.dm;.3ga" |
|
73 "<t>"EMPXCollectionPluginMusic"</t>" |
|
74 "<i>"EMPXPluginPriorityHighest"</i>" |
|
75 "<c>"EDRMContentId"</c>" // DRM |
|
76 "<f>"EPreloadAndCache"</f>"; |
|
77 } |
|
78 }; |
|
79 } |
|
80 }; |
|
81 } |
|
82 |
|
83 // End of file |