photosgallery/viewframework/plugins/listviewplugin/data/20000a0b.rss
author Simon Howkins <simonh@symbian.org>
Mon, 29 Nov 2010 11:47:03 +0000
branchRCL_3
changeset 78 dbcb928abe9c
parent 0 4e91876724a2
permissions -rw-r--r--
Adjusted to avoid exports, etc, from a top-level bld.inf

/*
* 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 "glxlistviewplugin.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 Tile 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 = KGlxListPluginDllUid;

    interfaces = 
        {
        INTERFACE_INFO
            {
            interface_uid = KMPXViewPluginInterfaceUid;
            implementations = 
                {
                IMPLEMENTATION_INFO
                    {
                    implementation_uid = KGlxMainListViewImplementationUid;
                    version_no = 1;
                    display_name = "Main view";
                    default_data = "";
                    opaque_data = "<p>0x200071CC</p>"
                        		  "<t>0x20000A0C</t>"
                                  "<f>0x0002</f>"
                                  "<i>"EMPXViewPluginPriorityLowest"</i>";
                    },
                IMPLEMENTATION_INFO
                    {
                    implementation_uid = KGlxAlbumListViewImplementationUid;
                    version_no = 1;
                    display_name = "Album view";
                    default_data = "";
                    opaque_data = "<p>0x200104DC;0x2000A775;0x20007197;0x20007197;0x20007197;0x20007197</p>"
                        		  "<t>0x20000A0E</t>"
                                  "<f>0x0002</f>"
                                  "<i>"EMPXViewPluginPriorityLowest"</i>";
                    },
                IMPLEMENTATION_INFO
                    {
                    implementation_uid = KGlxMonthListViewImplementationUid;
                    version_no = 1;
                    display_name = "Month view";
                    default_data = "";
                    opaque_data = "<p>0x200104DC;0x2000A775;0x2000A769;0x2000A769;0x2000A769;0x2000A769</p>"
                        		  "<t>0x2000718C</t>"
                                  "<f>0x0002</f>"
                                  "<i>"EMPXViewPluginPriorityLowest"</i>";
                    }
                };
            }
        };
    }

// End of File