sl@0: // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // e32test\digitiser\d_ldddigitisertest.inl sl@0: // sl@0: // sl@0: sl@0: #ifndef __KERNEL_MODE__ sl@0: inline TInt RLddDigitiserTest::Open() sl@0: { sl@0: return DoCreate(KLddName,TVersion(0,1,1),KNullUnit,NULL,NULL); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::registerHalHandler() sl@0: { sl@0: return DoControl(EADDHALENTRY); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::removeHalHandler() sl@0: { sl@0: return DoControl(EREMOVEHALENTRY); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::getRegisteredDeviceNumber() sl@0: { sl@0: return DoControl(EGETREGISTEREDDEVICENUMBER); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::initialiseHalData() sl@0: { sl@0: return DoControl(EINITIALISEHALDATA); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::getPointer3D() sl@0: { sl@0: return DoControl(EGET_EPOINTER3D); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::setPointer3D(TUint aPointer3D) sl@0: { sl@0: return DoControl(ESET_EPOINTER3D, (TAny *)aPointer3D); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::getPointer3DMaxProximity() sl@0: { sl@0: return DoControl(EGET_EPOINTERMAXPROXIMITY); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::setPointer3DMaxProximity(TUint aPointer3DMaxProximity) sl@0: { sl@0: return DoControl(ESET_EPOINTERMAXPROXIMITY, (TAny *)aPointer3DMaxProximity); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::getPointer3DThetaSupported() sl@0: { sl@0: return DoControl(EGET_EPOINTER3DTHETASUPPORTED); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::setPointer3DThetaSupported(TUint aPointer3DThetaSupported) sl@0: { sl@0: return DoControl(ESET_EPOINTER3DTHETASUPPORTED, (TAny *)aPointer3DThetaSupported); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::getPointer3DPhiSupported() sl@0: { sl@0: return DoControl(EGET_EPOINTER3DPHISUPPORTED); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::setPointer3DPhiSupported(TUint aPointer3DPhiSupported) sl@0: { sl@0: return DoControl(ESET_EPOINTER3DPHISUPPORTED, (TAny *)aPointer3DPhiSupported); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::getPointer3DRotationSupported() sl@0: { sl@0: return DoControl(EGET_EPOINTER3DROTATIONSUPPORTED); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::setPointer3DRotationSupported(TUint aPointer3DRotationSupported) sl@0: { sl@0: return DoControl(ESET_EPOINTER3DROTATIONSUPPORTED, (TAny *)aPointer3DRotationSupported); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::getPointer3DPressureSupported() sl@0: { sl@0: return DoControl(EGET_EPOINTER3DPRESSURESUPPORTED); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::setPointer3DPressureSupported(TUint aPointer3DPressureSupported) sl@0: { sl@0: return DoControl(ESET_EPOINTER3DPRESSURESUPPORTED, (TAny *)aPointer3DPressureSupported); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::getPointer3DProximityStep() sl@0: { sl@0: return DoControl(EGET_EPOINTER3DPROXIMITYSTEP); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::setPointer3DProximityStep(TUint aPointer3DProximityStep) sl@0: { sl@0: return DoControl(ESET_EPOINTER3DPROXIMITYSTEP, (TAny *)aPointer3DProximityStep); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::getPointerMaxPointers() sl@0: { sl@0: return DoControl(EGET_EPOINTER3DMAXPOINTERS); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::setPointerMaxPointers(TUint aPointerMaxPointers) sl@0: { sl@0: return DoControl(ESET_EPOINTER3DMAXPOINTERS, (TAny *)aPointerMaxPointers); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::getPointerNumberOfPointers() sl@0: { sl@0: return DoControl(EGET_EPOINTER3DNUMBEROFPOINTERS); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::setPointerNumberOfPointers(TUint aPointerNumberOfPointers) sl@0: { sl@0: return DoControl(ESET_EPOINTER3DNUMBEROFPOINTERS, (TAny *)aPointerNumberOfPointers); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::getPointer3DMaxPressure() sl@0: { sl@0: return DoControl(EGET_EPOINTER3DMAXPRESSURE); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::setPointer3DMaxPressure(TUint aPointer3DMaxPressure) sl@0: { sl@0: return DoControl(ESET_EPOINTER3DMAXPRESSURE, (TAny *)aPointer3DMaxPressure); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::getPointer3DPressureStep() sl@0: { sl@0: return DoControl(EGET_EPOINTER3DPRESSURESTEP); sl@0: } sl@0: sl@0: inline TInt RLddDigitiserTest::setPointer3DPressureStep(TUint aPointer3DPressureStep) sl@0: { sl@0: return DoControl(ESET_EPOINTER3DPRESSURESTEP, (TAny *)aPointer3DPressureStep); sl@0: } sl@0: #endif sl@0: sl@0: