graphics/bitgdi/inc/T_DataFbsBitGcFont.h
branchSymbian2
changeset 1 8758140453c0
child 6 c108117318cb
equal deleted inserted replaced
0:e8c1ea2c6496 1:8758140453c0
       
     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 #if (!defined __T_DATA_FBS_BITGC_FONT_H__)
       
    18 #define __T_DATA_FBS_BITGC_FONT_H__
       
    19 
       
    20 //	User includes
       
    21 #include "T_DataFbsFont.h"
       
    22 
       
    23 class CT_DataFbsBitGcFont : public CT_DataFbsFont
       
    24 	{
       
    25 public:
       
    26 	static CT_DataFbsBitGcFont*	NewL();
       
    27 	
       
    28 	~CT_DataFbsBitGcFont();
       
    29 
       
    30 	//	CTPData implementation
       
    31 	virtual TBool	DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
       
    32 	virtual TAny*	GetObject();
       
    33 	virtual void	SetObjectL(TAny* aObject);
       
    34 	virtual void	DisownObjectL();
       
    35 
       
    36 protected:
       
    37 	CT_DataFbsBitGcFont();
       
    38 	void	ConstructL();
       
    39 
       
    40 	// CT_DataFont implementation
       
    41 	virtual CFont*	GetFont() const;
       
    42 	
       
    43 	// CT_DataFbsFont implementation
       
    44 	virtual CFbsFont* GetFbsFont() const;
       
    45 
       
    46 private:
       
    47 	void	DoCmdNewL();
       
    48 	void	DoCmdDestructor();
       
    49 	
       
    50 	void 	DoCmdAddress();
       
    51 	void	DoCmdDuplicate(const TDesC& aSection);
       
    52 	void	DoCmdReset();
       
    53 
       
    54 
       
    55 protected:
       
    56 	/** test step reference*/
       
    57 	CFbsBitGcFont*	iFbsBitGcFont;
       
    58 	};
       
    59 
       
    60 #endif /* __T_DATA_FBS_BITGC_FONT_H__ */