common/tools/ats/smoketest/graphics/bitgdi/inc/T_DataFbsBitGcBitmap.h
changeset 833 6ffc235847d0
child 872 17498133d9ad
equal deleted inserted replaced
832:9b2bf01d4d36 833:6ffc235847d0
       
     1 //
       
     2 // Copyright (c) 2005-2009 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 the License "Symbian Foundation License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description:
       
    15 //
       
    16 
       
    17 #ifndef T_DATAFBSBITGCBITMAP_H_
       
    18 #define T_DATAFBSBITGCBITMAP_H_
       
    19 
       
    20 #include "T_DataFbsBitmap.h"
       
    21 
       
    22 
       
    23 class CT_DataFbsBitGcBitmap : public CT_DataFbsBitmap
       
    24 	{
       
    25 public:
       
    26 	static CT_DataFbsBitGcBitmap* NewL();
       
    27 
       
    28 	~CT_DataFbsBitGcBitmap();
       
    29 
       
    30 	virtual TAny*	GetObject();
       
    31 	virtual void	SetObjectL(TAny* aAny);
       
    32 	virtual void	DisownObjectL();
       
    33 	virtual TBool	DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
       
    34 	
       
    35 protected:
       
    36 	CT_DataFbsBitGcBitmap();
       
    37     void ConstructL();
       
    38 	virtual CFbsBitmap*	GetFbsBitmap() const;
       
    39 	
       
    40 private:
       
    41 	void DestroyData();
       
    42 	void DoCmdDestructor();
       
    43 	void DoCmdNewL();
       
    44 	void DoCmdAddress(const TDesC& aSection);
       
    45 	void DoCmdLockHeap();
       
    46 	void DoCmdUnlockHeap();
       
    47 private:	
       
    48 	CFbsBitGcBitmap* iFbsBitGcBitmap;
       
    49 	
       
    50 	};
       
    51 
       
    52 #endif /*T_DATAFBSBITGCBITMAP_H_*/
       
    53