os/graphics/graphicsdeviceinterface/bitgdi/tbit/tbase.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 1997-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 #if !defined(__TBASE_H__)
    17 #define __TBASE_H__
    18 
    19 #include "TGDI.H"
    20 #include "TGraphicsHarness.h"
    21 
    22 class CTGdi : public CTGraphicsBase
    23 	{
    24 public:
    25 	CTGdi(CTestStep* aStep);
    26 protected:
    27 //from 	CTGraphicsStep
    28 	virtual void RunTestCaseL(TInt aCurTestCase);
    29 private:
    30 	void DoTestL();
    31 	void TestScreenL(TDisplayMode aDispMode);
    32 	void TestBitmapL(TDisplayMode aDispMode);
    33 	void DoTestAndDeleteL(CFbsDevice* aDevice,TBool aScreen);
    34 private:
    35 	TestGdi iTestGdi;
    36 	};
    37 
    38 class CTGdiStep : public CTGraphicsStep
    39 	{
    40 public:
    41 	CTGdiStep();
    42 protected:	
    43 	//from CTGraphicsStep
    44 	virtual CTGraphicsBase* CreateTestL();
    45 	virtual void TestSetupL();
    46 	virtual void TestClose();
    47 	};
    48 
    49 _LIT(KTGdiStep,"TGdi");
    50 
    51 #endif