|
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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // e32test\digitiser\d_ldddigitisertest.inl |
|
15 // |
|
16 // |
|
17 |
|
18 #ifndef __KERNEL_MODE__ |
|
19 inline TInt RLddDigitiserTest::Open() |
|
20 { |
|
21 return DoCreate(KLddName,TVersion(0,1,1),KNullUnit,NULL,NULL); |
|
22 } |
|
23 |
|
24 inline TInt RLddDigitiserTest::registerHalHandler() |
|
25 { |
|
26 return DoControl(EADDHALENTRY); |
|
27 } |
|
28 |
|
29 inline TInt RLddDigitiserTest::removeHalHandler() |
|
30 { |
|
31 return DoControl(EREMOVEHALENTRY); |
|
32 } |
|
33 |
|
34 inline TInt RLddDigitiserTest::getRegisteredDeviceNumber() |
|
35 { |
|
36 return DoControl(EGETREGISTEREDDEVICENUMBER); |
|
37 } |
|
38 |
|
39 inline TInt RLddDigitiserTest::initialiseHalData() |
|
40 { |
|
41 return DoControl(EINITIALISEHALDATA); |
|
42 } |
|
43 |
|
44 inline TInt RLddDigitiserTest::getPointer3D() |
|
45 { |
|
46 return DoControl(EGET_EPOINTER3D); |
|
47 } |
|
48 |
|
49 inline TInt RLddDigitiserTest::setPointer3D(TUint aPointer3D) |
|
50 { |
|
51 return DoControl(ESET_EPOINTER3D, (TAny *)aPointer3D); |
|
52 } |
|
53 |
|
54 inline TInt RLddDigitiserTest::getPointer3DMaxProximity() |
|
55 { |
|
56 return DoControl(EGET_EPOINTERMAXPROXIMITY); |
|
57 } |
|
58 |
|
59 inline TInt RLddDigitiserTest::setPointer3DMaxProximity(TUint aPointer3DMaxProximity) |
|
60 { |
|
61 return DoControl(ESET_EPOINTERMAXPROXIMITY, (TAny *)aPointer3DMaxProximity); |
|
62 } |
|
63 |
|
64 inline TInt RLddDigitiserTest::getPointer3DThetaSupported() |
|
65 { |
|
66 return DoControl(EGET_EPOINTER3DTHETASUPPORTED); |
|
67 } |
|
68 |
|
69 inline TInt RLddDigitiserTest::setPointer3DThetaSupported(TUint aPointer3DThetaSupported) |
|
70 { |
|
71 return DoControl(ESET_EPOINTER3DTHETASUPPORTED, (TAny *)aPointer3DThetaSupported); |
|
72 } |
|
73 |
|
74 inline TInt RLddDigitiserTest::getPointer3DPhiSupported() |
|
75 { |
|
76 return DoControl(EGET_EPOINTER3DPHISUPPORTED); |
|
77 } |
|
78 |
|
79 inline TInt RLddDigitiserTest::setPointer3DPhiSupported(TUint aPointer3DPhiSupported) |
|
80 { |
|
81 return DoControl(ESET_EPOINTER3DPHISUPPORTED, (TAny *)aPointer3DPhiSupported); |
|
82 } |
|
83 |
|
84 inline TInt RLddDigitiserTest::getPointer3DRotationSupported() |
|
85 { |
|
86 return DoControl(EGET_EPOINTER3DROTATIONSUPPORTED); |
|
87 } |
|
88 |
|
89 inline TInt RLddDigitiserTest::setPointer3DRotationSupported(TUint aPointer3DRotationSupported) |
|
90 { |
|
91 return DoControl(ESET_EPOINTER3DROTATIONSUPPORTED, (TAny *)aPointer3DRotationSupported); |
|
92 } |
|
93 |
|
94 inline TInt RLddDigitiserTest::getPointer3DPressureSupported() |
|
95 { |
|
96 return DoControl(EGET_EPOINTER3DPRESSURESUPPORTED); |
|
97 } |
|
98 |
|
99 inline TInt RLddDigitiserTest::setPointer3DPressureSupported(TUint aPointer3DPressureSupported) |
|
100 { |
|
101 return DoControl(ESET_EPOINTER3DPRESSURESUPPORTED, (TAny *)aPointer3DPressureSupported); |
|
102 } |
|
103 |
|
104 inline TInt RLddDigitiserTest::getPointer3DProximityStep() |
|
105 { |
|
106 return DoControl(EGET_EPOINTER3DPROXIMITYSTEP); |
|
107 } |
|
108 |
|
109 inline TInt RLddDigitiserTest::setPointer3DProximityStep(TUint aPointer3DProximityStep) |
|
110 { |
|
111 return DoControl(ESET_EPOINTER3DPROXIMITYSTEP, (TAny *)aPointer3DProximityStep); |
|
112 } |
|
113 |
|
114 inline TInt RLddDigitiserTest::getPointerMaxPointers() |
|
115 { |
|
116 return DoControl(EGET_EPOINTER3DMAXPOINTERS); |
|
117 } |
|
118 |
|
119 inline TInt RLddDigitiserTest::setPointerMaxPointers(TUint aPointerMaxPointers) |
|
120 { |
|
121 return DoControl(ESET_EPOINTER3DMAXPOINTERS, (TAny *)aPointerMaxPointers); |
|
122 } |
|
123 |
|
124 inline TInt RLddDigitiserTest::getPointerNumberOfPointers() |
|
125 { |
|
126 return DoControl(EGET_EPOINTER3DNUMBEROFPOINTERS); |
|
127 } |
|
128 |
|
129 inline TInt RLddDigitiserTest::setPointerNumberOfPointers(TUint aPointerNumberOfPointers) |
|
130 { |
|
131 return DoControl(ESET_EPOINTER3DNUMBEROFPOINTERS, (TAny *)aPointerNumberOfPointers); |
|
132 } |
|
133 |
|
134 inline TInt RLddDigitiserTest::getPointer3DMaxPressure() |
|
135 { |
|
136 return DoControl(EGET_EPOINTER3DMAXPRESSURE); |
|
137 } |
|
138 |
|
139 inline TInt RLddDigitiserTest::setPointer3DMaxPressure(TUint aPointer3DMaxPressure) |
|
140 { |
|
141 return DoControl(ESET_EPOINTER3DMAXPRESSURE, (TAny *)aPointer3DMaxPressure); |
|
142 } |
|
143 |
|
144 inline TInt RLddDigitiserTest::getPointer3DPressureStep() |
|
145 { |
|
146 return DoControl(EGET_EPOINTER3DPRESSURESTEP); |
|
147 } |
|
148 |
|
149 inline TInt RLddDigitiserTest::setPointer3DPressureStep(TUint aPointer3DPressureStep) |
|
150 { |
|
151 return DoControl(ESET_EPOINTER3DPRESSURESTEP, (TAny *)aPointer3DPressureStep); |
|
152 } |
|
153 #endif |
|
154 |
|
155 |