os/graphics/graphicsdeviceinterface/bitgdi/tbit/tfontselect.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 /**
    17  @file
    18  @test
    19  @internalComponent - Internal Symbian test code 
    20 */
    21 
    22 
    23 #if !defined(__TFONTSELECT_H__)
    24 #define __TFONTSELECT_H__
    25 
    26 #include <test/testexecutestepbase.h>
    27 #include "TGraphicsHarness.h"
    28 
    29 
    30 class CTFontSelect : public CTGraphicsBase
    31 	{
    32 public:
    33 	CTFontSelect(CTestStep* aStep);
    34 	~CTFontSelect();
    35 	void ConstructL();
    36 protected:
    37 //from 	CTGraphicsStep
    38 	virtual void RunTestCaseL(TInt aCurTestCase);
    39 private:
    40 	void DoFontSelectTestsL();
    41 private:
    42 	CFbsFont* iFont1;
    43 	CFbsFont* iFont2;
    44 	CFbsFont* iFont3;
    45 	CFbsBitGc* iGc;
    46 	CFbsScreenDevice* iDevice;
    47 	};
    48 
    49 class CTFontSelectStep : public CTGraphicsStep
    50 	{
    51 public:
    52 	CTFontSelectStep();
    53 protected:	
    54 	//from CTGraphicsStep
    55 	virtual CTGraphicsBase* CreateTestL();
    56 	virtual void TestSetupL();
    57 	virtual void TestClose();
    58 	};
    59 
    60 _LIT(KTFontSelectStep,"TFontSelect");
    61 
    62 #endif	// __TFONTSELECT_H__