graphicsapitest/graphicssvs/bitgdi/inc/T_DataFbsBitGcBitmap.h
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     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 "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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef T_DATAFBSBITGCBITMAP_H_
       
    19 #define T_DATAFBSBITGCBITMAP_H_
       
    20 
       
    21 #include "T_DataFbsBitmap.h"
       
    22 
       
    23 
       
    24 class CT_DataFbsBitGcBitmap : public CT_DataFbsBitmap
       
    25 	{
       
    26 public:
       
    27 	static CT_DataFbsBitGcBitmap* NewL();
       
    28 
       
    29 	~CT_DataFbsBitGcBitmap();
       
    30 
       
    31 	virtual TAny*	GetObject();
       
    32 	virtual void	SetObjectL(TAny* aAny);
       
    33 	virtual void	DisownObjectL();
       
    34 	virtual TBool	DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
       
    35 	
       
    36 protected:
       
    37 	CT_DataFbsBitGcBitmap();
       
    38     void ConstructL();
       
    39 	virtual CFbsBitmap*	GetFbsBitmap() const;
       
    40 	
       
    41 private:
       
    42 	void DestroyData();
       
    43 	void DoCmdDestructor();
       
    44 	void DoCmdNewL();
       
    45 	void DoCmdAddress(const TDesC& aSection);
       
    46 	void DoCmdLockHeap();
       
    47 	void DoCmdUnlockHeap();
       
    48 private:	
       
    49 	CFbsBitGcBitmap* iFbsBitGcBitmap;
       
    50 	
       
    51 	};
       
    52 
       
    53 #endif /*T_DATAFBSBITGCBITMAP_H_*/
       
    54