This file is indexed.

/usr/share/gir-1.0/GnomeBluetooth-1.0.gir is in libgnome-bluetooth-dev 3.8.2.1-0ubuntu4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
<?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 version="1.2"
            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">
  <include name="GModule" version="2.0"/>
  <include name="GObject" version="2.0"/>
  <include name="Gtk" version="3.0"/>
  <package name="gnome-bluetooth-1.0"/>
  <namespace name="GnomeBluetooth"
             version="1.0"
             shared-library="libgnome-bluetooth.so.11"
             c:identifier-prefixes="Bluetooth"
             c:symbol-prefixes="bluetooth">
    <constant name="CHOOSER_COMBO_FIRST_DEVICE"
              value="00:00:00:00:00:00"
              c:type="BLUETOOTH_CHOOSER_COMBO_FIRST_DEVICE">
      <doc xml:space="preserve">A convenience value used to select the first device regardless of its address.</doc>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <enumeration name="Category" c:type="BluetoothCategory">
      <doc xml:space="preserve">The category of a Bluetooth devices.</doc>
      <member name="all" value="0" c:identifier="BLUETOOTH_CATEGORY_ALL">
        <doc xml:space="preserve">all devices</doc>
      </member>
      <member name="paired" value="1" c:identifier="BLUETOOTH_CATEGORY_PAIRED">
        <doc xml:space="preserve">paired devices</doc>
      </member>
      <member name="trusted"
              value="2"
              c:identifier="BLUETOOTH_CATEGORY_TRUSTED">
        <doc xml:space="preserve">trusted devices</doc>
      </member>
      <member name="not_paired_or_trusted"
              value="3"
              c:identifier="BLUETOOTH_CATEGORY_NOT_PAIRED_OR_TRUSTED">
        <doc xml:space="preserve">neither paired, nor trusted devices</doc>
      </member>
      <member name="paired_or_trusted"
              value="4"
              c:identifier="BLUETOOTH_CATEGORY_PAIRED_OR_TRUSTED">
        <doc xml:space="preserve">paired and/or trusted devices</doc>
      </member>
    </enumeration>
    <class name="Chooser"
           c:symbol-prefix="chooser"
           c:type="BluetoothChooser"
           parent="Gtk.Box"
           glib:type-name="BluetoothChooser"
           glib:get-type="bluetooth_chooser_get_type"
           glib:type-struct="ChooserClass">
      <implements name="Atk.ImplementorIface"/>
      <implements name="Gtk.Buildable"/>
      <implements name="Gtk.Orientable"/>
      <constructor name="new" c:identifier="bluetooth_chooser_new">
        <doc xml:space="preserve">Returns a new #BluetoothChooser widget.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #BluetoothChooser widget</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
      </constructor>
      <virtual-method name="selected_device_activated">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="chooser" transfer-ownership="none">
            <type name="Chooser" c:type="BluetoothChooser*"/>
          </instance-parameter>
          <parameter name="address" transfer-ownership="none">
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="selected_device_changed">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="chooser" transfer-ownership="none">
            <type name="Chooser" c:type="BluetoothChooser*"/>
          </instance-parameter>
          <parameter name="address" transfer-ownership="none">
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="dump_selected_device"
              c:identifier="bluetooth_chooser_dump_selected_device">
        <doc xml:space="preserve">Prints all the known attributes for the currently selected device
on the standard output. Useful for debugging.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">A #BluetoothChooser widget.</doc>
            <type name="Chooser" c:type="BluetoothChooser*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_scrolled_window"
              c:identifier="bluetooth_chooser_get_scrolled_window">
        <doc xml:space="preserve">Returns the #GtkScrolledWindow object for the #BluetoothChooser.
This is useful to set a minimum height to the chooser using
gtk_scrolled_window_set_min_content_height() or to join the
chooser with a toolbar.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GtkScrolledWindow object.</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">A #BluetoothChooser widget.</doc>
            <type name="Chooser" c:type="BluetoothChooser*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_selected_device"
              c:identifier="bluetooth_chooser_get_selected_device">
        <doc xml:space="preserve">Returns the Bluetooth address for the currently selected device.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the Bluetooth address for the currently selected device, or %NULL.</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #BluetoothChooser widget.</doc>
            <type name="Chooser" c:type="BluetoothChooser*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_selected_device_icon"
              c:identifier="bluetooth_chooser_get_selected_device_icon">
        <doc xml:space="preserve">Returns the icon name to use to represent the currently selected device.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the icon name to use to represent the currently selected device, or %NULL.</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #BluetoothChooser widget.</doc>
            <type name="Chooser" c:type="BluetoothChooser*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_selected_device_info"
              c:identifier="bluetooth_chooser_get_selected_device_info">
        <doc xml:space="preserve">Returns whether the @value has been set.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the @value has been set.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">A #BluetoothChooser widget.</doc>
            <type name="Chooser" c:type="BluetoothChooser*"/>
          </instance-parameter>
          <parameter name="field" transfer-ownership="none">
            <doc xml:space="preserve">The identifier for the field to get data for.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">An empty #GValue to set.</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_selected_device_is_connected"
              c:identifier="bluetooth_chooser_get_selected_device_is_connected">
        <doc xml:space="preserve">Returns whether the selected device is connected to this computer.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">whether the selected device is connected to this computer,
