os/kernelhwsrv/kerneltest/e32test/digitiser/d_ldddigitisertest.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/kernelhwsrv/kerneltest/e32test/digitiser/d_ldddigitisertest.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,115 @@
     1.4 +// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of the License "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +// e32test\digitiser\d_ldddigitisertest.h
    1.18 +// 
    1.19 +//
    1.20 +
    1.21 +#if !defined(__DLDDDIGITISERTEST_H__)
    1.22 +#define __DLDDDIGITISERTEST_H__
    1.23 +
    1.24 +#include <e32cmn.h>
    1.25 +#ifndef __KERNEL_MODE__
    1.26 +#include <e32std.h>
    1.27 +#endif
    1.28 +
    1.29 +_LIT(KLddName,"D_LDDDIGITISERTEST.LDD");
    1.30 +
    1.31 +class RLddDigitiserTest : public RBusLogicalChannel
    1.32 +	{
    1.33 +public:
    1.34 +
    1.35 +	enum TControl
    1.36 +		{
    1.37 +		EADDHALENTRY = 1,
    1.38 +		EREMOVEHALENTRY,
    1.39 +		EGETREGISTEREDDEVICENUMBER,
    1.40 +		EINITIALISEHALDATA,
    1.41 +
    1.42 +		EGET_EPOINTER3D,
    1.43 +		ESET_EPOINTER3D,
    1.44 +
    1.45 +		EGET_EPOINTERMAXPROXIMITY,
    1.46 +		ESET_EPOINTERMAXPROXIMITY,
    1.47 +		
    1.48 +		EGET_EPOINTER3DTHETASUPPORTED,
    1.49 +		ESET_EPOINTER3DTHETASUPPORTED,
    1.50 +
    1.51 +		EGET_EPOINTER3DPHISUPPORTED,
    1.52 +		ESET_EPOINTER3DPHISUPPORTED,
    1.53 +
    1.54 +		EGET_EPOINTER3DROTATIONSUPPORTED,
    1.55 +		ESET_EPOINTER3DROTATIONSUPPORTED,
    1.56 +
    1.57 +		EGET_EPOINTER3DPRESSURESUPPORTED,
    1.58 +		ESET_EPOINTER3DPRESSURESUPPORTED,
    1.59 +
    1.60 +		EGET_EPOINTER3DPROXIMITYSTEP,
    1.61 +		ESET_EPOINTER3DPROXIMITYSTEP,
    1.62 +
    1.63 +		EGET_EPOINTER3DMAXPOINTERS,
    1.64 +		ESET_EPOINTER3DMAXPOINTERS,
    1.65 +
    1.66 +		EGET_EPOINTER3DNUMBEROFPOINTERS,
    1.67 +		ESET_EPOINTER3DNUMBEROFPOINTERS,
    1.68 + 
    1.69 +		EGET_EPOINTER3DMAXPRESSURE,
    1.70 +		ESET_EPOINTER3DMAXPRESSURE,
    1.71 +
    1.72 +		EGET_EPOINTER3DPRESSURESTEP,
    1.73 +		ESET_EPOINTER3DPRESSURESTEP
    1.74 +		};
    1.75 +
    1.76 +public:
    1.77 +	inline TInt Open();
    1.78 +	inline TInt registerHalHandler();
    1.79 +	inline TInt removeHalHandler();
    1.80 +	inline TInt getRegisteredDeviceNumber();
    1.81 +	inline TInt initialiseHalData();
    1.82 +
    1.83 +	inline TInt getPointer3D();
    1.84 +	inline TInt setPointer3D(TUint aPointer3D);
    1.85 +
    1.86 +	inline TInt getPointer3DMaxProximity();
    1.87 +	inline TInt setPointer3DMaxProximity(TUint aPointer3DMaxProximity);
    1.88 +	
    1.89 +	inline TInt getPointer3DThetaSupported();
    1.90 +	inline TInt setPointer3DThetaSupported(TUint aPointer3DThetaSupported);
    1.91 +	
    1.92 +	inline TInt getPointer3DPhiSupported();
    1.93 +	inline TInt setPointer3DPhiSupported(TUint aPointer3DPhiSupported);
    1.94 +	
    1.95 +	inline TInt getPointer3DRotationSupported();
    1.96 +	inline TInt setPointer3DRotationSupported(TUint aPointer3DRotationSupported);
    1.97 +	
    1.98 +	inline TInt getPointer3DPressureSupported();
    1.99 +	inline TInt setPointer3DPressureSupported(TUint aPointer3DPressureSupported);
   1.100 +
   1.101 +	inline TInt getPointer3DProximityStep();
   1.102 +	inline TInt setPointer3DProximityStep(TUint aPointer3DProximityStep);
   1.103 +	
   1.104 +	inline TInt getPointerMaxPointers();
   1.105 +	inline TInt setPointerMaxPointers(TUint aPointerMaxPointers);
   1.106 +	
   1.107 +	inline TInt getPointerNumberOfPointers();
   1.108 +	inline TInt setPointerNumberOfPointers(TUint aPointerNumberOfPointers);
   1.109 +	
   1.110 +	inline TInt getPointer3DMaxPressure();
   1.111 +	inline TInt setPointer3DMaxPressure(TUint aPointer3DMaxPressure);
   1.112 +	
   1.113 +	inline TInt getPointer3DPressureStep();
   1.114 +	inline TInt setPointer3DPressureStep(TUint aPointer3DPressureStep);
   1.115 +	};
   1.116 +
   1.117 +#include "d_lddDigitisertest.inl"
   1.118 +#endif   //__DLDDDIGITISERTEST_H__