graphicstest/uibench/src/tfbsglyphdata.h
changeset 136 62bb7c97884c
parent 121 d72fc2aace31
equal deleted inserted replaced
121:d72fc2aace31 136:62bb7c97884c
    23 #define TFBSGLYPHDATA_H
    23 #define TFBSGLYPHDATA_H
    24 
    24 
    25 #include <fbs.h>
    25 #include <fbs.h>
    26 #include <sgresource/sgresource.h>
    26 #include <sgresource/sgresource.h>
    27 #include "te_graphicsperformanceSuiteStepBase.h"
    27 #include "te_graphicsperformanceSuiteStepBase.h"
       
    28 class CCharCodeConverter;
    28 
    29 
    29 /**
    30 /**
    30 Enumeration of languages that are supported for testing in this framework.
    31 Enumeration of languages that are supported for testing in this framework.
    31  */
    32  */
    32 enum TTestLanguage
    33 enum TTestLanguage
    59 	void GlyphMetricsQueryUnrasterizedL();
    60 	void GlyphMetricsQueryUnrasterizedL();
    60 	void GlyphMetricsQueryPreRasterizedL();
    61 	void GlyphMetricsQueryPreRasterizedL();
    61 	void GlyphRenderingL();
    62 	void GlyphRenderingL();
    62 	
    63 	
    63 	// Utility methods
    64 	// Utility methods
    64 	void LoadConfigSampleDataL(TTestLanguage aLanguage, TBool aLongData, TUint*& aGlyphCodes, TInt& aNumGlyphCodes);
    65 	void LoadConfigSampleDataL(CFbsFont* aFont, TTestLanguage aLanguage, TBool aLongData, TUint*& aGlyphCodes, TInt& aNumGlyphCodes);
    65 	static TBufC<32> ConfigKeyNameL(TTestLanguage aLanguage, TBool aLongData);
    66 	static TBufC<32> ConfigKeyNameL(TTestLanguage aLanguage, TBool aLongData);
    66 	
    67 	
    67 private:
    68 private:
    68 	RFbsSession iFbs;
    69 	RFbsSession iFbs;
    69 	RSgDriver iSgDriver;
    70 	RSgDriver iSgDriver;
       
    71 	CCharCodeConverter* iCharCodeConverter;
    70     };
    72     };
    71 
    73 
    72 _LIT(KTFbsGlyphData,"tfbsglyphdata");
    74 _LIT(KTFbsGlyphData,"tfbsglyphdata");
    73 
    75 
    74 /**
    76 /**