photosgallery/collectionframework/plugins/glxcollectionpluginall/data/2000A7C0.rss
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     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  * @internal reviewed 13/06/2007 by Alex Birkett
       
    23  * @internal reviewed 24/07/2007 by K Hoikka, SCO 403-8472 removal of all view
       
    24  */
       
    25 
       
    26 /**
       
    27  * @bug:minor:abirkett:13/06/2007: Missing author.
       
    28  */
       
    29 
       
    30 #include <ecom/registryinfo.rh>
       
    31 #include "glxcollectionpluginall.hrh"
       
    32 #include <photos.loc>
       
    33 #include <glxcollectionplugintype.hrh>
       
    34 #include <glxcollectionpluginpriority.hrh>              //Uid of the plugine for priority in opaque-data
       
    35 #include <bldvariant.hrh>       // for v8.0 feature flags
       
    36 
       
    37 /**
       
    38  * Bug Fix @ ESLM-7VWF28 :: In case the "ALL" Collection should not be shown in the Photos Matrix Menu View,
       
    39  * then Uncomment the following line inorder to define the Macro " GLX_NO_ALL_VIEW "
       
    40  */
       
    41 //#define GLX_NO_ALL_VIEW
       
    42 
       
    43 /**
       
    44  * The opaque_data syntax is made up of three parts: 
       
    45  * a list of Uids for resolving the view plugin, feature flags, priority.
       
    46  * 
       
    47  * <p>uid1;uid2;uid3</p>
       
    48  *  uid*: Supported plugin types.
       
    49  *  E.g. if podcast plugin may support music plugin as well, KMPXColPluginMusic
       
    50  *
       
    51  * <t>uid</t>
       
    52  *  uid: plugin type uid.
       
    53  *  E.g. for music plugin will be: 0x101FFCDA
       
    54  *
       
    55  * <f>flags</f> [optional]
       
    56  *  flags: sum of the required feature flags, not used now
       
    57  *
       
    58  * <i>priority</i> [optional]
       
    59  *  priority: a value of type TMPXCollectionPluginPriorities. This value determines
       
    60  *  the returning order when several plugins can support the same set of Uids. 
       
    61  *  Default value of this field is EMPXCollectionPluginPriorityNormal.
       
    62  */
       
    63 RESOURCE REGISTRY_INFO theInfo
       
    64     {
       
    65     dll_uid = KGlxCollectionPluginAllDllUid;
       
    66 
       
    67     interfaces = 
       
    68         {
       
    69         INTERFACE_INFO
       
    70             {
       
    71             interface_uid = 0x101FFC36;
       
    72             implementations = 
       
    73                 {
       
    74                 IMPLEMENTATION_INFO
       
    75                     {
       
    76                     implementation_uid = KGlxCollectionPluginAllImplementationUid;
       
    77                     version_no = 1;
       
    78                     display_name = qtn_lgal_list_title_all;
       
    79                     default_data = "";
       
    80 #ifdef GLX_NO_ALL_VIEW
       
    81                     opaque_data = "<i>"EGlxCollectionPluginAll"</i>"
       
    82                                   "<f>0x0001</f>";   // KMPXVpFeaturePreLoaded (yet to be defined) Keeps the plugin loaded
       
    83 #else
       
    84 // specify that this collection plugin should be shown in the main list view
       
    85                     opaque_data = "<t>"EGlxCollectionPluginShowInMainListView"</t>"
       
    86                                   "<i>"EGlxCollectionPluginAll"</i>"
       
    87                                   "<f>0x0001</f>";   // KMPXVpFeaturePreLoaded (yet to be defined) Keeps the plugin loaded
       
    88 #endif                    
       
    89                     }
       
    90                 };
       
    91             }
       
    92         };
       
    93     }
       
    94             
       
    95 
       
    96 
       
    97