|
1 /* |
|
2 * Copyright (c) 2000 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 |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 // INCLUDES |
|
23 #include <ecom/registryinfo.rh> |
|
24 #include <mpxviewplugin.hrh> |
|
25 #include <shwslideshowviewplugin.hrh> |
|
26 |
|
27 |
|
28 |
|
29 // RESOURCE DEFINITIONS |
|
30 |
|
31 /** |
|
32 * The opaque_data syntax is made up of three parts: |
|
33 * a list of Uids for resolving the view plugin, feature flags, priority. |
|
34 * |
|
35 * <p>uid1;uid2;uid3</p> |
|
36 * uid*: uid of the supported Playback/Collection plugin. |
|
37 * E.g. if the view plugin supports Local Playback plugin, the list of |
|
38 * uids will be: 0x101FFC06 |
|
39 * |
|
40 * <t>uid</t> |
|
41 * uid: plugin type uid. |
|
42 * E.g. if the view plugin supports playback type, uid will be: 0x101FFCA0 |
|
43 * |
|
44 * <f>flags</f> [optional] |
|
45 * flags: sum of the required feature flags that listed in mpxviewplugin.hrh. |
|
46 * E.g. if the view plugin needs to be pre-loaded and it's user-selectable, |
|
47 * then flags = KMPXVpFeaturePreLoaded + KMPXVpFeatureUserSelectable = 0x0003. |
|
48 * |
|
49 * <i>priority</i> [optional] |
|
50 * priority: a value of type TMPXViewPluginPriorities. This value determines |
|
51 * which view plugin will be resolved when several plugins can support the |
|
52 * same set of Uids. |
|
53 * Default value of this field is EMPXViewPluginPriorityNormal. |
|
54 */ |
|
55 |
|
56 RESOURCE REGISTRY_INFO theInfo |
|
57 { |
|
58 dll_uid = 0x2000719A; |
|
59 |
|
60 interfaces = |
|
61 { |
|
62 INTERFACE_INFO |
|
63 { |
|
64 interface_uid = KMPXViewPluginInterfaceUid; |
|
65 implementations = |
|
66 { |
|
67 IMPLEMENTATION_INFO |
|
68 { |
|
69 implementation_uid = KShwSlideshowViewImplementationId; |
|
70 version_no = 1; |
|
71 display_name = "Slideshow view"; |
|
72 default_data = ""; |
|
73 /** @todo - check the opaque data values */ |
|
74 opaque_data = "<p>0x20007199</p>" |
|
75 "<t>0x2000719A</t>" |
|
76 "<f>0x0002</f>" |
|
77 "<i>"EMPXViewPluginPriorityLowest"</i>"; |
|
78 } |
|
79 }; |
|
80 } |
|
81 }; |
|
82 } |
|
83 // End of File |