will always be %FALSE if no devices are selected.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #BluetoothChooser widget.</doc>
            <type name="Chooser" c:type="BluetoothChooser*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_selected_device_name"
              c:identifier="bluetooth_chooser_get_selected_device_name">
        <doc xml:space="preserve">Returns the name for the currently selected device.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the name for the currently selected device, or %NULL.</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #BluetoothChooser widget.</doc>
            <type name="Chooser" c:type="BluetoothChooser*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_selected_device_type"
              c:identifier="bluetooth_chooser_get_selected_device_type">
        <doc xml:space="preserve">Returns the #BluetoothType of the device selected.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #BluetoothType of the device selected, or '0' if unknown.</doc>
          <type name="Type" c:type="BluetoothType"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #BluetoothChooser widget.</doc>
            <type name="Chooser" c:type="BluetoothChooser*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="start_discovery"
              c:identifier="bluetooth_chooser_start_discovery">
        <doc xml:space="preserve">Starts a discovery on the default Bluetooth adapter. Note that this will
only work if the Search label is visible, as otherwise the user has no
visual feedback that the process is on-going.

See also: #BluetoothChooser:show-searching</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #BluetoothChooser widget.</doc>
            <type name="Chooser" c:type="BluetoothChooser*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="stop_discovery"
              c:identifier="bluetooth_chooser_stop_discovery">
        <doc xml:space="preserve">Stops a discovery started with #bluetooth_chooser_start_discovery.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #BluetoothChooser widget.</doc>
            <type name="Chooser" c:type="BluetoothChooser*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="device-category-filter"
                introspectable="0"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <type/>
      </property>
      <property name="device-selected" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="device-service-filter"
                readable="0"
                writable="1"
                transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="device-type-filter"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <type name="gint" c:type="gint"/>
      </property>
      <property name="has-internal-device-filter"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="show-connected" writable="1" transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="show-device-category"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="show-device-type"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="show-device-type-column"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="show-pairing" writable="1" transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="show-searching" writable="1" transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <field name="parent">
        <type name="Gtk.Box" c:type="GtkBox"/>
      </field>
      <glib:signal name="selected-device-activated" when="last">
        <doc xml:space="preserve">The #BluetoothChooser::selected-device-activated signal is launched when a
device is double-clicked in the chooser.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="address" transfer-ownership="none">
            <doc xml:space="preserve">the Bluetooth address for the currently selected device, or %NULL</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="selected-device-changed" when="last">
        <doc xml:space="preserve">The #BluetoothChooser::selected-device-changed signal is launched when the
selected device is changed, it will be %NULL if a device was unselected.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="address" transfer-ownership="none">
            <doc xml:space="preserve">the Bluetooth address for the currently selected device, or %NULL</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <class name="ChooserButton"
           c:symbol-prefix="chooser_button"
           c:type="BluetoothChooserButton"
           parent="Gtk.Button"
           glib:type-name="BluetoothChooserButton"
           glib:get-type="bluetooth_chooser_button_get_type"
           glib:type-struct="ChooserButtonClass">
      <implements name="Atk.ImplementorIface"/>
      <implements name="Gtk.Actionable"/>
      <implements name="Gtk.Activatable"/>
      <implements name="Gtk.Buildable"/>
      <constructor name="new" c:identifier="bluetooth_chooser_button_new">
        <doc xml:space="preserve">Returns a new #BluetoothChooserButton widget.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #BluetoothChooserButton widget.</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
      </constructor>
      <virtual-method name="chooser_created">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="ChooserButton" c:type="BluetoothChooserButton*"/>
          </instance-parameter>
          <parameter name="chooser" transfer-ownership="none">
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="available"
              c:identifier="bluetooth_chooser_button_available">
        <doc xml:space="preserve">Returns whether there is a powered Bluetooth adapter.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if there is a powered Bluetooth adapter available, and the button should be sensitive.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="button" transfer-ownership="none">
            <doc xml:space="preserve">a #BluetoothChooserButton</doc>
            <type name="ChooserButton" c:type="BluetoothChooserButton*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="device"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The Bluetooth address of the selected device or %NULL.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="is-available" transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if there is a powered Bluetooth adapter available.

See also: bluetooth_chooser_button_available()</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <glib:signal name="chooser-created" when="last">
        <doc xml:space="preserve">The signal is sent when a popup dialogue is created for the user to select
