diff -r 000000000000 -r 4e91876724a2 photosgallery/viewframework/plugins/gridviewplugin/data/20000a03.rss --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/photosgallery/viewframework/plugins/gridviewplugin/data/20000a03.rss Thu Dec 17 08:45:44 2009 +0200 @@ -0,0 +1,160 @@ +/* +* Copyright (c) 2000 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Resource definitions +* +*/ + + + + + +// INCLUDES +#include +#include +#include "glxgridviewplugin.hrh" + +// RESOURCE DEFINITIONS + +/** + * The opaque_data syntax is made up of three parts: + * a list of Uids for resolving the view plugin, feature flags, priority. + * + *

uid1;uid2;uid3

+ * uid*: uid of the supported Playback/Collection plugin. + * E.g. if the view plugin supports Local Playback plugin, the list of + * uids will be: 0x101FFC06 + * Now the Opaque data can contain a Depth (Path Level) UID. + * This is to differentiate between the Album Plugin requires a List View (Depth 2 - list of Albums) + * and it requiring a Grid View (Depth 3 Contents of an album). + * However the Plugin ID must score higher than the depth. So now we must add the plugin Id 4 Times + * The value of the depths are KGlxDepthTwo - , KGlxDepthThree - 0x2000A776 and KGlxDepthFour - 0x200104DB + * I could not seem to use a #define in between the

<\p> tags so the values had to be used + * + * uid + * uid: plugin type uid. + * E.g. if the view plugin supports playback type, uid will be: 0x101FFCA0 + * + * flags [optional] + * flags: sum of the required feature flags that listed in mpxviewplugin.hrh. + * E.g. if the view plugin needs to be pre-loaded and it's user-selectable, + * then flags = KMPXVpFeaturePreLoaded + KMPXVpFeatureUserSelectable = 0x0003. + * + * priority [optional] + * priority: a value of type TMPXViewPluginPriorities. This value determines + * which view plugin will be resolved when several plugins can support the + * same set of Uids. + * Default value of this field is EMPXViewPluginPriorityNormal. + * + */ +RESOURCE REGISTRY_INFO theInfo + { + dll_uid = 0x20000A03; + + interfaces = + { + INTERFACE_INFO + { + interface_uid = KMPXViewPluginInterfaceUid; + implementations = + { + IMPLEMENTATION_INFO + { + implementation_uid = KGlxMainGridViewImplementationId; + version_no = 1; + display_name = "Main Grid view"; + default_data = ""; + opaque_data = "

0x200104DC;0x2000A775;0x2000A7C1;0x2000A7C1;0x2000A7C1;0x2000A7C1

" + "0x20000A04" + "0x0002" + ""EMPXViewPluginPriorityLowest""; + } + }; + implementations = + { + IMPLEMENTATION_INFO + { + implementation_uid = KGlxAlbumGridViewImplementationId; + version_no = 1; + display_name = "Album Grid view"; + default_data = ""; + opaque_data = "

0x200104DC;0x2000A776;0x20007197;0x20007197;0x20007197;0x20007197;

" + "0x2000A772" + "0x0002" + ""EMPXViewPluginPriorityLowest""; + } + }; + implementations = + { + IMPLEMENTATION_INFO + { + implementation_uid = KGlxDownloadsGridViewImplementationId; + version_no = 1; + display_name = "Downloads Grid view"; + default_data = ""; + opaque_data = "

0x200104DC;0x2000A775;0x2000a76b;0x2000a76b;0x2000a76b;0x2000a76b

" + "0x2000A774" + "0x0002" + ""EMPXViewPluginPriorityLowest""; + } + }; + + implementations = + { + IMPLEMENTATION_INFO + { + implementation_uid = KGlxCameraAlbumGridViewImplementationId; + version_no = 1; + display_name = "Camera Albums Grid view"; + default_data = ""; + opaque_data = "

0x200104DC;0x2000A775;2000A767;0x2000A767;0x2000A767;0x2000A767

" + "0x2000A773" + "0x0002" + ""EMPXViewPluginPriorityLowest""; + } + }; + + implementations = + { + IMPLEMENTATION_INFO + { + implementation_uid = KGlxMonthsGridViewImplementationId; + version_no = 1; + display_name = "Months Grid view"; + default_data = ""; + opaque_data = "

0x200104DC;0x2000A776;0x2000A769;0x2000A769;0x2000A769;0x2000A769

" + "0x2000718E" + "0x0002" + ""EMPXViewPluginPriorityLowest""; + } + }; + implementations = + { + IMPLEMENTATION_INFO + { + implementation_uid = KGlxTagGridViewPluginImplementationUid; + version_no = 1; + display_name = "Tag Grid view"; + default_data = ""; + opaque_data = "

0x200104DC;0x2000A776;0x200071AE;0x200071AE;0x200071AE;0x200071AE

" + "0x2000A762" + "0x0002" + ""EMPXViewPluginPriorityLowest""; + } + }; + + } + }; + } + +// End of File