fontservices/fontstore/tfs/t_linkedfontscapability.h
changeset 32 8b9155204a54
parent 0 1fb32624e06b
equal deleted inserted replaced
31:b9ad20498fb4 32:8b9155204a54
       
     1 /*
       
     2 * Copyright (c) 2008-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 
       
    19 #ifndef T_LINKEDFONTSCAPABILITY_H_
       
    20 #define T_LINKEDFONTSCAPABILITY_H_
       
    21 
       
    22 #include "TGraphicsHarness.h"
       
    23 
       
    24 class CTLinkedFontsCapabilityStep : public CTGraphicsStep
       
    25 	{
       
    26 public:
       
    27 	CTLinkedFontsCapabilityStep();
       
    28 protected:
       
    29 	// From CTGraphicsStep
       
    30 	virtual CTGraphicsBase* CreateTestL();
       
    31 	};
       
    32 
       
    33 _LIT(KTLinkedFontsCapabilityStep, "TLinkedFontsCapability");
       
    34 
       
    35 class CTLinkedFontsCapability : public CTGraphicsBase
       
    36 	{
       
    37 public:
       
    38 	CTLinkedFontsCapability(CTestStep* aStep);
       
    39 	~CTLinkedFontsCapability();
       
    40 	virtual void RunTestCaseL(TInt aCurTestCase);
       
    41 
       
    42 private:
       
    43 	void CreateBitmapDeviceL(TDisplayMode aMode);
       
    44 	void TestRegisterL();
       
    45 	void TestFetchL();
       
    46 	void CheckLinkedFontsRasterizerInstalledL();
       
    47 	TBool LinkedFontsRasterizerPresent();
       
    48 private:
       
    49 	TBool iHaveRasterizer;
       
    50 	CFbsBitmapDevice* iBitmapDevice;
       
    51 	CFbsBitmap* iBitmap;
       
    52 	CFbsBitGc* iGc;
       
    53 	};
       
    54 
       
    55 #endif /*T_LINKEDFONTS2_H_*/