a device. This signal allows you to change the configuration and filtering
of the tree from its defaults.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="chooser" transfer-ownership="none">
            <doc xml:space="preserve">a #BluetoothChooser widget</doc>
            <type name="GObject.Object"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="ChooserButtonClass"
            c:type="BluetoothChooserButtonClass"
            glib:is-gtype-struct-for="ChooserButton">
      <field name="parent_class">
        <type name="Gtk.ButtonClass" c:type="GtkButtonClass"/>
      </field>
      <field name="chooser_created">
        <callback name="chooser_created">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="self" transfer-ownership="none">
              <type name="ChooserButton" c:type="BluetoothChooserButton*"/>
            </parameter>
            <parameter name="chooser" transfer-ownership="none">
              <type name="Gtk.Widget" c:type="GtkWidget*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <record name="ChooserClass"
            c:type="BluetoothChooserClass"
            glib:is-gtype-struct-for="Chooser">
      <field name="parent_class">
        <type name="Gtk.BoxClass" c:type="GtkBoxClass"/>
      </field>
      <field name="selected_device_changed">
        <callback name="selected_device_changed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="chooser" transfer-ownership="none">
              <type name="Chooser" c:type="BluetoothChooser*"/>
            </parameter>
            <parameter name="address" transfer-ownership="none">
              <type name="utf8" c:type="const char*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="selected_device_activated">
        <callback name="selected_device_activated">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="chooser" transfer-ownership="none">
              <type name="Chooser" c:type="BluetoothChooser*"/>
            </parameter>
            <parameter name="address" transfer-ownership="none">
              <type name="utf8" c:type="const char*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <class name="ChooserCombo"
           c:symbol-prefix="chooser_combo"
           c:type="BluetoothChooserCombo"
           parent="Gtk.Box"
           glib:type-name="BluetoothChooserCombo"
           glib:get-type="bluetooth_chooser_combo_get_type"
           glib:type-struct="ChooserComboClass">
      <implements name="Atk.ImplementorIface"/>
      <implements name="Gtk.Buildable"/>
      <implements name="Gtk.Orientable"/>
      <constructor name="new" c:identifier="bluetooth_chooser_combo_new">
        <doc xml:space="preserve">Returns a new #BluetoothChooserCombo widget.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #BluetoothChooserCombo widget.</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
      </constructor>
      <virtual-method name="chooser_created">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="ChooserCombo" c:type="BluetoothChooserCombo*"/>
          </instance-parameter>
          <parameter name="chooser" transfer-ownership="none">
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <property name="chooser" transfer-ownership="none">
        <doc xml:space="preserve">The #BluetoothChooser used in the widget</doc>
        <type name="Chooser"/>
      </property>
      <property name="device" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">The Bluetooth address of the selected device or %NULL</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent">
        <type name="Gtk.Box" c:type="GtkBox"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="ChooserComboPrivate"
              c:type="BluetoothChooserComboPrivate*"/>
      </field>
      <glib:signal name="chooser-created" when="last">
        <doc xml:space="preserve">The signal is sent when a popup dialogue is created for the user to select
a device. This signal allows you to change the configuration and filtering
of the tree from its defaults.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="chooser" transfer-ownership="none">
            <doc xml:space="preserve">a #BluetoothChooser widget</doc>
            <type name="GObject.Object"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="ChooserComboClass"
            c:type="BluetoothChooserComboClass"
            glib:is-gtype-struct-for="ChooserCombo">
      <field name="parent_class">
        <type name="Gtk.BoxClass" c:type="GtkBoxClass"/>
      </field>
      <field name="chooser_created">
        <callback name="chooser_created">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="self" transfer-ownership="none">
              <type name="ChooserCombo" c:type="BluetoothChooserCombo*"/>
            </parameter>
            <parameter name="chooser" transfer-ownership="none">
              <type name="Gtk.Widget" c:type="GtkWidget*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <record name="ChooserComboPrivate"
            c:type="BluetoothChooserComboPrivate"
            disguised="1">
    </record>
    <class name="Client"
           c:symbol-prefix="client"
           c:type="BluetoothClient"
           parent="GObject.Object"
           glib:type-name="BluetoothClient"
           glib:get-type="bluetooth_client_get_type"
           glib:type-struct="ClientClass">
      <constructor name="new" c:identifier="bluetooth_client_new">
        <doc xml:space="preserve">Returns a reference to the #BluetoothClient singleton. Use g_object_unref() when done with the object.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #BluetoothClient object.</doc>
          <type name="Client" c:type="BluetoothClient*"/>
        </return-value>
      </constructor>
      <method name="connect_service"
              c:identifier="bluetooth_client_connect_service">
        <doc xml:space="preserve">When the connection operation is finished, @callback will be called. You can
