wvuing/wvvariant/Src/CCASkinVariant12.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2002-2005 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: Skin Variant
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CCASKINVARIANT12_H
       
    20 #define CCASKINVARIANT12_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include "MCASkinVariant.h"
       
    24 #include <e32base.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CCoeControl;
       
    28 class MAknsControlContext;
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 * Skin variant
       
    34 *
       
    35 * @lib CAVariant
       
    36 */
       
    37 class CCASkinVariant12 : public CBase, public MCASkinVariant
       
    38     {
       
    39     public:  // Constructors and destructor
       
    40 
       
    41         /**
       
    42         * Two-phased constructor.
       
    43         */
       
    44         static CCASkinVariant12* NewL();
       
    45 
       
    46         /**
       
    47         * Destructor.
       
    48         */
       
    49         virtual ~CCASkinVariant12();
       
    50 
       
    51 
       
    52     public: // Functions from base classes
       
    53 
       
    54         /**
       
    55         * Flag for skin
       
    56         * @return Skin flag
       
    57         */
       
    58         TInt SkinFlag() const;
       
    59         void ClearChatListBoxBackGround( CWindowGc& aGc,
       
    60                                          const TRect& aUsedPortionOfViewRect, MAknsControlContext* aContext );
       
    61 
       
    62 
       
    63 
       
    64 
       
    65         MAknsControlContext* MainPaneBackgroundContext() const;
       
    66 
       
    67         TBool DrawSkinnedEditor( const CCoeControl* aControl,
       
    68                                  CWindowGc& aGc,
       
    69                                  TRect& aParentRect,
       
    70                                  TRect& aEditorRect,
       
    71                                  TRect& aOutlineRect );
       
    72 
       
    73         CGulIcon* LoadBitmapL( TInt aBitmapId, TInt aMaskId, const TDesC& aFullPath, TBool aOverrideBrand = EFalse );
       
    74 
       
    75 
       
    76     private:
       
    77 
       
    78         /**
       
    79         * C++ default constructor.
       
    80         */
       
    81         CCASkinVariant12();
       
    82 
       
    83         /**
       
    84         * By default Symbian 2nd phase constructor is private.
       
    85         */
       
    86         void ConstructL();
       
    87 
       
    88     };
       
    89 
       
    90 #endif      // CCASKINVARIANT12_H
       
    91 
       
    92 // End of File