Update contrib.
1 // Copyright (c) 2008-2009 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 the License "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.
14 // e32test\digitiser\d_ldddigitisertest.inl
18 #ifndef __KERNEL_MODE__
19 inline TInt RLddDigitiserTest::Open()
21 return DoCreate(KLddName,TVersion(0,1,1),KNullUnit,NULL,NULL);
24 inline TInt RLddDigitiserTest::registerHalHandler()
26 return DoControl(EADDHALENTRY);
29 inline TInt RLddDigitiserTest::removeHalHandler()
31 return DoControl(EREMOVEHALENTRY);
34 inline TInt RLddDigitiserTest::getRegisteredDeviceNumber()
36 return DoControl(EGETREGISTEREDDEVICENUMBER);
39 inline TInt RLddDigitiserTest::initialiseHalData()
41 return DoControl(EINITIALISEHALDATA);
44 inline TInt RLddDigitiserTest::getPointer3D()
46 return DoControl(EGET_EPOINTER3D);
49 inline TInt RLddDigitiserTest::setPointer3D(TUint aPointer3D)
51 return DoControl(ESET_EPOINTER3D, (TAny *)aPointer3D);
54 inline TInt RLddDigitiserTest::getPointer3DMaxProximity()
56 return DoControl(EGET_EPOINTERMAXPROXIMITY);
59 inline TInt RLddDigitiserTest::setPointer3DMaxProximity(TUint aPointer3DMaxProximity)
61 return DoControl(ESET_EPOINTERMAXPROXIMITY, (TAny *)aPointer3DMaxProximity);
64 inline TInt RLddDigitiserTest::getPointer3DThetaSupported()
66 return DoControl(EGET_EPOINTER3DTHETASUPPORTED);
69 inline TInt RLddDigitiserTest::setPointer3DThetaSupported(TUint aPointer3DThetaSupported)
71 return DoControl(ESET_EPOINTER3DTHETASUPPORTED, (TAny *)aPointer3DThetaSupported);
74 inline TInt RLddDigitiserTest::getPointer3DPhiSupported()
76 return DoControl(EGET_EPOINTER3DPHISUPPORTED);
79 inline TInt RLddDigitiserTest::setPointer3DPhiSupported(TUint aPointer3DPhiSupported)
81 return DoControl(ESET_EPOINTER3DPHISUPPORTED, (TAny *)aPointer3DPhiSupported);
84 inline TInt RLddDigitiserTest::getPointer3DRotationSupported()
86 return DoControl(EGET_EPOINTER3DROTATIONSUPPORTED);
89 inline TInt RLddDigitiserTest::setPointer3DRotationSupported(TUint aPointer3DRotationSupported)
91 return DoControl(ESET_EPOINTER3DROTATIONSUPPORTED, (TAny *)aPointer3DRotationSupported);
94 inline TInt RLddDigitiserTest::getPointer3DPressureSupported()
96 return DoControl(EGET_EPOINTER3DPRESSURESUPPORTED);
99 inline TInt RLddDigitiserTest::setPointer3DPressureSupported(TUint aPointer3DPressureSupported)
101 return DoControl(ESET_EPOINTER3DPRESSURESUPPORTED, (TAny *)aPointer3DPressureSupported);
104 inline TInt RLddDigitiserTest::getPointer3DProximityStep()
106 return DoControl(EGET_EPOINTER3DPROXIMITYSTEP);
109 inline TInt RLddDigitiserTest::setPointer3DProximityStep(TUint aPointer3DProximityStep)
111 return DoControl(ESET_EPOINTER3DPROXIMITYSTEP, (TAny *)aPointer3DProximityStep);
114 inline TInt RLddDigitiserTest::getPointerMaxPointers()
116 return DoControl(EGET_EPOINTER3DMAXPOINTERS);
119 inline TInt RLddDigitiserTest::setPointerMaxPointers(TUint aPointerMaxPointers)
121 return DoControl(ESET_EPOINTER3DMAXPOINTERS, (TAny *)aPointerMaxPointers);
124 inline TInt RLddDigitiserTest::getPointerNumberOfPointers()
126 return DoControl(EGET_EPOINTER3DNUMBEROFPOINTERS);
129 inline TInt RLddDigitiserTest::setPointerNumberOfPointers(TUint aPointerNumberOfPointers)
131 return DoControl(ESET_EPOINTER3DNUMBEROFPOINTERS, (TAny *)aPointerNumberOfPointers);
134 inline TInt RLddDigitiserTest::getPointer3DMaxPressure()
136 return DoControl(EGET_EPOINTER3DMAXPRESSURE);
139 inline TInt RLddDigitiserTest::setPointer3DMaxPressure(TUint aPointer3DMaxPressure)
141 return DoControl(ESET_EPOINTER3DMAXPRESSURE, (TAny *)aPointer3DMaxPressure);
144 inline TInt RLddDigitiserTest::getPointer3DPressureStep()
146 return DoControl(EGET_EPOINTER3DPRESSURESTEP);
149 inline TInt RLddDigitiserTest::setPointer3DPressureStep(TUint aPointer3DPressureStep)
151 return DoControl(ESET_EPOINTER3DPRESSURESTEP, (TAny *)aPointer3DPressureStep);