then call bluetooth_client_connect_service_finish() to get the result of the
operation.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve">a #BluetoothClient</doc>
            <type name="Client" c:type="BluetoothClient*"/>
          </instance-parameter>
          <parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">the DBUS path on which to operate</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="connect" transfer-ownership="none">
            <doc xml:space="preserve">Whether try to connect or disconnect from services on a device</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     allow-none="1">
            <doc xml:space="preserve">optional #GCancellable object, %NULL to ignore</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     allow-none="1"
                     scope="async"
                     closure="4">
            <doc xml:space="preserve">a #GAsyncReadyCallback to call when the connection is complete</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data" transfer-ownership="none">
            <doc xml:space="preserve">the data to pass to callback function</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="connect_service_finish"
              c:identifier="bluetooth_client_connect_service_finish"
              throws="1">
        <doc xml:space="preserve">Finishes the connection operation, See bluetooth_client_connect_service().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the connection operation succeeded, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve">a #BluetoothClient</doc>
            <type name="Client" c:type="BluetoothClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve">a #GAsyncResult</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_adapter_model"
              c:identifier="bluetooth_client_get_adapter_model">
        <doc xml:space="preserve">Returns a #GtkTreeModelFilter with only adapters present.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GtkTreeModel object.</doc>
          <type name="Gtk.TreeModel" c:type="GtkTreeModel*"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve">a #BluetoothClient object</doc>
            <type name="Client" c:type="BluetoothClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_device_model"
              c:identifier="bluetooth_client_get_device_model">
        <doc xml:space="preserve">Returns a #GtkTreeModelFilter with only devices belonging to the default adapter listed.
Note that the model will follow a specific adapter, and will not follow the default adapter.
Also note that due to the way #GtkTreeModelFilter works, you will probably want to
monitor signals on the "child-model" #GtkTreeModel to monitor for changes.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GtkTreeModel object.</doc>
          <type name="Gtk.TreeModel" c:type="GtkTreeModel*"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve">a #BluetoothClient object</doc>
            <type name="Client" c:type="BluetoothClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_filter_model"
              c:identifier="bluetooth_client_get_filter_model">
        <doc xml:space="preserve">Returns a #GtkTreeModelFilter of devices filtered using the @func, @data and @destroy arguments to pass to gtk_tree_model_filter_set_visible_func().</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GtkTreeModel object.</doc>
          <type name="Gtk.TreeModel" c:type="GtkTreeModel*"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve">a #BluetoothClient object</doc>
            <type name="Client" c:type="BluetoothClient*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">a #GtkTreeModelFilterVisibleFunc</doc>
            <type name="Gtk.TreeModelFilterVisibleFunc"
                  c:type="GtkTreeModelFilterVisibleFunc"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve">user data to pass to gtk_tree_model_filter_set_visible_func()</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="destroy" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">a destroy function for gtk_tree_model_filter_set_visible_func()</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_model" c:identifier="bluetooth_client_get_model">
        <doc xml:space="preserve">Returns an unfiltered #GtkTreeModel representing the adapter and devices available on the system.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GtkTreeModel object.</doc>
          <type name="Gtk.TreeModel" c:type="GtkTreeModel*"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve">a #BluetoothClient object</doc>
            <type name="Client" c:type="BluetoothClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="default-adapter" transfer-ownership="none">
        <doc xml:space="preserve">The D-Bus path of the default Bluetooth adapter or %NULL.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="default-adapter-discoverable"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the default Bluetooth adapter is discoverable.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="default-adapter-discovering"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the default Bluetooth adapter is discovering.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="default-adapter-name" transfer-ownership="none">
        <doc xml:space="preserve">The name of the default Bluetooth adapter or %NULL.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="default-adapter-powered" transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the default Bluetooth adapter is powered.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="ClientClass"
            c:type="BluetoothClientClass"
            glib:is-gtype-struct-for="Client">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <enumeration name="Column" c:type="BluetoothColumn">
      <doc xml:space="preserve">A column identifier to pass to bluetooth_chooser_get_selected_device_info().</doc>
      <member name="luetooth_column_proxy"
              value="0"
              c:identifier="BLUETOOTH_COLUMN_PROXY">
        <doc xml:space="preserve">a #GDBusProxy object</doc>
      </member>
      <member name="luetooth_column_address"
              value="1"
              c:identifier="BLUETOOTH_COLUMN_ADDRESS">
        <doc xml:space="preserve">a string representing a Bluetooth address</doc>
      </member>
      <member name="luetooth_column_alias"
              value="2"
              c:identifier="BLUETOOTH_COLUMN_ALIAS">
        <doc xml:space="preserve">a string to use for display (the name of the device, or its address if the name is not known). Only available for devices.</doc>
      </member>
      <member name="luetooth_column_name"
              value="3"
              c:identifier="BLUETOOTH_COLUMN_NAME">
        <doc xml:space="preserve">a string representing the device or adapter's name</doc>
      </member>
      <member name="luetooth_column_type"
              value="4"
              c:identifier="BLUETOOTH_COLUMN_TYPE">
        <doc xml:space="preserve">the #BluetoothType of the device. Only available for devices.</doc>
      </member>
      <member name="luetooth_column_icon"
              value="5"
              c:identifier="BLUETOOTH_COLUMN_ICON">
        <doc xml:space="preserve">a string representing the icon name for the device. Only available for devices.</doc>
      </member>
      <member name="luetooth_column_default"
              value="6"
              c:identifier="BLUETOOTH_COLUMN_DEFAULT">
        <doc xml:space="preserve">whether the adapter is the default one. Only available for adapters.</doc>
      </member>
      <member name="luetooth_column_paired"
              value="7"
              c:identifier="BLUETOOTH_COLUMN_PAIRED">
        <doc xml:space="preserve">whether the device is paired to its parent adapter. Only available for devices.</doc>
      </member>
      <member name="luetooth_column_trusted"
              value="8"
              c:identifier="BLUETOOTH_COLUMN_TRUSTED">
        <doc xml:space="preserve">whether the device is trusted. Only available for devices.</doc>
      </member>
      <member name="luetooth_column_connected"
              value="9"
              c:identifier="BLUETOOTH_COLUMN_CONNECTED">
        <doc xml:space="preserve">whether the device is connected. Only available for devices.</doc>
      </member>
      <member name="luetooth_column_discoverable"
              value="10"
              c:identifier="BLUETOOTH_COLUMN_DISCOVERABLE">
        <doc xml:space="preserve">whether the adapter is discoverable/visible. Only available for adapters.</doc>
      </member>
      <member name="luetooth_column_discovering"
              value="11"
              c:identifier="BLUETOOTH_COLUMN_DISCOVERING">
        <doc xml:space="preserve">whether the adapter is discovering. Only available for adapters.</doc>
      </member>
      <member name="luetooth_column_legacypairing"
              value="12"
              c:identifier="BLUETOOTH_COLUMN_LEGACYPAIRING">
        <doc xml:space="preserve">whether the device does not support Bluetooth 2.1 Simple Secure Pairing. Only available for devices.</doc>
      </member>
      <member name="luetooth_column_powered"
              value="13"
              c:identifier="BLUETOOTH_COLUMN_POWERED">
        <doc xml:space="preserve">whether the adapter is powered. Only available for adapters.</doc>
      </member>
      <member name="luetooth_column_services"
              value="14"
              c:identifier="BLUETOOTH_COLUMN_SERVICES">
        <doc xml:space="preserve">an array of service names and #BluetoothStatus connection statuses.</doc>
      </member>
      <member name="luetooth_column_uuids"
              value="15"
              c:identifier="BLUETOOTH_COLUMN_UUIDS">
        <doc xml:space="preserve">a string array of human-readable UUIDs.</doc>
      </member>
    </enumeration>
    <class name="FilterWidget"
           c:symbol-prefix="filter_widget"
           c:type="BluetoothFilterWidget"
           parent="Gtk.Box"
           glib:type-name="BluetoothFilterWidget"
           glib:get-type="bluetooth_filter_widget_get_type"
           glib:type-struct="FilterWidgetClass">
      <implements name="Atk.ImplementorIface"/>
      <implements name="Gtk.Buildable"/>
      <implements name="Gtk.Orientable"/>
      <constructor name="new" c:identifier="bluetooth_filter_widget_new">
        <doc xml:space="preserve">Creates a new #BluetoothFilterWidget which can be bound to a #BluetoothChooser to
