First public contribution.
1 // Copyright (c) 2007-2010 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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
22 #ifndef __T_WINUTILS_H__
23 #define __T_WINUTILS_H__
27 #include <displaymode.h>
30 #include <iniparser.h>
32 class CTestBitmap : public CBase
35 IMPORT_C static CTestBitmap* NewLC(const TSize& aSizeInPixels,TDisplayMode aDispMode);
36 IMPORT_C static CTestBitmap* NewL(const TSize& aSizeInPixels,TDisplayMode aDispMode);
37 IMPORT_C static CTestBitmap* NewL(TInt aHandle);
38 inline CFbsBitmap& Bitmap() const {return *iBitmap;}
39 inline CFbsBitmapDevice& Device() const {return *iDevice;}
40 inline CFbsBitGc& Gc() const {return *iGc;}
44 static CTestBitmap* NewLC(TInt aHandle,const TSize& aSizeInPixels,TDisplayMode aDispMode);
45 void ConstructL(TInt aHandle,const TSize& aSizeInPixels,TDisplayMode aDispMode);
49 CFbsBitmapDevice* iDevice;
53 class TImportPseudoAppConfig
56 IMPORT_C static void ImportPseudoAppConfigL(TInt aScreenNo, TInt& aFrameDuration, TInt& aFrameDelay,
57 TDisplayMode& aMode, TSize& aScreenSize, CIniData* aUtils);
60 #endif //__T_WINUTILS_H__