os/textandloc/fontservices/fontstore/tfs/T_Cache.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 2006-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 /**
    20  @file
    21  @test
    22  @internalComponent Internal Symbian test code
    23 */
    24 
    25 
    26 #ifndef __T_CACHE_H__
    27 #define __T_CACHE_H__
    28 
    29 #include <fntstore.h>
    30 #include "TGraphicsHarness.h"
    31 #include <gdi.h>
    32 #include <fbs.h> 
    33 
    34 class CTCache : public CTGraphicsBase
    35 	{
    36 public:
    37 	CTCache(CTestStep* aStep);
    38 	 ~CTCache();
    39 protected:
    40 //from 	CTGraphicsStep
    41 	virtual void RunTestCaseL(TInt aCurTestCase);
    42 private:
    43 	void TFontCacheItem();
    44 	void TFontCache();
    45 	void TFontCacheForCov();
    46 	void TGlyphCacheItem();
    47 	void THintedGlyphCache();
    48 	void TUnHintedGlyphCache();
    49 	
    50 private:
    51     RHeap*               iHeap;
    52     };
    53 
    54 
    55 class CTCacheStep : public CTGraphicsStep
    56 	{
    57 public:
    58 	CTCacheStep();
    59 protected:	
    60 	//from CTGraphicsStep
    61 	virtual CTGraphicsBase* CreateTestL();
    62 	};
    63 
    64 _LIT(KTCacheStep,"TCache");
    65 
    66 #endif