sirius-client-win32 1.1.1 → 1.2.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/sirius/win32.rb +6 -0
- data/lib/sirius/win32/classes/Control.rb +10 -0
- data/lib/sirius/win32/classes/DialogBox.rb +10 -0
- data/lib/sirius/win32/classes/MainWindow.rb +17 -0
- data/lib/sirius/win32/classes/Menu.rb +10 -0
- data/lib/sirius/win32/classes/MenuItem.rb +10 -0
- data/lib/sirius/win32/classes/MovableWindow.rb +49 -0
- data/lib/sirius/win32/classes/TopLevelWindow.rb +32 -0
- data/lib/sirius/win32/classes/Window.rb +116 -0
- data/lib/sirius/win32/classes/controls/Button.rb +12 -0
- data/lib/sirius/win32/classes/controls/CheckBox.rb +12 -0
- data/lib/sirius/win32/classes/controls/Edit.rb +12 -0
- data/lib/sirius/win32/classes/controls/ListBox.rb +12 -0
- data/lib/sirius/win32/classes/controls/ListView.rb +12 -0
- data/lib/sirius/win32/classes/controls/RadioButton.rb +12 -0
- data/lib/sirius/win32/classes/controls/Toolbar.rb +12 -0
- data/lib/sirius/win32/classes/controls/UpDown.rb +12 -0
- data/lib/sirius/win32/core.rb +16 -0
- data/lib/sirius/win32/core/button/ButtonService.rb +71 -0
- data/lib/sirius/win32/core/button/ButtonServiceClient.rb +60 -0
- data/lib/sirius/win32/core/button/ButtonServiceDriver.rb +72 -0
- data/lib/sirius/win32/core/button/ButtonServiceMappingRegistry.rb +199 -0
- data/lib/sirius/win32/core/combobox/ComboBoxService.rb +471 -0
- data/lib/sirius/win32/core/combobox/ComboBoxServiceClient.rb +264 -0
- data/lib/sirius/win32/core/combobox/ComboBoxServiceDriver.rb +208 -0
- data/lib/sirius/win32/core/combobox/ComboBoxServiceMappingRegistry.rb +1100 -0
- data/lib/sirius/win32/core/dialog/DialogService.rb +187 -0
- data/lib/sirius/win32/core/dialog/DialogServiceClient.rb +108 -0
- data/lib/sirius/win32/core/dialog/DialogServiceDriver.rb +104 -0
- data/lib/sirius/win32/core/dialog/DialogServiceMappingRegistry.rb +424 -0
- data/lib/sirius/win32/core/edit/EditService.rb +358 -0
- data/lib/sirius/win32/core/edit/EditServiceClient.rb +216 -0
- data/lib/sirius/win32/core/edit/EditServiceDriver.rb +176 -0
- data/lib/sirius/win32/core/edit/EditServiceMappingRegistry.rb +859 -0
- data/lib/sirius/win32/core/listbox/ListBoxService.rb +379 -0
- data/lib/sirius/win32/core/listbox/ListBoxServiceClient.rb +216 -0
- data/lib/sirius/win32/core/listbox/ListBoxServiceDriver.rb +176 -0
- data/lib/sirius/win32/core/listbox/ListBoxServiceMappingRegistry.rb +880 -0
- data/lib/sirius/win32/core/menu/MenuService.rb +443 -0
- data/lib/sirius/win32/core/menu/MenuServiceClient.rb +144 -0
- data/lib/sirius/win32/core/menu/MenuServiceDriver.rb +128 -0
- data/lib/sirius/win32/core/menu/MenuServiceMappingRegistry.rb +830 -0
- data/lib/sirius/win32/core/tabcontrol/TabControlService.rb +286 -0
- data/lib/sirius/win32/core/tabcontrol/TabControlServiceClient.rb +120 -0
- data/lib/sirius/win32/core/tabcontrol/TabControlServiceDriver.rb +112 -0
- data/lib/sirius/win32/core/tabcontrol/TabControlServiceMappingRegistry.rb +583 -0
- data/lib/sirius/win32/core/utils/Win32UtilsService.rb +64 -0
- data/lib/sirius/win32/core/utils/Win32UtilsServiceClient.rb +36 -0
- data/lib/sirius/win32/core/utils/Win32UtilsServiceDriver.rb +56 -0
- data/lib/sirius/win32/core/utils/Win32UtilsServiceMappingRegistry.rb +136 -0
- data/lib/sirius/win32/core/window/WindowService.rb +625 -0
- data/lib/sirius/win32/core/window/WindowServiceClient.rb +360 -0
- data/lib/sirius/win32/core/window/WindowServiceDriver.rb +272 -0
- data/lib/sirius/win32/core/window/WindowServiceMappingRegistry.rb +1513 -0
- metadata +54 -2
@@ -0,0 +1,286 @@
|
|
1
|
+
require 'xsd/qname'
|
2
|
+
|
3
|
+
module Sirius; module Client; module Win32; module Core; module Tabcontrol
|
4
|
+
|
5
|
+
# {http:controls.classes.win32.server.sirius.org/}GetCurFocus
|
6
|
+
# arg0 - SOAP::SOAPLong
|
7
|
class GetCurFocus
|
8
|
+
attr_accessor :arg0
|
9
|
+
def initialize(arg0 = nil) @arg0 = arg0
|
10
|
+
end
|
11
|
+
end
|
12
|
+
# {http:controls.classes.win32.server.sirius.org/}GetCurFocusResponse
|
13
|
+
# m_return - SOAP::SOAPInt
|
14
|
+
class GetCurFocusResponse
|
1
15
|
def m_return
|
16
|
+
@v_return
|
17
|
+
end
|
18
|
+
|
19
|
+
def m_return=(value) @v_return = value
|
20
|
+
end
|
21
|
+
|
22
|
+
def initialize(v_return = nil) @v_return = v_return
|
23
|
+
end
|
24
|
+
end
|
25
|
+
# {http:controls.classes.win32.server.sirius.org/}GetRowCount
|
26
|
+
# arg0 - SOAP::SOAPLong
|
27
|
+
class GetRowCount
|
28
|
+
attr_accessor :arg0
|
29
|
+
def initialize(arg0 = nil) @arg0 = arg0
|
30
|
+
end
|
31
|
+
end
|
32
|
+
# {http:controls.classes.win32.server.sirius.org/}GetRowCountResponse
|
33
|
+
# m_return - SOAP::SOAPInt
|
34
|
+
class GetRowCountResponse
|
2
35
|
def m_return
|
36
|
+
@v_return
|
37
|
+
end
|
38
|
+
|
39
|
+
def m_return=(value) @v_return = value
|
40
|
+
end
|
41
|
+
|
42
|
+
def initialize(v_return = nil) @v_return = v_return
|
43
|
+
end
|
44
|
+
end
|
45
|
+
# {http:controls.classes.win32.server.sirius.org/}HitTest
|
46
|
+
# arg0 - SOAP::SOAPLong
|
47
|
+
class HitTest
|
48
|
+
attr_accessor :arg0
|
49
|
+
def initialize(arg0 = nil) @arg0 = arg0
|
50
|
+
end
|
51
|
+
end
|
52
|
+
# {http:controls.classes.win32.server.sirius.org/}HitTestResponse
|
53
|
+
# m_return - Sirius::Client::Win32::Core::Tabcontrol::TcHITTESTINFO
|
54
|
+
class HitTestResponse
|
3
55
|
def m_return
|
56
|
+
@v_return
|
57
|
+
end
|
58
|
+
|
59
|
+
def m_return=(value) @v_return = value
|
60
|
+
end
|
61
|
+
|
62
|
+
def initialize(v_return = nil) @v_return = v_return
|
63
|
+
end
|
64
|
+
end
|
65
|
+
# {http:controls.classes.win32.server.sirius.org/}structure
|
66
|
+
# abstract
|
67
|
+
# autoRead - SOAP::SOAPBoolean
|
68
|
+
# autoWrite - SOAP::SOAPBoolean
|
69
|
+
class Structure
|
70
|
+
attr_accessor :autoRead
|
71
|
+
attr_accessor :autoWrite
|
72
|
+
def initialize(autoRead = nil, autoWrite = nil) @autoRead = autoRead
|
73
|
+
@autoWrite = autoWrite
|
74
|
+
end
|
75
|
+
end
|
76
|
+
# {http:controls.classes.win32.server.sirius.org/}tcHITTESTINFO
|
77
|
+
# autoRead - SOAP::SOAPBoolean
|
78
|
+
# autoWrite - SOAP::SOAPBoolean
|
79
|
+
# pt - Sirius::Client::Win32::Core::Tabcontrol::Point
|
80
|
+
# flags - SOAP::SOAPInt
|
81
|
+
class TcHITTESTINFO < Structure
|
82
|
+
attr_accessor :autoRead
|
83
|
+
attr_accessor :autoWrite
|
84
|
+
attr_accessor :pt
|
85
|
+
attr_accessor :flags
|
86
|
+
def initialize(autoRead = nil, autoWrite = nil, pt = nil, flags = nil) @autoRead = autoRead
|
87
|
+
@autoWrite = autoWrite
|
88
|
+
@pt = pt
|
89
|
+
@flags = flags
|
90
|
+
end
|
91
|
+
end
|
92
|
+
# {http:controls.classes.win32.server.sirius.org/}point
|
93
|
+
# autoRead - SOAP::SOAPBoolean
|
94
|
+
# autoWrite - SOAP::SOAPBoolean
|
95
|
+
# x - SOAP::SOAPInt
|
96
|
+
# y - SOAP::SOAPInt
|
97
|
+
class Point < Structure
|
98
|
+
attr_accessor :autoRead
|
99
|
+
attr_accessor :autoWrite
|
100
|
+
attr_accessor :x
|
101
|
+
attr_accessor :y
|
102
|
+
def initialize(autoRead = nil, autoWrite = nil, x = nil, y = nil) @autoRead = autoRead
|
103
|
+
@autoWrite = autoWrite
|
104
|
+
@x = x
|
105
|
+
@y = y
|
106
|
+
end
|
107
|
+
end
|
108
|
+
# {http:controls.classes.win32.server.sirius.org/}rect
|
109
|
+
# autoRead - SOAP::SOAPBoolean
|
110
|
+
# autoWrite - SOAP::SOAPBoolean
|
111
|
+
# left - SOAP::SOAPInt
|
112
|
+
# top - SOAP::SOAPInt
|
113
|
+
# right - SOAP::SOAPInt
|
114
|
+
# bottom - SOAP::SOAPInt
|
115
|
+
class Rect < Structure
|
116
|
+
attr_accessor :autoRead
|
117
|
+
attr_accessor :autoWrite
|
118
|
+
attr_accessor :left
|
119
|
+
attr_accessor :top
|
120
|
+
attr_accessor :right
|
121
|
+
attr_accessor :bottom
|
122
|
+
def initialize(autoRead = nil, autoWrite = nil, left = nil, top = nil, right = nil, bottom = nil) @autoRead = autoRead
|
123
|
+
@autoWrite = autoWrite
|
124
|
+
@left = left
|
125
|
+
@top = top
|
126
|
+
@right = right
|
127
|
+
@bottom = bottom
|
128
|
+
end
|
129
|
+
end
|
130
|
+
# {http:controls.classes.win32.server.sirius.org/}tcITEM
|
131
|
+
# autoRead - SOAP::SOAPBoolean
|
132
|
+
# autoWrite - SOAP::SOAPBoolean
|
133
|
+
# mask - SOAP::SOAPInt
|
134
|
+
# dwState - SOAP::SOAPInt
|
135
|
+
# dwStateMask - SOAP::SOAPInt
|
136
|
+
# pszText - SOAP::SOAPString
|
137
|
+
# cchTextMax - SOAP::SOAPInt
|
138
|
+
# iImage - SOAP::SOAPInt
|
139
|
+
# lParam - Sirius::Client::Win32::Core::Tabcontrol::Lparam
|
140
|
+
class TcITEM < Structure
|
141
|
+
attr_accessor :autoRead
|
142
|
+
attr_accessor :autoWrite
|
143
|
+
attr_accessor :mask
|
144
|
+
attr_accessor :dwState
|
145
|
+
attr_accessor :dwStateMask
|
146
|
+
attr_accessor :pszText
|
147
|
+
attr_accessor :cchTextMax
|
148
|
+
attr_accessor :iImage
|
149
|
+
attr_accessor :lParam
|
150
|
+
def initialize(autoRead = nil, autoWrite = nil, mask = nil, dwState = nil, dwStateMask = nil, pszText = nil, cchTextMax = nil, iImage = nil, lParam = nil) @autoRead = autoRead
|
151
|
+
@autoWrite = autoWrite
|
152
|
+
@mask = mask
|
153
|
+
@dwState = dwState
|
154
|
+
@dwStateMask = dwStateMask
|
155
|
+
@pszText = pszText
|
156
|
+
@cchTextMax = cchTextMax
|
157
|
+
@iImage = iImage
|
158
|
+
@lParam = lParam
|
159
|
+
end
|
160
|
+
end
|
161
|
+
# {http:controls.classes.win32.server.sirius.org/}GetItemCount
|
162
|
+
# arg0 - SOAP::SOAPLong
|
163
|
+
class GetItemCount
|
164
|
+
attr_accessor :arg0
|
165
|
+
def initialize(arg0 = nil) @arg0 = arg0
|
166
|
+
end
|
167
|
+
end
|
168
|
+
# {http:controls.classes.win32.server.sirius.org/}GetItemCountResponse
|
169
|
+
# m_return - SOAP::SOAPInt
|
170
|
+
class GetItemCountResponse
|
4
171
|
def m_return
|
172
|
+
@v_return
|
173
|
+
end
|
174
|
+
|
175
|
+
def m_return=(value) @v_return = value
|
176
|
+
end
|
177
|
+
|
178
|
+
def initialize(v_return = nil) @v_return = v_return
|
179
|
+
end
|
180
|
+
end
|
181
|
+
# {http:controls.classes.win32.server.sirius.org/}GetItemRect
|
182
|
+
# arg0 - SOAP::SOAPLong
|
183
|
+
# arg1 - SOAP::SOAPInt
|
184
|
+
class GetItemRect
|
185
|
+
attr_accessor :arg0
|
186
|
+
attr_accessor :arg1
|
187
|
+
def initialize(arg0 = nil, arg1 = nil) @arg0 = arg0
|
188
|
+
@arg1 = arg1
|
189
|
+
end
|
190
|
+
end
|
191
|
+
# {http:controls.classes.win32.server.sirius.org/}GetItemRectResponse
|
192
|
+
# m_return - Sirius::Client::Win32::Core::Tabcontrol::Rect
|
193
|
+
class GetItemRectResponse
|
5
194
|
def m_return
|
195
|
+
@v_return
|
196
|
+
end
|
197
|
+
|
198
|
+
def m_return=(value) @v_return = value
|
199
|
+
end
|
200
|
+
|
201
|
+
def initialize(v_return = nil) @v_return = v_return
|
202
|
+
end
|
203
|
+
end
|
204
|
+
# {http:controls.classes.win32.server.sirius.org/}GetCurSel
|
205
|
+
# arg0 - SOAP::SOAPLong
|
206
|
+
class GetCurSel
|
207
|
+
attr_accessor :arg0
|
208
|
+
def initialize(arg0 = nil) @arg0 = arg0
|
209
|
+
end
|
210
|
+
end
|
211
|
+
# {http:controls.classes.win32.server.sirius.org/}GetCurSelResponse
|
212
|
+
# m_return - SOAP::SOAPInt
|
213
|
+
class GetCurSelResponse
|
6
214
|
def m_return
|
215
|
+
@v_return
|
216
|
+
end
|
217
|
+
|
218
|
+
def m_return=(value) @v_return = value
|
219
|
+
end
|
220
|
+
|
221
|
+
def initialize(v_return = nil) @v_return = v_return
|
222
|
+
end
|
223
|
+
end
|
224
|
+
# {http:controls.classes.win32.server.sirius.org/}SetCurFocus
|
225
|
+
# arg0 - SOAP::SOAPLong
|
226
|
+
# arg1 - SOAP::SOAPInt
|
227
|
+
class SetCurFocus
|
228
|
+
attr_accessor :arg0
|
229
|
+
attr_accessor :arg1
|
230
|
+
def initialize(arg0 = nil, arg1 = nil) @arg0 = arg0
|
231
|
+
@arg1 = arg1
|
232
|
+
end
|
233
|
+
end
|
234
|
+
# {http:controls.classes.win32.server.sirius.org/}SetCurFocusResponse
|
235
|
+
class SetCurFocusResponse
|
7
236
|
def initialize
|
237
|
+
end
|
238
|
+
end
|
239
|
+
# {http:controls.classes.win32.server.sirius.org/}SetCurSel
|
240
|
+
# arg0 - SOAP::SOAPLong
|
241
|
+
# arg1 - SOAP::SOAPInt
|
242
|
+
class SetCurSel
|
243
|
+
attr_accessor :arg0
|
244
|
+
attr_accessor :arg1
|
245
|
+
def initialize(arg0 = nil, arg1 = nil) @arg0 = arg0
|
246
|
+
@arg1 = arg1
|
247
|
+
end
|
248
|
+
end
|
249
|
+
# {http:controls.classes.win32.server.sirius.org/}SetCurSelResponse
|
250
|
+
class SetCurSelResponse
|
8
251
|
def initialize
|
252
|
+
end
|
253
|
+
end
|
254
|
+
# {http:controls.classes.win32.server.sirius.org/}GetItem
|
255
|
+
# arg0 - SOAP::SOAPLong
|
256
|
+
# arg1 - SOAP::SOAPInt
|
257
|
+
class GetItem
|
258
|
+
attr_accessor :arg0
|
259
|
+
attr_accessor :arg1
|
260
|
+
def initialize(arg0 = nil, arg1 = nil) @arg0 = arg0
|
261
|
+
@arg1 = arg1
|
262
|
+
end
|
263
|
+
end
|
264
|
+
# {http:controls.classes.win32.server.sirius.org/}GetItemResponse
|
265
|
+
# m_return - Sirius::Client::Win32::Core::Tabcontrol::TcITEM
|
266
|
+
class GetItemResponse
|
9
267
|
def m_return
|
268
|
+
@v_return
|
269
|
+
end
|
270
|
+
|
271
|
+
def m_return=(value) @v_return = value
|
272
|
+
end
|
273
|
+
|
274
|
+
def initialize(v_return = nil) @v_return = v_return
|
275
|
+
end
|
276
|
+
end
|
277
|
+
# {http:controls.classes.win32.server.sirius.org/}number
|
278
|
+
# abstract
|
279
|
+
class Number
|
10
280
|
def initialize
|
281
|
+
end
|
282
|
+
end
|
283
|
+
# {http:controls.classes.win32.server.sirius.org/}integerType
|
284
|
+
# abstract
|
285
|
+
class IntegerType < Number
|
11
286
|
def initialize
|
287
|
+
end
|
288
|
+
end
|
289
|
+
# {http:controls.classes.win32.server.sirius.org/}longPTR
|
290
|
+
class LongPTR < IntegerType
|
12
291
|
def initialize
|
292
|
+
end
|
293
|
+
end
|
294
|
+
# {http:controls.classes.win32.server.sirius.org/}lparam
|
295
|
+
class Lparam < LongPTR
|
13
296
|
def initialize
|
297
|
+
end
|
298
|
+
end
|
299
|
+
|
300
|
+
end; end; end; end; end
|
@@ -0,0 +1,120 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'TabControlServiceDriver.rb'
|
3
|
+
|
4
|
+
Sirius::Client::Win32::Core::Tabcontrol
|
5
|
+
|
6
|
+
endpoint_url = ARGV.shift
|
7
|
+
obj = TabControl.new(endpoint_url)
|
8
|
+
|
9
|
+
# run ruby with -d to see SOAP wiredumps.
|
10
|
+
obj.wiredump_dev = STDERR if $DEBUG
|
11
|
+
|
12
|
+
# SYNOPSIS
|
13
|
+
# getCurSel(parameters)
|
14
|
+
#
|
15
|
+
# ARGS
|
16
|
+
# parameters GetCurSel - {http://controls.classes.win32.server.sirius.org/}GetCurSel
|
17
|
+
#
|
18
|
+
# RETURNS
|
19
|
+
# parameters GetCurSelResponse - {http://controls.classes.win32.server.sirius.org/}GetCurSelResponse
|
20
|
+
#
|
21
|
+
parameters = nil
|
22
|
+
puts obj.getCurSel(parameters)
|
23
|
+
|
24
|
+
# SYNOPSIS
|
25
|
+
# setCurSel(parameters)
|
26
|
+
#
|
27
|
+
# ARGS
|
28
|
+
# parameters SetCurSel - {http://controls.classes.win32.server.sirius.org/}SetCurSel
|
29
|
+
#
|
30
|
+
# RETURNS
|
31
|
+
# parameters SetCurSelResponse - {http://controls.classes.win32.server.sirius.org/}SetCurSelResponse
|
32
|
+
#
|
33
|
+
parameters = nil
|
34
|
+
puts obj.setCurSel(parameters)
|
35
|
+
|
36
|
+
# SYNOPSIS
|
37
|
+
# getItemCount(parameters)
|
38
|
+
#
|
39
|
+
# ARGS
|
40
|
+
# parameters GetItemCount - {http://controls.classes.win32.server.sirius.org/}GetItemCount
|
41
|
+
#
|
42
|
+
# RETURNS
|
43
|
+
# parameters GetItemCountResponse - {http://controls.classes.win32.server.sirius.org/}GetItemCountResponse
|
44
|
+
#
|
45
|
+
parameters = nil
|
46
|
+
puts obj.getItemCount(parameters)
|
47
|
+
|
48
|
+
# SYNOPSIS
|
49
|
+
# getCurFocus(parameters)
|
50
|
+
#
|
51
|
+
# ARGS
|
52
|
+
# parameters GetCurFocus - {http://controls.classes.win32.server.sirius.org/}GetCurFocus
|
53
|
+
#
|
54
|
+
# RETURNS
|
55
|
+
# parameters GetCurFocusResponse - {http://controls.classes.win32.server.sirius.org/}GetCurFocusResponse
|
56
|
+
#
|
57
|
+
parameters = nil
|
58
|
+
puts obj.getCurFocus(parameters)
|
59
|
+
|
60
|
+
# SYNOPSIS
|
61
|
+
# hitTest(parameters)
|
62
|
+
#
|
63
|
+
# ARGS
|
64
|
+
# parameters HitTest - {http://controls.classes.win32.server.sirius.org/}HitTest
|
65
|
+
#
|
66
|
+
# RETURNS
|
67
|
+
# parameters HitTestResponse - {http://controls.classes.win32.server.sirius.org/}HitTestResponse
|
68
|
+
#
|
69
|
+
parameters = nil
|
70
|
+
puts obj.hitTest(parameters)
|
71
|
+
|
72
|
+
# SYNOPSIS
|
73
|
+
# getRowCount(parameters)
|
74
|
+
#
|
75
|
+
# ARGS
|
76
|
+
# parameters GetRowCount - {http://controls.classes.win32.server.sirius.org/}GetRowCount
|
77
|
+
#
|
78
|
+
# RETURNS
|
79
|
+
# parameters GetRowCountResponse - {http://controls.classes.win32.server.sirius.org/}GetRowCountResponse
|
80
|
+
#
|
81
|
+
parameters = nil
|
82
|
+
puts obj.getRowCount(parameters)
|
83
|
+
|
84
|
+
# SYNOPSIS
|
85
|
+
# getItemRect(parameters)
|
86
|
+
#
|
87
|
+
# ARGS
|
88
|
+
# parameters GetItemRect - {http://controls.classes.win32.server.sirius.org/}GetItemRect
|
89
|
+
#
|
90
|
+
# RETURNS
|
91
|
+
# parameters GetItemRectResponse - {http://controls.classes.win32.server.sirius.org/}GetItemRectResponse
|
92
|
+
#
|
93
|
+
parameters = nil
|
94
|
+
puts obj.getItemRect(parameters)
|
95
|
+
|
96
|
+
# SYNOPSIS
|
97
|
+
# setCurFocus(parameters)
|
98
|
+
#
|
99
|
+
# ARGS
|
100
|
+
# parameters SetCurFocus - {http://controls.classes.win32.server.sirius.org/}SetCurFocus
|
101
|
+
#
|
102
|
+
# RETURNS
|
103
|
+
# parameters SetCurFocusResponse - {http://controls.classes.win32.server.sirius.org/}SetCurFocusResponse
|
104
|
+
#
|
105
|
+
parameters = nil
|
106
|
+
puts obj.setCurFocus(parameters)
|
107
|
+
|
108
|
+
# SYNOPSIS
|
109
|
+
# getItem(parameters)
|
110
|
+
#
|
111
|
+
# ARGS
|
112
|
+
# parameters GetItem - {http://controls.classes.win32.server.sirius.org/}GetItem
|
113
|
+
#
|
114
|
+
# RETURNS
|
115
|
+
# parameters GetItemResponse - {http://controls.classes.win32.server.sirius.org/}GetItemResponse
|
116
|
+
#
|
117
|
+
parameters = nil
|
118
|
+
puts obj.getItem(parameters)
|
119
|
+
|
120
|
+
Sirius::Client::Win32::Core::Tabcontrol
|
@@ -0,0 +1,112 @@
|
|
1
|
+
require 'TabControlService.rb'
|
2
|
+
require 'TabControlServiceMappingRegistry.rb'
|
3
|
+
require 'soap/rpc/driver'
|
4
|
+
|
5
|
+
module Sirius::Client::Win32::Core::Tabcontrol
|
6
|
+
|
7
|
+
|
8
|
+
class TabControl < ::SOAP::RPC::Driver DefaultEndpointUrl = "http:localhost:21212/win32/tabcontrol"
|
9
|
+
Methods = [
|
10
|
+
[ "",
|
11
|
+
"getCurSel",
|
12
|
+
[ [:in, "parameters", ["::SOAP::SOAPElement", "http:controls.classes.win32.server.sirius.org/", "GetCurSel"]],
|
13
|
+
[:out, "parameters", ["::SOAP::SOAPElement", "http:controls.classes.win32.server.sirius.org/", "GetCurSelResponse"]] ],
|
14
|
+
{ :request_style => :document, :request_use => :literal,
|
15
|
+
:response_style => :document, :response_use => :literal,
|
16
|
+
:faults => {} }
|
17
|
+
],
|
18
|
+
[ "",
|
19
|
+
"setCurSel",
|
20
|
+
[ [:in, "parameters", ["::SOAP::SOAPElement", "http:controls.classes.win32.server.sirius.org/", "SetCurSel"]],
|
21
|
+
[:out, "parameters", ["::SOAP::SOAPElement", "http:controls.classes.win32.server.sirius.org/", "SetCurSelResponse"]] ],
|
22
|
+
{ :request_style => :document, :request_use => :literal,
|
23
|
+
:response_style => :document, :response_use => :literal,
|
24
|
+
:faults => {} }
|
25
|
+
],
|
26
|
+
[ "",
|
27
|
+
"getItemCount",
|
28
|
+
[ [:in, "parameters", ["::SOAP::SOAPElement", "http:controls.classes.win32.server.sirius.org/", "GetItemCount"]],
|
29
|
+
[:out, "parameters", ["::SOAP::SOAPElement", "http:controls.classes.win32.server.sirius.org/", "GetItemCountResponse"]] ],
|
30
|
+
{ :request_style => :document, :request_use => :literal,
|
31
|
+
:response_style => :document, :response_use => :literal,
|
32
|
+
:faults => {} }
|
33
|
+
],
|
34
|
+
[ "",
|
35
|
+
"getCurFocus",
|
36
|
+
[ [:in, "parameters", ["::SOAP::SOAPElement", "http:controls.classes.win32.server.sirius.org/", "GetCurFocus"]],
|
37
|
+
[:out, "parameters", ["::SOAP::SOAPElement", "http:controls.classes.win32.server.sirius.org/", "GetCurFocusResponse"]] ],
|
38
|
+
{ :request_style => :document, :request_use => :literal,
|
39
|
+
:response_style => :document, :response_use => :literal,
|
40
|
+
:faults => {} }
|
41
|
+
],
|
42
|
+
[ "",
|
43
|
+
"hitTest",
|
44
|
+
[ [:in, "parameters", ["::SOAP::SOAPElement", "http:controls.classes.win32.server.sirius.org/", "HitTest"]],
|
45
|
+
[:out, "parameters", ["::SOAP::SOAPElement", "http:controls.classes.win32.server.sirius.org/", "HitTestResponse"]] ],
|
46
|
+
{ :request_style => :document, :request_use => :literal,
|
47
|
+
:response_style => :document, :response_use => :literal,
|
48
|
+
:faults => {} }
|
49
|
+
],
|
50
|
+
[ "",
|
51
|
+
"getRowCount",
|
52
|
+
[ [:in, "parameters", ["::SOAP::SOAPElement", "http:controls.classes.win32.server.sirius.org/", "GetRowCount"]],
|
53
|
+
[:out, "parameters", ["::SOAP::SOAPElement", "http:controls.classes.win32.server.sirius.org/", "GetRowCountResponse"]] ],
|
54
|
+
{ :request_style => :document, :request_use => :literal,
|
55
|
+
:response_style => :document, :response_use => :literal,
|
56
|
+
:faults => {} }
|
57
|
+
],
|
58
|
+
[ "",
|
59
|
+
"getItemRect",
|
60
|
+
[ [:in, "parameters", ["::SOAP::SOAPElement", "http:controls.classes.win32.server.sirius.org/", "GetItemRect"]],
|
61
|
+
[:out, "parameters", ["::SOAP::SOAPElement", "http:controls.classes.win32.server.sirius.org/", "GetItemRectResponse"]] ],
|
62
|
+
{ :request_style => :document, :request_use => :literal,
|
63
|
+
:response_style => :document, :response_use => :literal,
|
64
|
+
:faults => {} }
|
65
|
+
],
|
66
|
+
[ "",
|
67
|
+
"setCurFocus",
|
68
|
+
[ [:in, "parameters", ["::SOAP::SOAPElement", "http:controls.classes.win32.server.sirius.org/", "SetCurFocus"]],
|
69
|
+
[:out, "parameters", ["::SOAP::SOAPElement", "http:controls.classes.win32.server.sirius.org/", "SetCurFocusResponse"]] ],
|
70
|
+
{ :request_style => :document, :request_use => :literal,
|
71
|
+
:response_style => :document, :response_use => :literal,
|
72
|
+
:faults => {} }
|
73
|
+
],
|
74
|
+
[ "",
|
75
|
+
"getItem",
|
76
|
+
[ [:in, "parameters", ["::SOAP::SOAPElement", "http:controls.classes.win32.server.sirius.org/", "GetItem"]],
|
77
|
+
[:out, "parameters", ["::SOAP::SOAPElement", "http:controls.classes.win32.server.sirius.org/", "GetItemResponse"]] ],
|
78
|
+
{ :request_style => :document, :request_use => :literal,
|
79
|
+
:response_style => :document, :response_use => :literal,
|
80
|
+
:faults => {} }
|
81
|
+
]
|
82
|
+
]
|
83
|
+
|
84
|
+
def initialize(endpoint_url = nil) endpoint_url ||= DefaultEndpointUrl
|
85
|
+
super(endpoint_url, nil)
|
86
|
+
self.mapping_registry = TabControlServiceMappingRegistry::EncodedRegistry
|
87
|
+
self.literal_mapping_registry = TabControlServiceMappingRegistry::LiteralRegistry
|
88
|
+
init_methods
|
89
|
+
end
|
90
|
+
private
|
91
|
+
|
92
|
+
def init_methods
|
93
|
+
Methods.each do |definitions|
|
94
|
+
opt = definitions.last
|
95
|
+
if opt[:request_style] == :document
|
96
|
+
add_document_operation(*definitions)
|
97
|
+
else
|
98
|
+
add_rpc_operation(*definitions)
|
99
|
+
qname = definitions[0]
|
100
|
+
name = definitions[2]
|
101
|
+
if qname.name != name and qname.name.capitalize == name.capitalize
|
102
|
+
::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
|
103
|
+
__send__(name, *arg)
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
end
|