control filtering of that #BluetoothChooser.
Usually used in conjunction with a #BluetoothChooser which has the "has-internal-filter"
property set to FALSE.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #BluetoothFilterWidget widget

Note: Must call bluetooth_filter_widget_bind_filter () to bind the #BluetoothFilterWidget
to a #BluetoothChooser.</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
      </constructor>
      <method name="bind_filter"
              c:identifier="bluetooth_filter_widget_bind_filter">
        <doc xml:space="preserve">Binds a #BluetoothFilterWidget to a #BluetoothChooser such that changing the
#BluetoothFilterWidget results in filters being applied on the #BluetoothChooser.
Any properties set on a bound #BluetoothChooser will also be set on the
#BluetoothFilterWidget.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #BluetoothFilterWidget.</doc>
            <type name="FilterWidget" c:type="BluetoothFilterWidget*"/>
          </instance-parameter>
          <parameter name="chooser" transfer-ownership="none">
            <doc xml:space="preserve">The #BluetoothChooser widget to bind the filter to.</doc>
            <type name="Chooser" c:type="BluetoothChooser*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_title"
              c:identifier="bluetooth_filter_widget_set_title">
        <doc xml:space="preserve">Used to set a different title for the #BluetoothFilterWidget than the default.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">a #BluetoothFilterWidget.</doc>
            <type name="FilterWidget" c:type="BluetoothFilterWidget*"/>
          </instance-parameter>
          <parameter name="title" transfer-ownership="none">
            <doc xml:space="preserve">Title for the #BluetoothFilterWidget.</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </method>
      <property name="device-category-filter"
                introspectable="0"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <type/>
      </property>
      <property name="device-service-filter"
                readable="0"
                writable="1"
                transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="device-type-filter"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <type name="gint" c:type="gint"/>
      </property>
      <property name="show-device-category"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="show-device-type"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <field name="parent">
        <type name="Gtk.Box" c:type="GtkBox"/>
      </field>
    </class>
    <record name="FilterWidgetClass"
            c:type="BluetoothFilterWidgetClass"
            glib:is-gtype-struct-for="FilterWidget">
      <field name="parent_class">
        <type name="Gtk.BoxClass" c:type="GtkBoxClass"/>
      </field>
    </record>
    <class name="Killswitch"
           c:symbol-prefix="killswitch"
           c:type="BluetoothKillswitch"
           parent="GObject.Object"
           glib:type-name="BluetoothKillswitch"
           glib:get-type="bluetooth_killswitch_get_type"
           glib:type-struct="KillswitchClass">
      <constructor name="new" c:identifier="bluetooth_killswitch_new">
        <return-value transfer-ownership="full">
          <type name="Killswitch" c:type="BluetoothKillswitch*"/>
        </return-value>
      </constructor>
      <function name="state_to_string"
                c:identifier="bluetooth_killswitch_state_to_string">
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <parameter name="state" transfer-ownership="none">
            <type name="KillswitchState" c:type="BluetoothKillswitchState"/>
          </parameter>
        </parameters>
      </function>
      <virtual-method name="state_changed">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="killswitch" transfer-ownership="none">
            <type name="Killswitch" c:type="BluetoothKillswitch*"/>
          </instance-parameter>
          <parameter name="state" transfer-ownership="none">
            <type name="KillswitchState" c:type="BluetoothKillswitchState"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="get_state" c:identifier="bluetooth_killswitch_get_state">
        <return-value transfer-ownership="none">
          <type name="KillswitchState" c:type="BluetoothKillswitchState"/>
        </return-value>
        <parameters>
          <instance-parameter name="killswitch" transfer-ownership="none">
            <type name="Killswitch" c:type="BluetoothKillswitch*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_killswitches"
              c:identifier="bluetooth_killswitch_has_killswitches">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="killswitch" transfer-ownership="none">
            <type name="Killswitch" c:type="BluetoothKillswitch*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_state" c:identifier="bluetooth_killswitch_set_state">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="killswitch" transfer-ownership="none">
            <type name="Killswitch" c:type="BluetoothKillswitch*"/>
          </instance-parameter>
          <parameter name="state" transfer-ownership="none">
            <type name="KillswitchState" c:type="BluetoothKillswitchState"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="KillswitchPrivate" c:type="BluetoothKillswitchPrivate*"/>
      </field>
      <glib:signal name="state-changed" when="last">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="KillswitchClass"
            c:type="BluetoothKillswitchClass"
            glib:is-gtype-struct-for="Killswitch">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="state_changed">
        <callback name="state_changed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="killswitch" transfer-ownership="none">
              <type name="Killswitch" c:type="BluetoothKillswitch*"/>
            </parameter>
            <parameter name="state" transfer-ownership="none">
              <type name="KillswitchState" c:type="BluetoothKillswitchState"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <record name="KillswitchPrivate"
            c:type="BluetoothKillswitchPrivate"
            disguised="1">
    </record>
    <enumeration name="KillswitchState" c:type="BluetoothKillswitchState">
      <member name="no_adapter"
              value="-1"
              c:identifier="BLUETOOTH_KILLSWITCH_STATE_NO_ADAPTER">
      </member>
      <member name="soft_blocked"
              value="0"
              c:identifier="BLUETOOTH_KILLSWITCH_STATE_SOFT_BLOCKED">
      </member>
      <member name="unblocked"
              value="1"
              c:identifier="BLUETOOTH_KILLSWITCH_STATE_UNBLOCKED">
      </member>
      <member name="hard_blocked"
              value="2"
              c:identifier="BLUETOOTH_KILLSWITCH_STATE_HARD_BLOCKED">
      </member>
    </enumeration>
    <enumeration name="Status" c:type="BluetoothStatus">
      <doc xml:space="preserve">The connection status of a service on a particular device. Note that @BLUETOOTH_STATUS_CONNECTING and @BLUETOOTH_STATUS_PLAYING might not be available for all services.</doc>
      <member name="invalid" value="0" c:identifier="BLUETOOTH_STATUS_INVALID">
        <doc xml:space="preserve">whether the status has been set yet</doc>
      </member>
      <member name="disconnected"
              value="1"
              c:identifier="BLUETOOTH_STATUS_DISCONNECTED">
        <doc xml:space="preserve">whether the service is disconnected</doc>
      </member>
      <member name="connected"
              value="2"
              c:identifier="BLUETOOTH_STATUS_CONNECTED">
        <doc xml:space="preserve">whether the service is connected</doc>
      </member>
      <member name="connecting"
              value="3"
              c:identifier="BLUETOOTH_STATUS_CONNECTING">
        <doc xml:space="preserve">whether the service is connecting</doc>
      </member>
      <member name="playing" value="4" c:identifier="BLUETOOTH_STATUS_PLAYING">
        <doc xml:space="preserve">whether the service is playing (only used by the audio service)</doc>
      </member>
    </enumeration>
    <constant name="TYPE_AUDIO" value="0" c:type="BLUETOOTH_TYPE_AUDIO">
      <doc xml:space="preserve">Use this value to select any Bluetooth audio device where a #BluetoothType enum is required.</doc>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="TYPE_INPUT" value="0" c:type="BLUETOOTH_TYPE_INPUT">
      <doc xml:space="preserve">Use this value to select any Bluetooth input device where a #BluetoothType enum is required.</doc>
      <type name="gint" c:type="gint"/>
    </constant>
    <bitfield name="Type" c:type="BluetoothType">
      <doc xml:space="preserve">The type of a Bluetooth device. See also %BLUETOOTH_TYPE_INPUT and %BLUETOOTH_TYPE_AUDIO</doc>
      <member name="any" value="1" c:identifier="BLUETOOTH_TYPE_ANY">
        <doc xml:space="preserve">any device, or a device of an unknown type</doc>
      </member>
      <member name="phone" value="2" c:identifier="BLUETOOTH_TYPE_PHONE">
        <doc xml:space="preserve">a telephone (usually a cell/mobile phone)</doc>
      </member>
      <member name="modem" value="4" c:identifier="BLUETOOTH_TYPE_MODEM">
        <doc xml:space="preserve">a modem</doc>
      </member>
      <member name="computer" value="8" c:identifier="BLUETOOTH_TYPE_COMPUTER">
        <doc xml:space="preserve">a computer, can be a laptop, a wearable computer, etc.</doc>
      </member>
      <member name="network" value="16" c:identifier="BLUETOOTH_TYPE_NETWORK">
        <doc xml:space="preserve">a network device, such as a router</doc>
      </member>
      <member name="headset" value="32" c:identifier="BLUETOOTH_TYPE_HEADSET">
        <doc xml:space="preserve">a headset (usually a hands-free device)</doc>
      </member>
      <member name="headphones"
              value="64"
              c:identifier="BLUETOOTH_TYPE_HEADPHONES">
        <doc xml:space="preserve">headphones (covers two ears)</doc>
      </member>
      <member name="other_audio"
              value="128"
              c:identifier="BLUETOOTH_TYPE_OTHER_AUDIO">
        <doc xml:space="preserve">another type of audio device</doc>
      </member>
      <member name="keyboard"
              value="256"
              c:identifier="BLUETOOTH_TYPE_KEYBOARD">
        <doc xml:space="preserve">a keyboard</doc>
      </member>
      <member name="mouse" value="512" c:identifier="BLUETOOTH_TYPE_MOUSE">
        <doc xml:space="preserve">a mouse</doc>
      </member>
      <member name="camera" value="1024" c:identifier="BLUETOOTH_TYPE_CAMERA">
        <doc xml:space="preserve">a camera (still or moving)</doc>
      </member>
      <member name="printer"
              value="2048"
              c:identifier="BLUETOOTH_TYPE_PRINTER">
        <doc xml:space="preserve">a printer</doc>
      </member>
      <member name="joypad" value="4096" c:identifier="BLUETOOTH_TYPE_JOYPAD">
        <doc xml:space="preserve">a joypad, joystick, or other game controller</doc>
      </member>
      <member name="tablet" value="8192" c:identifier="BLUETOOTH_TYPE_TABLET">
        <doc xml:space="preserve">a drawing tablet</doc>
      </member>
      <member name="video" value="16384" c:identifier="BLUETOOTH_TYPE_VIDEO">
        <doc xml:space="preserve">a video device, such as a webcam</doc>
      </member>
    </bitfield>
    <function name="browse_address" c:identifier="bluetooth_browse_address">
      <doc xml:space="preserve">Opens a Bluetooth device in Nautilus.

