mmappfw_plat/collection_helper_api/inc/mpxcollectionhelperfactory.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:  Factory class to construct collection helper classes
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MMPXCOLLECTIONHELPERFACTORY_H
       
    21 #define MMPXCOLLECTIONHELPERFACTORY_H
       
    22 
       
    23 #include <bautils.h>
       
    24 #include <mpxcollectionframeworkdefs.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CMPXMedia;
       
    28 class CMPXCollectionPath;
       
    29 class MMPXCollection;
       
    30 class MMPXHarvesterUtility;
       
    31 class MMPXCollectionHelper;
       
    32 class MMPXCollectionUiHelper;
       
    33  
       
    34 /**
       
    35  *  Factory class to construct collection helpers.
       
    36  *
       
    37  *  @lib mpxcollectionhelper.lib
       
    38  */
       
    39 class CMPXCollectionHelperFactory : public CBase
       
    40     {
       
    41 
       
    42 public:
       
    43  
       
    44     /**
       
    45     * Two phased constructor to create the collection UI helper.
       
    46 	* @since S60 3.2.3
       
    47     * @param aModeId collection client context id to bind to.
       
    48     * @return New CMPXCollectionUIHelper implementing instance based on aModeID
       
    49     */
       
    50     IMPORT_C static MMPXCollectionUiHelper* NewCollectionUiHelperL(const TUid& aModeId = KMcModeDefault);
       
    51 
       
    52     /**
       
    53     * Two phased constructor to create the general collection helper.
       
    54 	* @since S60 3.2.3
       
    55     * @return New CMPXCollectionHelper implementing instance
       
    56     */
       
    57     IMPORT_C static MMPXCollectionHelper* NewCollectionHelperL();
       
    58     
       
    59     /**
       
    60     * Two phased constructor to create the cached collection helper.
       
    61 	* @since S60 3.2.3
       
    62     * @return New CMPXCollectionCachedHelper implementing instance
       
    63     */
       
    64     IMPORT_C static MMPXCollectionHelper* NewCollectionCachedHelperL();
       
    65     
       
    66     };
       
    67        
       
    68 #endif // MMPXCOLLECTIONHELPERFACTORY_H