First public contribution.
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
19 #if (!defined __T_DIGITISER_DRIVER_DATA_H__)
20 #define __T_DIGITISER_DRIVER_DATA_H__
27 #include "T_HALData.h"
30 class CT_DigitiserDriverData : public CT_HALData
32 * Test Active Notification class
42 ~CT_DigitiserDriverData();
45 * Two phase constructor
47 * @leave system wide error
49 static CT_DigitiserDriverData* NewL();
51 virtual TAny* GetObject();
52 virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
57 * Protected constructor. First phase construction
59 CT_DigitiserDriverData();
61 static TBool GetPrepareData(CDataWrapperBase* aThis, const TDesC& aSection, TInt& aValueStart, TInt& /*aValueEnd*/);
63 static TBool GetPrepareDummy(CDataWrapperBase* /*aThis*/, const TDesC& /*aSection*/, TInt& /*aValueStart*/, TInt& /*aValueEnd*/);
64 static void GetValidation(CDataWrapperBase* aThis, const TDesC& aSection, TInt aValue, TBool aForceValidation);
65 //for the touch screen device
66 static void SetPen(CDataWrapperBase* aThis, TInt aValue);
67 static void SetPenX(CDataWrapperBase* aThis, TInt aValue);
68 static void SetPenY(CDataWrapperBase* aThis, TInt aValue);
69 static void SetPenState(CDataWrapperBase* aThis, TInt aValue);
71 //for the sound driver device
72 static void SetPenClick(CDataWrapperBase* aThis, TInt aValue);
73 static void SetPenClickVolumeMax(CDataWrapperBase* aThis, TInt aValue);
74 static void SetPenClickState(CDataWrapperBase* aThis, TInt aValue);
75 static void SetPenClickVolume(CDataWrapperBase* aThis, TInt aValue);
77 //for the power controller
78 static void SetPenDisplayOn(CDataWrapperBase* aThis, TInt aValue);
81 static void SetDisplayState(CDataWrapperBase* aThis, TInt aValue);
82 static void SetDisplayMode(CDataWrapperBase* aThis, TInt aValue);
93 TInt iPenClickVolumeMax;
101 static const THalTableLookup iTableLookup[];
104 #endif /* __T_DIGITISER_DRIVER_DATA_H__ */