photosgallery/viewframework/plugins/gridviewplugin/data/20000a03.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 27 Apr 2010 16:37:53 +0300
branchRCL_3
changeset 25 191387a8b767
parent 0 4e91876724a2
permissions -rw-r--r--
Revision: 201015 Kit: 201017

/*
* 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 <ecom/registryinfo.rh>
#include <mpxviewplugin.hrh>
#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.
 * 
 * <p>uid1;uid2;uid3</p>
 *  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> <\p> tags so the values had to be used
 *
 * <t>uid</t>
 *  uid: plugin type uid.
 *  E.g. if the view plugin supports playback type, uid will be: 0x101FFCA0
 *
 * <f>flags</f> [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.
 *
 * <i>priority</i> [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 = "<p>0x200104DC;0x2000A775;0x2000A7C1;0x2000A7C1;0x2000A7C1;0x2000A7C1</p>"
                    		  "<t>0x20000A04</t>"
                                  "<f>0x0002</f>"
                                  "<i>"EMPXViewPluginPriorityLowest"</i>";
                    }
                };
            implementations = 
                {
                IMPLEMENTATION_INFO
                    {
                    implementation_uid = KGlxAlbumGridViewImplementationId;
                    version_no = 1;
                    display_name = "Album Grid view";
                    default_data = "";
                    opaque_data = "<p>0x200104DC;0x2000A776;0x20007197;0x20007197;0x20007197;0x20007197;</p>"
                    		  "<t>0x2000A772</t>"
                                  "<f>0x0002</f>"
                                  "<i>"EMPXViewPluginPriorityLowest"</i>";
                    }
                };
            implementations = 
                {
                IMPLEMENTATION_INFO
                    {
                    implementation_uid = KGlxDownloadsGridViewImplementationId;
                    version_no = 1;
                    display_name = "Downloads Grid view";
                    default_data = "";
                    opaque_data = "<p>0x200104DC;0x2000A775;0x2000a76b;0x2000a76b;0x2000a76b;0x2000a76b</p>"
                    		  "<t>0x2000A774</t>"
                                  "<f>0x0002</f>"
                                  "<i>"EMPXViewPluginPriorityLowest"</i>";
                    }
                };
                
            implementations = 
                {
                IMPLEMENTATION_INFO
                    {
                    implementation_uid = KGlxCameraAlbumGridViewImplementationId;
                    version_no = 1;
                    display_name = "Camera Albums Grid view";
                    default_data = "";
                    opaque_data = "<p>0x200104DC;0x2000A775;2000A767;0x2000A767;0x2000A767;0x2000A767</p>"
                    		  "<t>0x2000A773</t>"
                                  "<f>0x0002</f>"
                                  "<i>"EMPXViewPluginPriorityLowest"</i>";
                    }
                };
                
           implementations = 
                {
                IMPLEMENTATION_INFO
                    {
                    implementation_uid = KGlxMonthsGridViewImplementationId;
                    version_no = 1;
                    display_name = "Months Grid view";
                    default_data = "";
                    opaque_data = "<p>0x200104DC;0x2000A776;0x2000A769;0x2000A769;0x2000A769;0x2000A769</p>"
                    		  "<t>0x2000718E</t>"
                                  "<f>0x0002</f>"
                                  "<i>"EMPXViewPluginPriorityLowest"</i>";
                    }
                };
                implementations = 
                {
                IMPLEMENTATION_INFO
                    {
                    implementation_uid = KGlxTagGridViewPluginImplementationUid;
                    version_no = 1;
                    display_name = "Tag Grid view";
                    default_data = "";
                    opaque_data = "<p>0x200104DC;0x2000A776;0x200071AE;0x200071AE;0x200071AE;0x200071AE</p>"                    
                    		  	  		"<t>0x2000A762</t>"
                                  "<f>0x0002</f>"
                                  "<i>"EMPXViewPluginPriorityLowest"</i>";
                    }
                };   
                
            }
        };
    }

// End of File