-
Notifications
You must be signed in to change notification settings - Fork 2
/
gio_structs
4081 lines (4081 loc) · 184 KB
/
gio_structs
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
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
quote
$(Expr(:toplevel, quote
begin
struct _GDBusErrorEntry
error_code::Int32
dbus_error_name::Cstring
end
mutable struct GDBusErrorEntry
handle::Ptr{_GDBusErrorEntry}
end
unsafe_convert(::Type{Ptr{_GDBusErrorEntry}}, box::GDBusErrorEntry) = begin
convert(Ptr{_GDBusErrorEntry}, box.handle)
end
end
begin
struct _GFileAttributeInfo
name::Cstring
type::UInt32
flags::UInt32
end
mutable struct GFileAttributeInfo
handle::Ptr{_GFileAttributeInfo}
end
unsafe_convert(::Type{Ptr{_GFileAttributeInfo}}, box::GFileAttributeInfo) = begin
convert(Ptr{_GFileAttributeInfo}, box.handle)
end
end
begin
struct _GFileAttributeInfoList
infos::Ptr{_GFileAttributeInfo}
n_infos::Int32
end
mutable struct GFileAttributeInfoList <: GBoxed
handle::Ptr{_GFileAttributeInfoList}
begin
(GLib.g_type(::Type{T}) where T <: GFileAttributeInfoList) = begin
ccall(("g_file_attribute_info_list_get_type", libgio), GType, ())
end
function GFileAttributeInfoList(ref::Ptr{T}, own::Bool = false) where T <: GBoxed
x = new(ref)
if own
finalizer(x) do x
GLib.delboxed(x)
end
end
x
end
push!(gboxed_types, GFileAttributeInfoList)
end
end
unsafe_convert(::Type{Ptr{_GFileAttributeInfoList}}, box::GFileAttributeInfoList) = begin
convert(Ptr{_GFileAttributeInfoList}, box.handle)
end
end
mutable struct GFileAttributeMatcher <: GBoxed
handle::Ptr{GFileAttributeMatcher}
begin
(GLib.g_type(::Type{T}) where T <: GFileAttributeMatcher) = begin
ccall(("g_file_attribute_matcher_get_type", libgio), GType, ())
end
function GFileAttributeMatcher(ref::Ptr{T}, own::Bool = false) where T <: GBoxed
x = new(ref)
if own
finalizer(x) do x
GLib.delboxed(x)
end
end
x
end
push!(gboxed_types, GFileAttributeMatcher)
end
end
begin
struct _GInputVector
buffer::Ptr{Nothing}
size::UInt64
end
mutable struct GInputVector
handle::Ptr{_GInputVector}
end
unsafe_convert(::Type{Ptr{_GInputVector}}, box::GInputVector) = begin
convert(Ptr{_GInputVector}, box.handle)
end
end
begin
struct _GOutputVector
buffer::Ptr{Nothing}
size::UInt64
end
mutable struct GOutputVector
handle::Ptr{_GOutputVector}
end
unsafe_convert(::Type{Ptr{_GOutputVector}}, box::GOutputVector) = begin
convert(Ptr{_GOutputVector}, box.handle)
end
end
mutable struct GResource <: GBoxed
handle::Ptr{GResource}
begin
(GLib.g_type(::Type{T}) where T <: GResource) = begin
ccall(("g_resource_get_type", libgio), GType, ())
end
function GResource(ref::Ptr{T}, own::Bool = false) where T <: GBoxed
x = new(ref)
if own
finalizer(x) do x
GLib.delboxed(x)
end
end
x
end
push!(gboxed_types, GResource)
end
end
mutable struct GSettingsSchema <: GBoxed
handle::Ptr{GSettingsSchema}
begin
(GLib.g_type(::Type{T}) where T <: GSettingsSchema) = begin
ccall(("g_settings_schema_get_type", libgio), GType, ())
end
function GSettingsSchema(ref::Ptr{T}, own::Bool = false) where T <: GBoxed
x = new(ref)
if own
finalizer(x) do x
GLib.delboxed(x)
end
end
x
end
push!(gboxed_types, GSettingsSchema)
end
end
mutable struct GSettingsSchemaKey <: GBoxed
handle::Ptr{GSettingsSchemaKey}
begin
(GLib.g_type(::Type{T}) where T <: GSettingsSchemaKey) = begin
ccall(("g_settings_schema_key_get_type", libgio), GType, ())
end
function GSettingsSchemaKey(ref::Ptr{T}, own::Bool = false) where T <: GBoxed
x = new(ref)
if own
finalizer(x) do x
GLib.delboxed(x)
end
end
x
end
push!(gboxed_types, GSettingsSchemaKey)
end
end
mutable struct GSettingsSchemaSource <: GBoxed
handle::Ptr{GSettingsSchemaSource}
begin
(GLib.g_type(::Type{T}) where T <: GSettingsSchemaSource) = begin
ccall(("g_settings_schema_source_get_type", libgio), GType, ())
end
function GSettingsSchemaSource(ref::Ptr{T}, own::Bool = false) where T <: GBoxed
x = new(ref)
if own
finalizer(x) do x
GLib.delboxed(x)
end
end
x
end
push!(gboxed_types, GSettingsSchemaSource)
end
end
mutable struct GSrvTarget <: GBoxed
handle::Ptr{GSrvTarget}
begin
(GLib.g_type(::Type{T}) where T <: GSrvTarget) = begin
ccall(("g_srv_target_get_type", libgio), GType, ())
end
function GSrvTarget(ref::Ptr{T}, own::Bool = false) where T <: GBoxed
x = new(ref)
if own
finalizer(x) do x
GLib.delboxed(x)
end
end
x
end
push!(gboxed_types, GSrvTarget)
end
end
begin
struct _GXdpDocumentsIface
parent_iface::_GTypeInterface
handle_add::Ptr{Cvoid}
handle_add_full::Ptr{Cvoid}
handle_add_named::Ptr{Cvoid}
handle_add_named_full::Ptr{Cvoid}
handle_delete::Ptr{Cvoid}
handle_get_mount_point::Ptr{Cvoid}
handle_grant_permissions::Ptr{Cvoid}
handle_info::Ptr{Cvoid}
handle_list::Ptr{Cvoid}
handle_lookup::Ptr{Cvoid}
handle_revoke_permissions::Ptr{Cvoid}
get_version::Ptr{Cvoid}
end
mutable struct GXdpDocumentsIface
handle::Ptr{_GXdpDocumentsIface}
end
unsafe_convert(::Type{Ptr{_GXdpDocumentsIface}}, box::GXdpDocumentsIface) = begin
convert(Ptr{_GXdpDocumentsIface}, box.handle)
end
end
begin
struct _GXdpOpenURIIface
parent_iface::_GTypeInterface
handle_open_directory::Ptr{Cvoid}
handle_open_file::Ptr{Cvoid}
handle_open_uri::Ptr{Cvoid}
get_version::Ptr{Cvoid}
end
mutable struct GXdpOpenURIIface
handle::Ptr{_GXdpOpenURIIface}
end
unsafe_convert(::Type{Ptr{_GXdpOpenURIIface}}, box::GXdpOpenURIIface) = begin
convert(Ptr{_GXdpOpenURIIface}, box.handle)
end
end
begin
struct _GXdpProxyResolverIface
parent_iface::_GTypeInterface
handle_lookup::Ptr{Cvoid}
get_version::Ptr{Cvoid}
end
mutable struct GXdpProxyResolverIface
handle::Ptr{_GXdpProxyResolverIface}
end
unsafe_convert(::Type{Ptr{_GXdpProxyResolverIface}}, box::GXdpProxyResolverIface) = begin
convert(Ptr{_GXdpProxyResolverIface}, box.handle)
end
end
begin
struct _GXdpTrashIface
parent_iface::_GTypeInterface
handle_trash_file::Ptr{Cvoid}
get_version::Ptr{Cvoid}
end
mutable struct GXdpTrashIface
handle::Ptr{_GXdpTrashIface}
end
unsafe_convert(::Type{Ptr{_GXdpTrashIface}}, box::GXdpTrashIface) = begin
convert(Ptr{_GXdpTrashIface}, box.handle)
end
end
begin
struct _G_FreedesktopDBusIface
parent_iface::_GTypeInterface
handle_add_match::Ptr{Nothing}
handle_get_connection_selinux_security_context::Ptr{Nothing}
handle_get_connection_unix_process_id::Ptr{Nothing}
handle_get_connection_unix_user::Ptr{Nothing}
handle_get_id::Ptr{Nothing}
handle_get_name_owner::Ptr{Nothing}
handle_hello::Ptr{Nothing}
handle_list_activatable_names::Ptr{Nothing}
handle_list_names::Ptr{Nothing}
handle_list_queued_owners::Ptr{Nothing}
handle_name_has_owner::Ptr{Nothing}
handle_release_name::Ptr{Nothing}
handle_reload_config::Ptr{Nothing}
handle_remove_match::Ptr{Nothing}
handle_request_name::Ptr{Nothing}
handle_start_service_by_name::Ptr{Nothing}
handle_update_activation_environment::Ptr{Nothing}
name_acquired::Ptr{Nothing}
name_lost::Ptr{Nothing}
name_owner_changed::Ptr{Nothing}
end
mutable struct G_FreedesktopDBusIface
handle::Ptr{_G_FreedesktopDBusIface}
end
unsafe_convert(::Type{Ptr{_G_FreedesktopDBusIface}}, box::G_FreedesktopDBusIface) = begin
convert(Ptr{_G_FreedesktopDBusIface}, box.handle)
end
end
begin
struct _G_FreedesktopDBusProxy
parent_instance::Ptr{GObject}
priv::Ptr{Nothing}
end
mutable struct G_FreedesktopDBusProxy
handle::Ptr{_G_FreedesktopDBusProxy}
end
unsafe_convert(::Type{Ptr{_G_FreedesktopDBusProxy}}, box::G_FreedesktopDBusProxy) = begin
convert(Ptr{_G_FreedesktopDBusProxy}, box.handle)
end
end
begin
struct _G_FreedesktopDBusSkeleton
parent_instance::Ptr{GObject}
priv::Ptr{Nothing}
end
mutable struct G_FreedesktopDBusSkeleton
handle::Ptr{_G_FreedesktopDBusSkeleton}
end
unsafe_convert(::Type{Ptr{_G_FreedesktopDBusSkeleton}}, box::G_FreedesktopDBusSkeleton) = begin
convert(Ptr{_G_FreedesktopDBusSkeleton}, box.handle)
end
end
function GFileAttributeInfoList()
G_.FileAttributeInfoList_new()
end
function GFileAttributeMatcher(_attributes::Union{AbstractString, Symbol})
G_.FileAttributeMatcher_new(_attributes)
end
function GResource(_data::GBytes)
G_.Resource_new_from_data(_data)
end
function GSettingsSchemaSource(_directory::Union{AbstractString, Symbol}, _parent::Maybe(GSettingsSchemaSource), _trusted::Bool)
G_.SettingsSchemaSource_new_from_directory(_directory, _parent, _trusted)
end
function GSrvTarget(_hostname::Union{AbstractString, Symbol}, _port::Integer, _priority::Integer, _weight::Integer)
G_.SrvTarget_new(_hostname, _port, _priority, _weight)
end
@doc "See the [GTK docs](https://docs.gtk.org/gio/struct.DBusErrorEntry.html)." GDBusErrorEntry
@doc "See the [GTK docs](https://docs.gtk.org/gio/struct.FileAttributeInfo.html)." GFileAttributeInfo
@doc "See the [GTK docs](https://docs.gtk.org/gio/struct.FileAttributeInfoList.html)." GFileAttributeInfoList
@doc "See the [GTK docs](https://docs.gtk.org/gio/struct.FileAttributeMatcher.html)." GFileAttributeMatcher
@doc "See the [GTK docs](https://docs.gtk.org/gio/struct.InputVector.html)." GInputVector
@doc "See the [GTK docs](https://docs.gtk.org/gio/struct.OutputVector.html)." GOutputVector
@doc "See the [GTK docs](https://docs.gtk.org/gio/struct.Resource.html)." GResource
@doc "See the [GTK docs](https://docs.gtk.org/gio/struct.SettingsSchema.html)." GSettingsSchema
@doc "See the [GTK docs](https://docs.gtk.org/gio/struct.SettingsSchemaKey.html)." GSettingsSchemaKey
@doc "See the [GTK docs](https://docs.gtk.org/gio/struct.SettingsSchemaSource.html)." GSettingsSchemaSource
@doc "See the [GTK docs](https://docs.gtk.org/gio/struct.SrvTarget.html)." GSrvTarget
@doc "See the [GTK docs](https://docs.gtk.org/gio/struct.XdpDocumentsIface.html)." GXdpDocumentsIface
@doc "See the [GTK docs](https://docs.gtk.org/gio/struct.XdpOpenURIIface.html)." GXdpOpenURIIface
@doc "See the [GTK docs](https://docs.gtk.org/gio/struct.XdpProxyResolverIface.html)." GXdpProxyResolverIface
@doc "See the [GTK docs](https://docs.gtk.org/gio/struct.XdpTrashIface.html)." GXdpTrashIface
@doc "See the [GTK docs](https://docs.gtk.org/gio/struct._FreedesktopDBusIface.html)." G_FreedesktopDBusIface
@doc "See the [GTK docs](https://docs.gtk.org/gio/struct._FreedesktopDBusProxy.html)." G_FreedesktopDBusProxy
@doc "See the [GTK docs](https://docs.gtk.org/gio/struct._FreedesktopDBusSkeleton.html)." G_FreedesktopDBusSkeleton
struct GAction <: GInterface
handle::Ptr{GObject}
gc::Any
GAction(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GActionGroup <: GInterface
handle::Ptr{GObject}
gc::Any
GActionGroup(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GActionMap <: GInterface
handle::Ptr{GObject}
gc::Any
GActionMap(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GAppInfo <: GInterface
handle::Ptr{GObject}
gc::Any
GAppInfo(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GAsyncInitable <: GInterface
handle::Ptr{GObject}
gc::Any
GAsyncInitable(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GAsyncResult <: GInterface
handle::Ptr{GObject}
gc::Any
GAsyncResult(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GConverter <: GInterface
handle::Ptr{GObject}
gc::Any
GConverter(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GDBusInterface <: GInterface
handle::Ptr{GObject}
gc::Any
GDBusInterface(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GDBusObject <: GInterface
handle::Ptr{GObject}
gc::Any
GDBusObject(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GDBusObjectManager <: GInterface
handle::Ptr{GObject}
gc::Any
GDBusObjectManager(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GDatagramBased <: GInterface
handle::Ptr{GObject}
gc::Any
GDatagramBased(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GDebugController <: GInterface
handle::Ptr{GObject}
gc::Any
GDebugController(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GDrive <: GInterface
handle::Ptr{GObject}
gc::Any
GDrive(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GDtlsClientConnection <: GInterface
handle::Ptr{GObject}
gc::Any
GDtlsClientConnection(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GDtlsConnection <: GInterface
handle::Ptr{GObject}
gc::Any
GDtlsConnection(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GDtlsServerConnection <: GInterface
handle::Ptr{GObject}
gc::Any
GDtlsServerConnection(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GFile <: GInterface
handle::Ptr{GObject}
gc::Any
GFile(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GFileDescriptorBased <: GInterface
handle::Ptr{GObject}
gc::Any
GFileDescriptorBased(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GIcon <: GInterface
handle::Ptr{GObject}
gc::Any
GIcon(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GInitable <: GInterface
handle::Ptr{GObject}
gc::Any
GInitable(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GListModel <: GInterface
handle::Ptr{GObject}
gc::Any
GListModel(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GLoadableIcon <: GInterface
handle::Ptr{GObject}
gc::Any
GLoadableIcon(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GMemoryMonitor <: GInterface
handle::Ptr{GObject}
gc::Any
GMemoryMonitor(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GMount <: GInterface
handle::Ptr{GObject}
gc::Any
GMount(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GNetworkMonitor <: GInterface
handle::Ptr{GObject}
gc::Any
GNetworkMonitor(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GPollableInputStream <: GInterface
handle::Ptr{GObject}
gc::Any
GPollableInputStream(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GPollableOutputStream <: GInterface
handle::Ptr{GObject}
gc::Any
GPollableOutputStream(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GPowerProfileMonitor <: GInterface
handle::Ptr{GObject}
gc::Any
GPowerProfileMonitor(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GProxy <: GInterface
handle::Ptr{GObject}
gc::Any
GProxy(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GProxyResolver <: GInterface
handle::Ptr{GObject}
gc::Any
GProxyResolver(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GRemoteActionGroup <: GInterface
handle::Ptr{GObject}
gc::Any
GRemoteActionGroup(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GSeekable <: GInterface
handle::Ptr{GObject}
gc::Any
GSeekable(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GSocketConnectable <: GInterface
handle::Ptr{GObject}
gc::Any
GSocketConnectable(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GTlsBackend <: GInterface
handle::Ptr{GObject}
gc::Any
GTlsBackend(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GTlsClientConnection <: GInterface
handle::Ptr{GObject}
gc::Any
GTlsClientConnection(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GTlsFileDatabase <: GInterface
handle::Ptr{GObject}
gc::Any
GTlsFileDatabase(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GTlsServerConnection <: GInterface
handle::Ptr{GObject}
gc::Any
GTlsServerConnection(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
struct GVolume <: GInterface
handle::Ptr{GObject}
gc::Any
GVolume(x::GObject) = begin
new(unsafe_convert(Ptr{GObject}, x), x)
end
end
begin
abstract type GAppInfoMonitor <: GObject end
mutable struct GAppInfoMonitorLeaf <: GAppInfoMonitor
handle::Ptr{GObject}
function GAppInfoMonitorLeaf(handle::Ptr{GObject}, owns = false)
if handle == C_NULL
error("Cannot construct GAppInfoMonitorLeaf with a NULL pointer")
end
GLib.gobject_maybe_sink(handle, owns)
return gobject_ref(new(handle))
end
end
gtype_wrapper_cache[:GAppInfoMonitor] = GAppInfoMonitorLeaf
(GLib.g_type(::Type{T}) where T <: GAppInfoMonitor) = begin
ccall(("g_app_info_monitor_get_type", libgio), GType, ())
end
end
begin
function GLib.signalnames(::Type{GAppInfoMonitor})
vcat([:changed], signalnames(supertype(GAppInfoMonitor)))
end
let d = Dict{Symbol, Tuple{Any, Any}}(:notify => (:Nothing, Any[:(Ptr{GParamSpec})]), :changed => (:Nothing, Any[]))
function GLib.signal_return_type(::Type{T}, name::Symbol) where T <: GAppInfoMonitor
eval((d[name])[1])
end
function GLib.signal_argument_types(::Type{T}, name::Symbol) where T <: GAppInfoMonitor
Tuple(eval.((d[name])[2]))
end
end
end
begin
abstract type GAppLaunchContext <: GObject end
mutable struct GAppLaunchContextLeaf <: GAppLaunchContext
handle::Ptr{GObject}
function GAppLaunchContextLeaf(handle::Ptr{GObject}, owns = false)
if handle == C_NULL
error("Cannot construct GAppLaunchContextLeaf with a NULL pointer")
end
GLib.gobject_maybe_sink(handle, owns)
return gobject_ref(new(handle))
end
end
gtype_wrapper_cache[:GAppLaunchContext] = GAppLaunchContextLeaf
(GLib.g_type(::Type{T}) where T <: GAppLaunchContext) = begin
ccall(("g_app_launch_context_get_type", libgio), GType, ())
end
end
begin
function GLib.signalnames(::Type{GAppLaunchContext})
vcat([:launch_failed, :launch_started, :launched], signalnames(supertype(GAppLaunchContext)))
end
let d = Dict{Symbol, Tuple{Any, Any}}(:notify => (:Nothing, Any[:(Ptr{GParamSpec})]), :launch_failed => (:Nothing, [:Cstring]), :launched => (:Nothing, Any[:(Ptr{GObject}), :GVariant]), :launch_started => (:Nothing, Any[:(Ptr{GObject}), :GVariant]))
function GLib.signal_return_type(::Type{T}, name::Symbol) where T <: GAppLaunchContext
eval((d[name])[1])
end
function GLib.signal_argument_types(::Type{T}, name::Symbol) where T <: GAppLaunchContext
Tuple(eval.((d[name])[2]))
end
end
end
begin
abstract type GApplication <: GObject end
mutable struct GApplicationLeaf <: GApplication
handle::Ptr{GObject}
function GApplicationLeaf(handle::Ptr{GObject}, owns = false)
if handle == C_NULL
error("Cannot construct GApplicationLeaf with a NULL pointer")
end
GLib.gobject_maybe_sink(handle, owns)
return gobject_ref(new(handle))
end
end
gtype_wrapper_cache[:GApplication] = GApplicationLeaf
(GLib.g_type(::Type{T}) where T <: GApplication) = begin
ccall(("g_application_get_type", libgio), GType, ())
end
end
begin
function GLib.signalnames(::Type{GApplication})
vcat([:activate, :command_line, :handle_local_options, :name_lost, :open, :shutdown, :startup, :action_added, :action_enabled_changed, :action_removed, :action_state_changed], signalnames(supertype(GApplication)))
end
let d = Dict{Symbol, Tuple{Any, Any}}(:notify => (:Nothing, Any[:(Ptr{GParamSpec})]), :startup => (:Nothing, Any[]), :shutdown => (:Nothing, Any[]), :command_line => (:Int32, Expr[:(Ptr{GObject})]), :name_lost => (:Cint, Any[]), :open => (:Nothing, Any[:(Ptr{Ptr{GObject}}), :Int32, :Cstring]), :activate => (:Nothing, Any[]), :handle_local_options => (:Int32, [:GVariantDict]))
function GLib.signal_return_type(::Type{T}, name::Symbol) where T <: GApplication
eval((d[name])[1])
end
function GLib.signal_argument_types(::Type{T}, name::Symbol) where T <: GApplication
Tuple(eval.((d[name])[2]))
end
end
end
begin
abstract type GApplicationCommandLine <: GObject end
mutable struct GApplicationCommandLineLeaf <: GApplicationCommandLine
handle::Ptr{GObject}
function GApplicationCommandLineLeaf(handle::Ptr{GObject}, owns = false)
if handle == C_NULL
error("Cannot construct GApplicationCommandLineLeaf with a NULL pointer")
end
GLib.gobject_maybe_sink(handle, owns)
return gobject_ref(new(handle))
end
end
gtype_wrapper_cache[:GApplicationCommandLine] = GApplicationCommandLineLeaf
(GLib.g_type(::Type{T}) where T <: GApplicationCommandLine) = begin
ccall(("g_application_command_line_get_type", libgio), GType, ())
end
end
begin
function GLib.signalnames(::Type{GApplicationCommandLine})
signalnames(supertype(GApplicationCommandLine))
end
end
begin
abstract type GInputStream <: GObject end
mutable struct GInputStreamLeaf <: GInputStream
handle::Ptr{GObject}
function GInputStreamLeaf(handle::Ptr{GObject}, owns = false)
if handle == C_NULL
error("Cannot construct GInputStreamLeaf with a NULL pointer")
end
GLib.gobject_maybe_sink(handle, owns)
return gobject_ref(new(handle))
end
end
gtype_wrapper_cache[:GInputStream] = GInputStreamLeaf
(GLib.g_type(::Type{T}) where T <: GInputStream) = begin
ccall(("g_input_stream_get_type", libgio), GType, ())
end
end
begin
function GLib.signalnames(::Type{GInputStream})
signalnames(supertype(GInputStream))
end
end
begin
abstract type GFilterInputStream <: GInputStream end
mutable struct GFilterInputStreamLeaf <: GFilterInputStream
handle::Ptr{GObject}
function GFilterInputStreamLeaf(handle::Ptr{GObject}, owns = false)
if handle == C_NULL
error("Cannot construct GFilterInputStreamLeaf with a NULL pointer")
end
GLib.gobject_maybe_sink(handle, owns)
return gobject_ref(new(handle))
end
end
gtype_wrapper_cache[:GFilterInputStream] = GFilterInputStreamLeaf
(GLib.g_type(::Type{T}) where T <: GFilterInputStream) = begin
ccall(("g_filter_input_stream_get_type", libgio), GType, ())
end
end
begin
function GLib.signalnames(::Type{GFilterInputStream})
signalnames(supertype(GFilterInputStream))
end
end
begin
abstract type GBufferedInputStream <: GFilterInputStream end
mutable struct GBufferedInputStreamLeaf <: GBufferedInputStream
handle::Ptr{GObject}
function GBufferedInputStreamLeaf(handle::Ptr{GObject}, owns = false)
if handle == C_NULL
error("Cannot construct GBufferedInputStreamLeaf with a NULL pointer")
end
GLib.gobject_maybe_sink(handle, owns)
return gobject_ref(new(handle))
end
end
gtype_wrapper_cache[:GBufferedInputStream] = GBufferedInputStreamLeaf
(GLib.g_type(::Type{T}) where T <: GBufferedInputStream) = begin
ccall(("g_buffered_input_stream_get_type", libgio), GType, ())
end
end
begin
function GLib.signalnames(::Type{GBufferedInputStream})
signalnames(supertype(GBufferedInputStream))
end
end
begin
abstract type GOutputStream <: GObject end
mutable struct GOutputStreamLeaf <: GOutputStream
handle::Ptr{GObject}
function GOutputStreamLeaf(handle::Ptr{GObject}, owns = false)
if handle == C_NULL
error("Cannot construct GOutputStreamLeaf with a NULL pointer")
end
GLib.gobject_maybe_sink(handle, owns)
return gobject_ref(new(handle))
end
end
gtype_wrapper_cache[:GOutputStream] = GOutputStreamLeaf
(GLib.g_type(::Type{T}) where T <: GOutputStream) = begin
ccall(("g_output_stream_get_type", libgio), GType, ())
end
end
begin
function GLib.signalnames(::Type{GOutputStream})
signalnames(supertype(GOutputStream))
end
end
begin
abstract type GFilterOutputStream <: GOutputStream end
mutable struct GFilterOutputStreamLeaf <: GFilterOutputStream
handle::Ptr{GObject}
function GFilterOutputStreamLeaf(handle::Ptr{GObject}, owns = false)
if handle == C_NULL
error("Cannot construct GFilterOutputStreamLeaf with a NULL pointer")
end
GLib.gobject_maybe_sink(handle, owns)
return gobject_ref(new(handle))
end
end
gtype_wrapper_cache[:GFilterOutputStream] = GFilterOutputStreamLeaf
(GLib.g_type(::Type{T}) where T <: GFilterOutputStream) = begin
ccall(("g_filter_output_stream_get_type", libgio), GType, ())
end
end
begin
function GLib.signalnames(::Type{GFilterOutputStream})
signalnames(supertype(GFilterOutputStream))
end
end
begin
abstract type GBufferedOutputStream <: GFilterOutputStream end
mutable struct GBufferedOutputStreamLeaf <: GBufferedOutputStream
handle::Ptr{GObject}
function GBufferedOutputStreamLeaf(handle::Ptr{GObject}, owns = false)
if handle == C_NULL
error("Cannot construct GBufferedOutputStreamLeaf with a NULL pointer")
end
GLib.gobject_maybe_sink(handle, owns)
return gobject_ref(new(handle))
end
end
gtype_wrapper_cache[:GBufferedOutputStream] = GBufferedOutputStreamLeaf
(GLib.g_type(::Type{T}) where T <: GBufferedOutputStream) = begin
ccall(("g_buffered_output_stream_get_type", libgio), GType, ())
end
end
begin
function GLib.signalnames(::Type{GBufferedOutputStream})
signalnames(supertype(GBufferedOutputStream))
end
end
begin
abstract type GBytesIcon <: GObject end
mutable struct GBytesIconLeaf <: GBytesIcon
handle::Ptr{GObject}
function GBytesIconLeaf(handle::Ptr{GObject}, owns = false)
if handle == C_NULL
error("Cannot construct GBytesIconLeaf with a NULL pointer")
end
GLib.gobject_maybe_sink(handle, owns)
return gobject_ref(new(handle))
end
end
gtype_wrapper_cache[:GBytesIcon] = GBytesIconLeaf
(GLib.g_type(::Type{T}) where T <: GBytesIcon) = begin
ccall(("g_bytes_icon_get_type", libgio), GType, ())
end
end
begin
function GLib.signalnames(::Type{GBytesIcon})
signalnames(supertype(GBytesIcon))
end
end
begin
abstract type GCancellable <: GObject end
mutable struct GCancellableLeaf <: GCancellable
handle::Ptr{GObject}
function GCancellableLeaf(handle::Ptr{GObject}, owns = false)
if handle == C_NULL
error("Cannot construct GCancellableLeaf with a NULL pointer")
end
GLib.gobject_maybe_sink(handle, owns)
return gobject_ref(new(handle))
end
end
gtype_wrapper_cache[:GCancellable] = GCancellableLeaf
(GLib.g_type(::Type{T}) where T <: GCancellable) = begin
ccall(("g_cancellable_get_type", libgio), GType, ())
end
end
begin
function GLib.signalnames(::Type{GCancellable})
vcat([:cancelled], signalnames(supertype(GCancellable)))
end
let d = Dict{Symbol, Tuple{Any, Any}}(:notify => (:Nothing, Any[:(Ptr{GParamSpec})]), :cancelled => (:Nothing, Any[]))
function GLib.signal_return_type(::Type{T}, name::Symbol) where T <: GCancellable
eval((d[name])[1])
end
function GLib.signal_argument_types(::Type{T}, name::Symbol) where T <: GCancellable
Tuple(eval.((d[name])[2]))
end
end
end
begin
abstract type GCharsetConverter <: GObject end
mutable struct GCharsetConverterLeaf <: GCharsetConverter
handle::Ptr{GObject}
function GCharsetConverterLeaf(handle::Ptr{GObject}, owns = false)
if handle == C_NULL
error("Cannot construct GCharsetConverterLeaf with a NULL pointer")
end
GLib.gobject_maybe_sink(handle, owns)
return gobject_ref(new(handle))
end
end
gtype_wrapper_cache[:GCharsetConverter] = GCharsetConverterLeaf
(GLib.g_type(::Type{T}) where T <: GCharsetConverter) = begin
ccall(("g_charset_converter_get_type", libgio), GType, ())
end
end
begin
function GLib.signalnames(::Type{GCharsetConverter})
signalnames(supertype(GCharsetConverter))
end
end
begin
abstract type GConverterInputStream <: GFilterInputStream end
mutable struct GConverterInputStreamLeaf <: GConverterInputStream
handle::Ptr{GObject}
function GConverterInputStreamLeaf(handle::Ptr{GObject}, owns = false)
if handle == C_NULL
error("Cannot construct GConverterInputStreamLeaf with a NULL pointer")
end
GLib.gobject_maybe_sink(handle, owns)
return gobject_ref(new(handle))
end
end
gtype_wrapper_cache[:GConverterInputStream] = GConverterInputStreamLeaf
(GLib.g_type(::Type{T}) where T <: GConverterInputStream) = begin
ccall(("g_converter_input_stream_get_type", libgio), GType, ())
end
end
begin
function GLib.signalnames(::Type{GConverterInputStream})
signalnames(supertype(GConverterInputStream))
end
end
begin
abstract type GConverterOutputStream <: GFilterOutputStream end
mutable struct GConverterOutputStreamLeaf <: GConverterOutputStream
handle::Ptr{GObject}
function GConverterOutputStreamLeaf(handle::Ptr{GObject}, owns = false)
if handle == C_NULL
error("Cannot construct GConverterOutputStreamLeaf with a NULL pointer")
end
GLib.gobject_maybe_sink(handle, owns)
return gobject_ref(new(handle))
end
end
gtype_wrapper_cache[:GConverterOutputStream] = GConverterOutputStreamLeaf
(GLib.g_type(::Type{T}) where T <: GConverterOutputStream) = begin
ccall(("g_converter_output_stream_get_type", libgio), GType, ())
end
end
begin
function GLib.signalnames(::Type{GConverterOutputStream})
signalnames(supertype(GConverterOutputStream))
end
end
begin
abstract type GCredentials <: GObject end
mutable struct GCredentialsLeaf <: GCredentials
handle::Ptr{GObject}
function GCredentialsLeaf(handle::Ptr{GObject}, owns = false)
if handle == C_NULL
error("Cannot construct GCredentialsLeaf with a NULL pointer")
end
GLib.gobject_maybe_sink(handle, owns)
return gobject_ref(new(handle))
end
end
gtype_wrapper_cache[:GCredentials] = GCredentialsLeaf
(GLib.g_type(::Type{T}) where T <: GCredentials) = begin
ccall(("g_credentials_get_type", libgio), GType, ())
end
end
begin
function GLib.signalnames(::Type{GCredentials})
signalnames(supertype(GCredentials))
end
end
begin
abstract type GDBusActionGroup <: GObject end
mutable struct GDBusActionGroupLeaf <: GDBusActionGroup
handle::Ptr{GObject}
function GDBusActionGroupLeaf(handle::Ptr{GObject}, owns = false)
if handle == C_NULL
error("Cannot construct GDBusActionGroupLeaf with a NULL pointer")
end
GLib.gobject_maybe_sink(handle, owns)
return gobject_ref(new(handle))
end
end