wvuing/wvvariant/Src/CCAVariantFactoryImp.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     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:  Concrete implementation of variation factory class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CCAVARIANTFACTORYIMP_H
       
    21 #define CCAVARIANTFACTORYIMP_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include "CCAVariantFactoryImp.h"
       
    25 #include "CCAVariantFactory.h"
       
    26 #include "CCASkinVariant20.h"
       
    27 #include "CCAOpBrandVariant21.h"
       
    28 #include "CCAAHVariant20.h"
       
    29 #include <bldvariant.hrh>
       
    30 
       
    31 // FORWARD DECLARATIONS
       
    32 class MCASkinVariant;
       
    33 
       
    34 // CLASS DECLARATION
       
    35 
       
    36 /**
       
    37 *  Concrete implementation of variation factory class.
       
    38 *  See comments from base class CCAVariantFactory.h.
       
    39 *
       
    40 *  @lib chatng.app
       
    41 *  @since 1.2s
       
    42 */
       
    43 class CCAVariantFactoryImp : public CCAVariantFactory
       
    44     {
       
    45     public:  // Constructors and destructor
       
    46 
       
    47         /**
       
    48         * Two-phased constructor.
       
    49         */
       
    50         static CCAVariantFactoryImp* NewL();
       
    51 
       
    52         /**
       
    53         * Destructor.
       
    54         */
       
    55         virtual ~CCAVariantFactoryImp();
       
    56 
       
    57 
       
    58     public: // Functions from base classes
       
    59 
       
    60         /**
       
    61         * From CCAVariantFactory
       
    62         * @since 1.2s
       
    63         * See method comments from CCAVariantFactory.h.
       
    64         */
       
    65         MCASkinVariant*	SkinVariantL();
       
    66         MCAOpBrandVariant*	OpBrandVariantL();
       
    67         MCAAHVariant*		AHVariantL();
       
    68 
       
    69 
       
    70     private:
       
    71 
       
    72         /**
       
    73         * C++ default constructor.
       
    74         */
       
    75         CCAVariantFactoryImp();
       
    76 
       
    77     private:    // Data
       
    78 
       
    79         // active skin variant
       
    80         CCASkinVariant20* iSkinVariant;
       
    81         // active resource file&bitmap changing variant
       
    82         CCAOpBrandVariant21* iOpBrandVariant;
       
    83         // active A/H variant
       
    84         CCAAHVariant20* iAHVariant;
       
    85 
       
    86     };
       
    87 
       
    88 #endif      // CCAVARIANTFACTORYIMP_H
       
    89 
       
    90 // End of File