1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 */ |
|
16 // HTI service functions |
|
17 //gsoap ns1 service name: HtiKeyEvent |
|
18 //gsoap ns1 service namespace: urn:hti |
|
19 //gsoap ns1 service style: rpc |
|
20 //gsoap ns1 service encoding: literal |
|
21 //gsoap ns1 service location: http://localhost:2000 |
|
22 |
|
23 typedef char* xsd__string; |
|
24 typedef wchar_t* xsd__string_; |
|
25 typedef int xsd__int; |
|
26 typedef short xsd__short; |
|
27 |
|
28 struct ns1__HtiPoint |
|
29 { |
|
30 xsd__short xCoordinate; |
|
31 xsd__short yCoordinate; |
|
32 }; |
|
33 |
|
34 struct ns1__arrayOfKeyCodes |
|
35 { |
|
36 xsd__short* __ptrKeyCode; |
|
37 xsd__int __size; |
|
38 }; |
|
39 |
|
40 struct ns1__arrayOfPoints // = line |
|
41 { |
|
42 struct ns1__HtiPoint* __ptrPoint; |
|
43 int __size; |
|
44 }; |
|
45 |
|
46 struct ns1__arrayOfLines |
|
47 { |
|
48 struct ns1__arrayOfPoints* __ptrLine; |
|
49 int __size; |
|
50 }; |
|
51 |
|
52 //gsoap ns1 service method-action: pressKey "HtiKeyEvent" |
|
53 int ns1__pressKey( |
|
54 xsd__short key, |
|
55 struct ns1__pressKeyResponse{} *out // empty response |
|
56 ); |
|
57 //gsoap ns1 service method-action: holdKey "HtiKeyEvent" |
|
58 int ns1__holdKey( |
|
59 xsd__short key, |
|
60 struct ns1__holdKeyResponse{} *out // empty response |
|
61 ); |
|
62 //gsoap ns1 service method-action: releaseKey "HtiKeyEvent" |
|
63 int ns1__releaseKey( |
|
64 xsd__short key, |
|
65 struct ns1__releaseKeyResponse{} *out // empty response |
|
66 ); |
|
67 //gsoap ns1 service method-action: longKeyPress "HtiKeyEvent" |
|
68 int ns1__longKeyPress( |
|
69 xsd__short key, |
|
70 xsd__short time, |
|
71 struct ns1__longKeyPressResponse{} *out // empty response |
|
72 ); |
|
73 //gsoap ns1 service method-action: typeText "HtiKeyEvent" |
|
74 int ns1__typeText( |
|
75 xsd__string_ text, |
|
76 struct ns1__typeTextResponse{} *out // empty response |
|
77 ); |
|
78 //gsoap ns1 service method-action: typeTextPassword "HtiKeyEvent" |
|
79 int ns1__typeTextPassword( |
|
80 xsd__string_ text, |
|
81 struct ns1__typeTextPasswordResponse{} *out // empty response |
|
82 ); |
|
83 //gsoap ns1 service method-action: keyPressSequence "HtiKeyEvent" |
|
84 int ns1__keyPressSequence( |
|
85 xsd__short time, |
|
86 xsd__short interval, |
|
87 struct ns1__arrayOfKeyCodes keyCodes, |
|
88 struct ns1__keyPressSequenceResponse{} *out // empty response |
|
89 ); |
|
90 //gsoap ns1 service method-action: tapScreen "HtiKeyEvent" |
|
91 int ns1__tapScreen( |
|
92 struct ns1__HtiPoint tapPoint, |
|
93 xsd__short timeToHold, |
|
94 xsd__short tapCount, |
|
95 xsd__short pauseBetweenTaps, |
|
96 struct ns1__tapScreenResponse{} *out // empty response |
|
97 ); |
|
98 //gsoap ns1 service method-action: tapAndDrag "HtiKeyEvent" |
|
99 int ns1__tapAndDrag( |
|
100 struct ns1__HtiPoint pointDown, |
|
101 struct ns1__HtiPoint pointUp, |
|
102 xsd__short dragTime, |
|
103 struct ns1__tapAndDragResponse{} *out // empty response |
|
104 ); |
|
105 //gsoap ns1 service method-action: tapAndDragMultipoint "HtiKeyEvent" |
|
106 int ns1__tapAndDragMultipoint( |
|
107 xsd__short timeBetweenPoints, |
|
108 xsd__short timeBetweenLines, |
|
109 struct ns1__arrayOfLines lines, |
|
110 struct ns1__tapAndDragMultipointResponse{} *out // empty response |
|
111 ); |
|
112 //gsoap ns1 service method-action: pointerDown "HtiKeyEvent" |
|
113 int ns1__pointerDown( |
|
114 struct ns1__HtiPoint pointDown, |
|
115 struct ns1__pointerDownResponse{} *out // empty response |
|
116 ); |
|
117 //gsoap ns1 service method-action: pointerUp "HtiKeyEvent" |
|
118 int ns1__pointerUp( |
|
119 struct ns1__HtiPoint pointUp, |
|
120 struct ns1__pointerUpResponse{} *out // empty response |
|
121 ); |
|