Ideally the timestamp is taken from the event triggering the call to this function.
If timestamp is not known you can take #GDK_CURRENT_TIME.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="object" transfer-ownership="none">
          <doc xml:space="preserve">a #GObject, such as the top-level of your management application</doc>
          <type name="GObject.Object" c:type="GObject*"/>
        </parameter>
        <parameter name="address" transfer-ownership="none">
          <doc xml:space="preserve">the Bluetooth device to browse</doc>
          <type name="utf8" c:type="const char*"/>
        </parameter>
        <parameter name="timestamp" transfer-ownership="none">
          <doc xml:space="preserve">a timestamp to prevent focus stealing</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="callback"
                   transfer-ownership="none"
                   allow-none="1"
                   scope="async"
                   closure="4">
          <doc xml:space="preserve">the completion callback</doc>
          <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
        </parameter>
        <parameter name="user_data" transfer-ownership="none">
          <doc xml:space="preserve">the data to pass to callback function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <function name="browse_address_finish"
              c:identifier="bluetooth_browse_address_finish"
              throws="1">
      <doc xml:space="preserve">Finishes the browse operation, See bluetooth_browse_address().</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the operation was successful, %FALSE if error is set.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="object" transfer-ownership="none">
          <doc xml:space="preserve">a #GObject</doc>
          <type name="GObject.Object" c:type="GObject*"/>
        </parameter>
        <parameter name="result" transfer-ownership="none">
          <doc xml:space="preserve">the #GAsyncResult from the callback</doc>
          <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
        </parameter>
      </parameters>
    </function>
    <function name="class_to_type" c:identifier="bluetooth_class_to_type">
      <doc xml:space="preserve">Returns the type of device corresponding to the given @class value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">a #BluetoothType.</doc>
        <type name="Type" c:type="BluetoothType"/>
      </return-value>
      <parameters>
        <parameter name="class" transfer-ownership="none">
          <doc xml:space="preserve">a Bluetooth device class</doc>
          <type name="guint32" c:type="guint32"/>
        </parameter>
      </parameters>
    </function>
    <function name="plugin_manager_cleanup"
              c:identifier="bluetooth_plugin_manager_cleanup">
      <doc xml:space="preserve">Free all the resources used by the Bluetooth plugins.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="plugin_manager_device_deleted"
              c:identifier="bluetooth_plugin_manager_device_deleted">
      <doc xml:space="preserve">Removes all existing configuration for the device, as
