|
1 // |
|
2 // Copyright (c) 2005-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 the License "Symbian Foundation License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 |
|
17 #if (!defined __T_DATA_FBS_DEVICE_H__) |
|
18 #define __T_DATA_FBS_DEVICE_H__ |
|
19 |
|
20 // User includes |
|
21 #include "DataWrapperBase.h" |
|
22 #include "T_DataBitmapDevice.h" |
|
23 |
|
24 class CT_DataFbsDevice : public CT_DataBitmapDevice |
|
25 { |
|
26 public: |
|
27 virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex); |
|
28 CT_DataFbsDevice(); |
|
29 |
|
30 protected: |
|
31 void DoCmdCheckPixels(const TDesC& aSection); |
|
32 void DoCmdCheckLineColor(const TDesC& aSection); |
|
33 void DoCmdCheckRectColor(const TDesC& aSection); |
|
34 void DoCmdGetFontByIdL(const TDesC& aSection); |
|
35 TBool DoCmdGetNearestFontInPixelsL(const TDesC& aSection); |
|
36 TBool DoCmdGetNearestFontInTwipsL(const TDesC& aSection); |
|
37 TBool DoCmdGetNearestFontToDesignHeightInPixelsL(const TDesC& aSection); |
|
38 TBool DoCmdGetNearestFontToDesignHeightInTwipsL(const TDesC& aSection); |
|
39 TBool DoCmdGetNearestFontToMaxHeightInPixelsL(const TDesC& aSection); |
|
40 TBool DoCmdGetNearestFontToMaxHeightInTwipsL(const TDesC& aSection); |
|
41 void DoCmdSizeInPixels(const TDesC& aSection); |
|
42 |
|
43 TBool DoCmdCreateContextL(const TDesC& aSection); |
|
44 void DoCmdRectCompareL(const TDesC& aSection); |
|
45 void DoCmdSetCustomPaletteL(const TDesC& aSection); |
|
46 void DoCmdGraphicsAccelerator(); |
|
47 void DoCmdOrientation(const TDesC& aSection); |
|
48 void DoCmdDisplayMode16M(const TDesC& aSection); |
|
49 void DoCmdSetScalingFactor(const TDesC& aSection); |
|
50 void DoCmdGetDrawRect(const TDesC& aSection); |
|
51 void DoCmdRegisterLinkedTypefaceL(const TDesC& aSection); |
|
52 |
|
53 virtual CFbsDevice* GetFbsDevice() const = 0; |
|
54 }; |
|
55 |
|
56 #endif /* __T_DATA_FBS_DEVICE_H__ */ |