os/textandloc/fontservices/fontstore/tfs/T_SHAPERCACHE.H
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 2007-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_SHAPERCACHE_H__
    27 #define __T_SHAPERCACHE_H__
    28 
    29 #include <fntstore.h>
    30 #include "TGraphicsHarness.h"
    31 
    32 
    33 class CTShaperCache : public CTGraphicsBase
    34 	{
    35 public:
    36 	CTShaperCache(CTestStep* aStep);
    37 	~CTShaperCache();
    38 protected:
    39 //from 	CTGraphicsStep
    40 	virtual void RunTestCaseL(TInt aCurTestCase);
    41 	virtual void ConstructL();
    42 private:
    43 	void Test1L();
    44 	void Test2L();
    45 	void TestShaperCacheAPIsL();
    46 private:
    47 	RHeap* iHeap;
    48 	CFontStore* iFontStore;
    49 	};
    50 
    51 
    52 class CTShaperCacheStep : public CTGraphicsStep
    53 	{
    54 public:
    55 	CTShaperCacheStep();
    56 protected:	
    57 	//from CTGraphicsStep
    58 	virtual CTGraphicsBase* CreateTestL();
    59 	};
    60 
    61 _LIT(KTShaperCacheStep,"TShaperCache");
    62 
    63 
    64 
    65 #endif