aboutsummaryrefslogtreecommitdiff
path: root/src/gnome-bluetooth-1.0.vapi
blob: ac60bf02ab4fa1e18488963290dbda38062059ee (plain)
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
[CCode (cprefix = "Bluetooth", lower_case_cprefix = "bluetooth_")]
namespace GnomeBluetooth
{

[CCode (cheader_filename = "bluetooth-client.h")]
public class Client : GLib.Object
{
    public Client ();
    public Gtk.TreeModel model { get; }
}

[CCode (cheader_filename = "bluetooth-enums.h", cprefix = "BLUETOOTH_COLUMN_")]
public enum Column
{
    PROXY,
    ADDRESS,
    ALIAS,
    NAME,
    TYPE,
    ICON,
    DEFAULT,
    PAIRED,
    TRUSTED,
    CONNECTED,
    DISCOVERABLE,
    DISCOVERING,
    LEGACYPAIRING,
    POWERED,
    SERVICES,
    UUIDS
}

[CCode (cheader_filename = "bluetooth-enums.h", cprefix = "BLUETOOTH_TYPE_")]
public enum Type
{
    ANY,
    PHONE,
    MODEM,
    COMPUTER,
    NETWORK,
    HEADSET,
    HEADPHONES,
    OTHER_AUDIO,
    KEYBOARD,
    MOUSE,
    CAMERA,
    PRINTER,
    JOYPAD,
    TABLET,
    VIDEO
}

[CCode (cheader_filename = "bluetooth-utils.h")]
public void browse_address (GLib.Object? object, string address, uint timestamp, GLib.AsyncReadyCallback? callback);

[CCode (cheader_filename = "bluetooth-utils.h")]
public void send_to_address (string address, string alias);

}