menucontentsrv/srvinc/mcsgetlistflatcreator.h
changeset 0 79c6a41cd166
equal deleted inserted replaced
-1:000000000000 0:79c6a41cd166
       
     1 /*
       
     2 * Copyright (c) 2008 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:  This class implements MMcsGetListCreatorInterface. It builds flat 
       
    15 *   output list for getlist operation 
       
    16 *
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef __MCSGETLISTFLATCREATOR_H__
       
    22 #define __MCSGETLISTFLATCREATOR_H__
       
    23 
       
    24 #include <e32base.h>
       
    25 #include "mcsgetlistcreatorinterface.h"
       
    26 
       
    27 //forward declarations
       
    28 class CMenuSrvEng;
       
    29 
       
    30 /*
       
    31  *  GetList flat list creator
       
    32  *  @lib mcsmenu.lib
       
    33  *  @since S60 v5.0
       
    34  */
       
    35 NONSHARABLE_CLASS( CMcsGetlistFlatCreator ): public CMcsGetListCreatorInterface
       
    36     {
       
    37 public:
       
    38 	/**
       
    39 	*   Factory method.
       
    40 	*/
       
    41     static CMcsGetlistFlatCreator* NewL( CMenuSrvEng& aEng );
       
    42 
       
    43     /**
       
    44     *   Destructor.
       
    45     */
       
    46     ~CMcsGetlistFlatCreator();
       
    47 
       
    48 //from MMcsGetListCreatorInterface
       
    49 	CLiwDefaultList* CreateLC( RArray<TMenuItem>& aIdsArray,
       
    50 			CDesC16Array* aRequiredAttributes,
       
    51 			CDesC16Array* aIgnoredAttributes );
       
    52 
       
    53 private:
       
    54 	/**
       
    55 	*   Constructor.
       
    56 	*/
       
    57 	CMcsGetlistFlatCreator( CMenuSrvEng& aEng );
       
    58 
       
    59 	/**
       
    60 	 * 2nd phase constructor
       
    61 	 */
       
    62 	void ConstructL();
       
    63     };
       
    64 	
       
    65 #endif // __MCSGETLISTFLATCREATOR_H__