mmappfw_plat/mpx_view_utility_api/inc/mpxviewpluginmanager.h
changeset 0 a2952bb97e68
equal deleted inserted replaced
-1:000000000000 0:a2952bb97e68
       
     1 /*
       
     2 * Copyright (c) 2006 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:  MPX view plugin manager interface definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MMPXVIEWPLUGINMANAGER_H
       
    21 #define MMPXVIEWPLUGINMANAGER_H
       
    22 
       
    23 
       
    24 // INCLUDES
       
    25 #include <e32std.h>
       
    26 #include <badesca.h>
       
    27 
       
    28 
       
    29 // CLASS DECLARATION
       
    30 class CMPXViewPlugin;
       
    31 
       
    32 /**
       
    33  *  MPX view plugin manager interface.
       
    34  *
       
    35  *  @lib mpxviewutility.lib
       
    36  */
       
    37 NONSHARABLE_CLASS( MMPXViewPluginManager )
       
    38     {
       
    39 public:
       
    40 
       
    41     /**
       
    42      * Resolve view plugin based on the criteria passed in parameter.
       
    43      *
       
    44      * @since S60 3.2.3
       
    45      * @param aUid Specific view plugin uid or plugin type uid.
       
    46      * @param aResolvedPluginType On return, stores the plugin type of
       
    47      *                            the returned pointer
       
    48      * @return Pointer to a view plugin object. Leave if not found.
       
    49      */
       
    50     virtual CMPXViewPlugin* ResolvePluginL(
       
    51         const TUid& aUid, TUid& aResolvedPluginType ) = 0;
       
    52 
       
    53     /**
       
    54      * Resolve view plugin based on the criteria passed in parameter.
       
    55      *
       
    56      * @since S60 3.2.3
       
    57      * @param aUids List of Uids, including specific view plugin uid and/or
       
    58      *              plugin type uid.
       
    59      * @param aResolvedPluginType On return, stores the plugin type of
       
    60      *                            the returned pointer
       
    61      * @return Pointer to a view plugin object. Leave if not found.
       
    62      */
       
    63     virtual CMPXViewPlugin* ResolvePluginL(
       
    64         const RArray<TUid>& aUids, TUid& aResolvedPluginType ) = 0;
       
    65 
       
    66     /**
       
    67      * Return view plugin with specific view plugin implementation uid.
       
    68      *
       
    69      * @since S60 3.2.3
       
    70      * @param aUid Specific view plugin uid.
       
    71      * @return Pointer to a view plugin object. Leave if not found.
       
    72      */
       
    73     virtual CMPXViewPlugin* PluginL(
       
    74         const TUid& aUid ) = 0;
       
    75     };
       
    76 
       
    77 #endif  // MMPXVIEWPLUGINMANAGER_H
       
    78 
       
    79 // End of File