supported by the plug-ins.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="bdaddr" transfer-ownership="none">
          <doc xml:space="preserve">a Bluetooth address representing a device</doc>
          <type name="utf8" c:type="const char*"/>
        </parameter>
      </parameters>
    </function>
    <function name="plugin_manager_get_widgets"
              c:identifier="bluetooth_plugin_manager_get_widgets">
      <doc xml:space="preserve">Returns a list of widgets suitable for configuring the device
represented by @address, for the services listed in @uuids.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">a #GList of #GtkWidget, or %NULL if none.</doc>
        <type name="GLib.List" c:type="GList*">
          <type name="Gtk.Widget"/>
        </type>
      </return-value>
      <parameters>
        <parameter name="bdaddr" transfer-ownership="none">
          <doc xml:space="preserve">a Bluetooth address representing a device</doc>
          <type name="utf8" c:type="const char*"/>
        </parameter>
        <parameter name="uuids" transfer-ownership="none">
          <doc xml:space="preserve">an array of UUIDs supported by the device</doc>
          <type name="utf8" c:type="const char**"/>
        </parameter>
      </parameters>
    </function>
    <function name="plugin_manager_init"
              c:identifier="bluetooth_plugin_manager_init">
      <doc xml:space="preserve">Initialise the plugin manager for Bluetooth plugins.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the initialisation succedeed, %FALSE otherwise.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
    </function>
    <function name="send_to_address" c:identifier="bluetooth_send_to_address">
      <doc xml:space="preserve">Start a GUI application for transfering files over Bluetooth.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="address" transfer-ownership="none">
          <doc xml:space="preserve">Remote device to use</doc>
          <type name="utf8" c:type="const char*"/>
        </parameter>
        <parameter name="alias" transfer-ownership="none">
          <doc xml:space="preserve">Remote device's name</doc>
          <type name="utf8" c:type="const char*"/>
        </parameter>
      </parameters>
    </function>
    <function name="type_to_string" c:identifier="bluetooth_type_to_string">
      <doc xml:space="preserve">Returns a human-readable string representation of @type usable for display to users. Do not free the return value.
The returned string is already translated with gettext().</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">a string.</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="type" transfer-ownership="none">
          <doc xml:space="preserve">a #BluetoothType</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
      </parameters>
    </function>
    <function name="uuid_to_string" c:identifier="bluetooth_uuid_to_string">
      <doc xml:space="preserve">Returns a string representing a human-readable (but not usable for display to users) version of the @uuid. Do not free the return value.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">a string.</doc>
        <type name="utf8" c:type="const char*"/>
      </return-value>
      <parameters>
        <parameter name="uuid" transfer-ownership="none">
          <doc xml:space="preserve">a string representing a Bluetooth UUID</doc>
          <type name="utf8" c:type="const char*"/>
        </parameter>
      </parameters>
    </function>
    <function name="verify_address" c:identifier="bluetooth_verify_address">
      <doc xml:space="preserve">Returns whether the string is a valid Bluetooth address. This does not contact the device in any way.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the address is valid, %FALSE if not.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="bdaddr" transfer-ownership="none">
          <doc xml:space="preserve">a string representing a Bluetooth address</doc>
          <type name="utf8" c:type="const char*"/>
        </parameter>
      </parameters>
    </function>
  </namespace>
</repository>