-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
GioWin32-2.0.gir
393 lines (388 loc) · 17.8 KB
/
GioWin32-2.0.gir
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0" version="1.2">
<include name="GLib" version="2.0"/>
<include name="GModule" version="2.0"/>
<include name="GObject" version="2.0"/>
<include name="Gio" version="2.0"/>
<package name="gio-windows-2.0"/>
<c:include name="gio/gio.h"/>
<c:include name="gio/gregistrysettingsbackend.h"/>
<c:include name="gio/gwin32inputstream.h"/>
<c:include name="gio/gwin32outputstream.h"/>
<namespace name="GioWin32" version="2.0" shared-library="libgio-2.0-0.dll" c:identifier-prefixes="GWin32,G" c:symbol-prefixes="gio,g_win32,g">
<function-macro name="INPUT_STREAM" c:identifier="G_WIN32_INPUT_STREAM" introspectable="0">
<parameters>
<parameter name="o">
</parameter>
</parameters>
</function-macro>
<function-macro name="INPUT_STREAM_CLASS" c:identifier="G_WIN32_INPUT_STREAM_CLASS" introspectable="0">
<parameters>
<parameter name="k">
</parameter>
</parameters>
</function-macro>
<function-macro name="INPUT_STREAM_GET_CLASS" c:identifier="G_WIN32_INPUT_STREAM_GET_CLASS" introspectable="0">
<parameters>
<parameter name="o">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WIN32_INPUT_STREAM" c:identifier="G_IS_WIN32_INPUT_STREAM" introspectable="0">
<parameters>
<parameter name="o">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WIN32_INPUT_STREAM_CLASS" c:identifier="G_IS_WIN32_INPUT_STREAM_CLASS" introspectable="0">
<parameters>
<parameter name="k">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WIN32_NETWORK_MONITOR" c:identifier="G_IS_WIN32_NETWORK_MONITOR" introspectable="0">
<parameters>
<parameter name="o">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WIN32_NETWORK_MONITOR_CLASS" c:identifier="G_IS_WIN32_NETWORK_MONITOR_CLASS" introspectable="0">
<parameters>
<parameter name="k">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WIN32_OUTPUT_STREAM" c:identifier="G_IS_WIN32_OUTPUT_STREAM" introspectable="0">
<parameters>
<parameter name="o">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_WIN32_OUTPUT_STREAM_CLASS" c:identifier="G_IS_WIN32_OUTPUT_STREAM_CLASS" introspectable="0">
<parameters>
<parameter name="k">
</parameter>
</parameters>
</function-macro>
<class name="InputStream" c:symbol-prefix="input_stream" c:type="GWin32InputStream" parent="Gio.InputStream" glib:type-name="GWin32InputStream" glib:get-type="g_win32_input_stream_get_type" glib:type-struct="InputStreamClass">
<doc xml:space="preserve">`GWin32InputStream` implements [[email protected]] for reading from a
Windows file handle.
Note that `<gio/gwin32inputstream.h>` belongs to the Windows-specific GIO
interfaces, thus you have to use the `gio-windows-2.0.pc` pkg-config file
when using it.</doc>
<constructor name="new" c:identifier="g_win32_input_stream_new">
<doc xml:space="preserve">Creates a new #GWin32InputStream for the given @handle.
If @close_handle is %TRUE, the handle will be closed
when the stream is closed.
Note that "handle" here means a Win32 HANDLE, not a "file descriptor"
as used in the Windows C libraries.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #GWin32InputStream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</return-value>
<parameters>
<parameter name="handle" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a Win32 file handle</doc>
<type name="gpointer" c:type="void*"/>
</parameter>
<parameter name="close_handle" transfer-ownership="none">
<doc xml:space="preserve">%TRUE to close the handle when done</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</constructor>
<function name="get_close_handle" c:identifier="g_win32_input_stream_get_close_handle" version="2.26">
<doc xml:space="preserve">Returns whether the handle of @stream will be
closed when the stream is closed.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the handle is closed when done</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="stream" transfer-ownership="none">
<doc xml:space="preserve">a #GWin32InputStream</doc>
<type name="Gio.Win32InputStream" c:type="GWin32InputStream*"/>
</parameter>
</parameters>
</function>
<function name="get_handle" c:identifier="g_win32_input_stream_get_handle" version="2.26">
<doc xml:space="preserve">Return the Windows file handle that the stream reads from.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">The file handle of @stream</doc>
<type name="gpointer" c:type="void*"/>
</return-value>
<parameters>
<parameter name="stream" transfer-ownership="none">
<doc xml:space="preserve">a #GWin32InputStream</doc>
<type name="Gio.Win32InputStream" c:type="GWin32InputStream*"/>
</parameter>
</parameters>
</function>
<function name="set_close_handle" c:identifier="g_win32_input_stream_set_close_handle" version="2.26">
<doc xml:space="preserve">Sets whether the handle of @stream shall be closed
when the stream is closed.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="stream" transfer-ownership="none">
<doc xml:space="preserve">a #GWin32InputStream</doc>
<type name="Gio.Win32InputStream" c:type="GWin32InputStream*"/>
</parameter>
<parameter name="close_handle" transfer-ownership="none">
<doc xml:space="preserve">%TRUE to close the handle when done</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</function>
<property name="close-handle" version="2.26" writable="1" transfer-ownership="none" default-value="TRUE">
<doc xml:space="preserve">Whether to close the file handle when the stream is closed.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="handle" version="2.26" writable="1" construct-only="1" transfer-ownership="none">
<doc xml:space="preserve">The handle that the stream reads from.</doc>
<type name="gpointer" c:type="gpointer"/>
</property>
<field name="parent_instance">
<type name="Gio.InputStream" c:type="GInputStream"/>
</field>
<field name="priv" readable="0" private="1">
<type name="Gio.Win32InputStreamPrivate" c:type="GWin32InputStreamPrivate*"/>
</field>
</class>
<record name="InputStreamClass" c:type="GWin32InputStreamClass" glib:is-gtype-struct-for="InputStream">
<field name="parent_class">
<type name="Gio.InputStreamClass" c:type="GInputStreamClass"/>
</field>
<field name="_g_reserved1" introspectable="0">
<callback name="_g_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_g_reserved2" introspectable="0">
<callback name="_g_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_g_reserved3" introspectable="0">
<callback name="_g_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_g_reserved4" introspectable="0">
<callback name="_g_reserved4">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_g_reserved5" introspectable="0">
<callback name="_g_reserved5">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="InputStreamPrivate" c:type="GWin32InputStreamPrivate" disguised="1" opaque="1"/>
<function-macro name="NETWORK_MONITOR" c:identifier="G_WIN32_NETWORK_MONITOR" introspectable="0">
<parameters>
<parameter name="o">
</parameter>
</parameters>
</function-macro>
<function-macro name="NETWORK_MONITOR_CLASS" c:identifier="G_WIN32_NETWORK_MONITOR_CLASS" introspectable="0">
<parameters>
<parameter name="k">
</parameter>
</parameters>
</function-macro>
<function-macro name="NETWORK_MONITOR_GET_CLASS" c:identifier="G_WIN32_NETWORK_MONITOR_GET_CLASS" introspectable="0">
<parameters>
<parameter name="o">
</parameter>
</parameters>
</function-macro>
<record name="NetworkMonitor" c:type="GWin32NetworkMonitor">
<field name="parent_instance" introspectable="0" writable="1">
<type c:type="GNetworkMonitorBase"/>
</field>
<field name="priv" writable="1">
<type name="Gio.Win32NetworkMonitorPrivate" c:type="GWin32NetworkMonitorPrivate*"/>
</field>
</record>
<record name="NetworkMonitorClass" c:type="GWin32NetworkMonitorClass">
<field name="parent_class" introspectable="0" writable="1">
<type c:type="GNetworkMonitorBaseClass"/>
</field>
</record>
<record name="NetworkMonitorPrivate" c:type="GWin32NetworkMonitorPrivate" disguised="1" opaque="1"/>
<function-macro name="OUTPUT_STREAM" c:identifier="G_WIN32_OUTPUT_STREAM" introspectable="0">
<parameters>
<parameter name="o">
</parameter>
</parameters>
</function-macro>
<function-macro name="OUTPUT_STREAM_CLASS" c:identifier="G_WIN32_OUTPUT_STREAM_CLASS" introspectable="0">
<parameters>
<parameter name="k">
</parameter>
</parameters>
</function-macro>
<function-macro name="OUTPUT_STREAM_GET_CLASS" c:identifier="G_WIN32_OUTPUT_STREAM_GET_CLASS" introspectable="0">
<parameters>
<parameter name="o">
</parameter>
</parameters>
</function-macro>
<class name="OutputStream" c:symbol-prefix="output_stream" c:type="GWin32OutputStream" parent="Gio.OutputStream" glib:type-name="GWin32OutputStream" glib:get-type="g_win32_output_stream_get_type" glib:type-struct="OutputStreamClass">
<doc xml:space="preserve">`GWin32OutputStream` implements [[email protected]] for writing to a
Windows file handle.
Note that `<gio/gwin32outputstream.h>` belongs to the Windows-specific GIO
interfaces, thus you have to use the `gio-windows-2.0.pc` pkg-config file
when using it.</doc>
<constructor name="new" c:identifier="g_win32_output_stream_new" version="2.26">
<doc xml:space="preserve">Creates a new #GWin32OutputStream for the given @handle.
If @close_handle, is %TRUE, the handle will be closed when the
output stream is destroyed.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #GOutputStream</doc>
<type name="Gio.OutputStream" c:type="GOutputStream*"/>
</return-value>
<parameters>
<parameter name="handle" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">a Win32 file handle</doc>
<type name="gpointer" c:type="void*"/>
</parameter>
<parameter name="close_handle" transfer-ownership="none">
<doc xml:space="preserve">%TRUE to close the handle when done</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</constructor>
<function name="get_close_handle" c:identifier="g_win32_output_stream_get_close_handle" version="2.26">
<doc xml:space="preserve">Returns whether the handle of @stream will be closed when the
stream is closed.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the handle is closed when done</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="stream" transfer-ownership="none">
<doc xml:space="preserve">a #GWin32OutputStream</doc>
<type name="Gio.Win32OutputStream" c:type="GWin32OutputStream*"/>
</parameter>
</parameters>
</function>
<function name="get_handle" c:identifier="g_win32_output_stream_get_handle" version="2.26">
<doc xml:space="preserve">Return the Windows handle that the stream writes to.</doc>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve">The handle descriptor of @stream</doc>
<type name="gpointer" c:type="void*"/>
</return-value>
<parameters>
<parameter name="stream" transfer-ownership="none">
<doc xml:space="preserve">a #GWin32OutputStream</doc>
<type name="Gio.Win32OutputStream" c:type="GWin32OutputStream*"/>
</parameter>
</parameters>
</function>
<function name="set_close_handle" c:identifier="g_win32_output_stream_set_close_handle" version="2.26">
<doc xml:space="preserve">Sets whether the handle of @stream shall be closed when the stream
is closed.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="stream" transfer-ownership="none">
<doc xml:space="preserve">a #GWin32OutputStream</doc>
<type name="Gio.Win32OutputStream" c:type="GWin32OutputStream*"/>
</parameter>
<parameter name="close_handle" transfer-ownership="none">
<doc xml:space="preserve">%TRUE to close the handle when done</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</function>
<property name="close-handle" version="2.26" writable="1" transfer-ownership="none" default-value="TRUE">
<doc xml:space="preserve">Whether to close the file handle when the stream is closed.</doc>
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="handle" version="2.26" writable="1" construct-only="1" transfer-ownership="none">
<doc xml:space="preserve">The file handle that the stream writes to.</doc>
<type name="gpointer" c:type="gpointer"/>
</property>
<field name="parent_instance">
<type name="Gio.OutputStream" c:type="GOutputStream"/>
</field>
<field name="priv" readable="0" private="1">
<type name="Gio.Win32OutputStreamPrivate" c:type="GWin32OutputStreamPrivate*"/>
</field>
</class>
<record name="OutputStreamClass" c:type="GWin32OutputStreamClass" glib:is-gtype-struct-for="OutputStream">
<field name="parent_class">
<type name="Gio.OutputStreamClass" c:type="GOutputStreamClass"/>
</field>
<field name="_g_reserved1" introspectable="0">
<callback name="_g_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_g_reserved2" introspectable="0">
<callback name="_g_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_g_reserved3" introspectable="0">
<callback name="_g_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_g_reserved4" introspectable="0">
<callback name="_g_reserved4">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_g_reserved5" introspectable="0">
<callback name="_g_reserved5">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="OutputStreamPrivate" c:type="GWin32OutputStreamPrivate" disguised="1" opaque="1"/>
<function name="registry_settings_backend_new" c:identifier="g_registry_settings_backend_new" version="2.78">
<doc xml:space="preserve">If @registry_key is %NULL then the default path
`HKEY_CURRENT_USER\Software\GSettings` is used.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a registry-backed #GSettingsBackend</doc>
<type name="Gio.SettingsBackend" c:type="GSettingsBackend*"/>
</return-value>
<parameters>
<parameter name="registry_key" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve">the path to the registry key where
settings are stored, or %NULL.</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
</namespace>
</repository>