os/kernelhwsrv/kerneltest/e32test/digitiser/d_ldddigitisertest.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     2
// All rights reserved.
sl@0
     3
// This component and the accompanying materials are made available
sl@0
     4
// under the terms of the License "Eclipse Public License v1.0"
sl@0
     5
// which accompanies this distribution, and is available
sl@0
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     7
//
sl@0
     8
// Initial Contributors:
sl@0
     9
// Nokia Corporation - initial contribution.
sl@0
    10
//
sl@0
    11
// Contributors:
sl@0
    12
//
sl@0
    13
// Description:
sl@0
    14
// e32test\digitiser\d_ldddigitisertest.h
sl@0
    15
// 
sl@0
    16
//
sl@0
    17
sl@0
    18
#if !defined(__DLDDDIGITISERTEST_H__)
sl@0
    19
#define __DLDDDIGITISERTEST_H__
sl@0
    20
sl@0
    21
#include <e32cmn.h>
sl@0
    22
#ifndef __KERNEL_MODE__
sl@0
    23
#include <e32std.h>
sl@0
    24
#endif
sl@0
    25
sl@0
    26
_LIT(KLddName,"D_LDDDIGITISERTEST.LDD");
sl@0
    27
sl@0
    28
class RLddDigitiserTest : public RBusLogicalChannel
sl@0
    29
	{
sl@0
    30
public:
sl@0
    31
sl@0
    32
	enum TControl
sl@0
    33
		{
sl@0
    34
		EADDHALENTRY = 1,
sl@0
    35
		EREMOVEHALENTRY,
sl@0
    36
		EGETREGISTEREDDEVICENUMBER,
sl@0
    37
		EINITIALISEHALDATA,
sl@0
    38
sl@0
    39
		EGET_EPOINTER3D,
sl@0
    40
		ESET_EPOINTER3D,
sl@0
    41
sl@0
    42
		EGET_EPOINTERMAXPROXIMITY,
sl@0
    43
		ESET_EPOINTERMAXPROXIMITY,
sl@0
    44
		
sl@0
    45
		EGET_EPOINTER3DTHETASUPPORTED,
sl@0
    46
		ESET_EPOINTER3DTHETASUPPORTED,
sl@0
    47
sl@0
    48
		EGET_EPOINTER3DPHISUPPORTED,
sl@0
    49
		ESET_EPOINTER3DPHISUPPORTED,
sl@0
    50
sl@0
    51
		EGET_EPOINTER3DROTATIONSUPPORTED,
sl@0
    52
		ESET_EPOINTER3DROTATIONSUPPORTED,
sl@0
    53
sl@0
    54
		EGET_EPOINTER3DPRESSURESUPPORTED,
sl@0
    55
		ESET_EPOINTER3DPRESSURESUPPORTED,
sl@0
    56
sl@0
    57
		EGET_EPOINTER3DPROXIMITYSTEP,
sl@0
    58
		ESET_EPOINTER3DPROXIMITYSTEP,
sl@0
    59
sl@0
    60
		EGET_EPOINTER3DMAXPOINTERS,
sl@0
    61
		ESET_EPOINTER3DMAXPOINTERS,
sl@0
    62
sl@0
    63
		EGET_EPOINTER3DNUMBEROFPOINTERS,
sl@0
    64
		ESET_EPOINTER3DNUMBEROFPOINTERS,
sl@0
    65
 
sl@0
    66
		EGET_EPOINTER3DMAXPRESSURE,
sl@0
    67
		ESET_EPOINTER3DMAXPRESSURE,
sl@0
    68
sl@0
    69
		EGET_EPOINTER3DPRESSURESTEP,
sl@0
    70
		ESET_EPOINTER3DPRESSURESTEP
sl@0
    71
		};
sl@0
    72
sl@0
    73
public:
sl@0
    74
	inline TInt Open();
sl@0
    75
	inline TInt registerHalHandler();
sl@0
    76
	inline TInt removeHalHandler();
sl@0
    77
	inline TInt getRegisteredDeviceNumber();
sl@0
    78
	inline TInt initialiseHalData();
sl@0
    79
sl@0
    80
	inline TInt getPointer3D();
sl@0
    81
	inline TInt setPointer3D(TUint aPointer3D);
sl@0
    82
sl@0
    83
	inline TInt getPointer3DMaxProximity();
sl@0
    84
	inline TInt setPointer3DMaxProximity(TUint aPointer3DMaxProximity);
sl@0
    85
	
sl@0
    86
	inline TInt getPointer3DThetaSupported();
sl@0
    87
	inline TInt setPointer3DThetaSupported(TUint aPointer3DThetaSupported);
sl@0
    88
	
sl@0
    89
	inline TInt getPointer3DPhiSupported();
sl@0
    90
	inline TInt setPointer3DPhiSupported(TUint aPointer3DPhiSupported);
sl@0
    91
	
sl@0
    92
	inline TInt getPointer3DRotationSupported();
sl@0
    93
	inline TInt setPointer3DRotationSupported(TUint aPointer3DRotationSupported);
sl@0
    94
	
sl@0
    95
	inline TInt getPointer3DPressureSupported();
sl@0
    96
	inline TInt setPointer3DPressureSupported(TUint aPointer3DPressureSupported);
sl@0
    97
sl@0
    98
	inline TInt getPointer3DProximityStep();
sl@0
    99
	inline TInt setPointer3DProximityStep(TUint aPointer3DProximityStep);
sl@0
   100
	
sl@0
   101
	inline TInt getPointerMaxPointers();
sl@0
   102
	inline TInt setPointerMaxPointers(TUint aPointerMaxPointers);
sl@0
   103
	
sl@0
   104
	inline TInt getPointerNumberOfPointers();
sl@0
   105
	inline TInt setPointerNumberOfPointers(TUint aPointerNumberOfPointers);
sl@0
   106
	
sl@0
   107
	inline TInt getPointer3DMaxPressure();
sl@0
   108
	inline TInt setPointer3DMaxPressure(TUint aPointer3DMaxPressure);
sl@0
   109
	
sl@0
   110
	inline TInt getPointer3DPressureStep();
sl@0
   111
	inline TInt setPointer3DPressureStep(TUint aPointer3DPressureStep);
sl@0
   112
	};
sl@0
   113
sl@0
   114
#include "d_lddDigitisertest.inl"
sl@0
   115
#endif   //__DLDDDIGITISERTEST_H__