imstutils/imconversationview/imcvuiapp/inc/mimcvuiappskinvariant.h
branchRCL_3
changeset 22 3104fc151679
parent 21 2b7283837edb
child 23 9a48e301e94b
--- a/imstutils/imconversationview/imcvuiapp/inc/mimcvuiappskinvariant.h	Thu Aug 19 09:41:53 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,113 +0,0 @@
-/*
-* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  skin variation  base class
-*
-*/
-
-
-#ifndef MIMCVUIAPPSKINVARIANT_H
-#define MIMCVUIAPPSKINVARIANT_H
-
-//  INCLUDES
-#include <e32base.h>
-
-// FORWARD DECLARATIONS
-class CWindowGc;
-class CCoeControl;
-class MAknsControlContext;
-class CGulIcon;
-class TRgb;
-
-// CLASS DECLARATION
-
-/**
-*  Interface class for skin variant.
-*  @imcvuiapp.exe
-*  @since 5.0
-*/
-class MIMCVUiAppSkinVariant
-    {
-
-    public: // New functions
-        
-       
-        /**
-        * Clears listbox background.
-        * @since 5.0
-        * @param aGc, graphics context to draw to.
-		* @param aUsedPortionOfViewRect, rect to draw to.
-		* @param aContext, skin control context.
-        */
-		virtual void ClearChatListBoxBackGround( 
-		                                CWindowGc& aGc, 
-										const TRect& aUsedPortionOfViewRect, 
-										MAknsControlContext* aContext ) = 0;
-        /**
-        * Returns main pane background control context.
-        * @since 5.0
-        * @return MAknsControlContext, skin control context.
-        */
-		virtual MAknsControlContext* MainPaneBackgroundContext() const = 0;
-	
-		/**
-		* Update layout for skinvariant
-		* @return None
-		*/
-		virtual void UpdateLayout() = 0;
-
-        /**
-        * Draws skinned version of the message editor.
-        * @since 5.0
-        * @param aGc, graphics context.
-		* @param aParentRect, rects needed for drawing
-		* @param aEditorRect
-		* @param aOutlineRect
-        * @return TBool, whether skins were drawn or not.
-        */
-		virtual TBool DrawSkinnedEditor( const CCoeControl* aControl, 
-										CWindowGc& aGc, 
-										TRect& aParentRect, 
-										TRect& aEditorRect, 
-										TRect& aOutlineRect ) = 0;
-										
-		 /**
-        * Loads skinned/normal IM application bitmaps.
-        * @since 1.2s
-        * @param aBitmapId, bitmap id
-        * @param aMaskId, bitmap mask's id
-        * @param aFullPath, bitmap path
-        * @param aOverrideBrand, if true, bitmap is got from skins, not through
-        *               brand bitmaps (if brand is active)
-        * @param aCustomColor  If provided, will change the color of the bitmap
-        *                      to this color.
-        * @return CGulIcon, created icon, user of this method gets the ownership
-        */
-        virtual CGulIcon* LoadBitmapL( TInt aBitmapId, TInt aMaskId,
-                                       const TDesC& aFullPath,
-                                       TBool aOverrideBrand = EFalse,
-                                       TRgb* aCustomColor = NULL ) = 0;
-                                       
-		/**
-		* virtual destructor
-		*/
-     	virtual ~MIMCVUiAppSkinVariant() 
-		     {
-		     	
-		     }
-
-    };
-
-#endif      // MIMCVUIAPPSKINVARIANT_H  
-            
-// End of File