--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/ats/smoketest/graphics/gdi/inc/T_DataTypefaceStore.h Fri Dec 18 14:46:04 2009 +0000
@@ -0,0 +1,57 @@
+/*
+* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Symbian Foundation License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+/**
+@test
+@internalComponent
+
+This contains CT_DataTypefaceStore
+*/
+
+#if (!defined __T_DATA_TYPEFACE_STORE_H__)
+#define __T_DATA_TYPEFACE_STORE_H__
+
+// User Includes
+#include "DataWrapperBase.h"
+#include "T_DataFont.h"
+
+// epoc32 includes
+#include <gdi.h>
+
+class CT_DataTypefaceStore : public CDataWrapperBase
+ {
+public:
+ virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
+ CT_DataTypefaceStore();
+
+protected:
+
+ virtual CTypefaceStore* GetTypefaceStore() const = 0;
+ CT_DataFont* GetFontDataObjectFromParameterL(const TDesC& aParameterName, const TDesC& aSection);
+ void SetFontDataObjectIfPassedAsParameterL(CFont* font, const TDesC& aSection);
+
+private:
+ void DoCmdGetNearestFontInTwipsL(const TDesC& aSection);
+ void DoCmdGetNearestFontToDesignHeightInTwipsL(const TDesC& aSection);
+ void DoCmdGetNearestFontToMaxHeightInTwipsL(const TDesC& aSection);
+ void DoCmdNumTypefaces(const TDesC& aSection);
+ void DoCmdTypefaceSupport(const TDesC& aSection);
+ void DoCmdFontHeightInTwips(const TDesC& aSection);
+ void DoCmdReleaseFontL(const TDesC& aSection);
+ };
+
+#endif /* __T_DATA_TYPEFACE_STORE_H__ */