Branch data Line data Source code
1 : : // SPDX-License-Identifier: GPL-3.0-or-later
2 : : // SPDX-FileCopyrightText: Andy Holmes <andrew.g.r.holmes@gmail.com>
3 : :
4 : : #pragma once
5 : :
6 : : #include <gio/gio.h>
7 : :
8 : : G_BEGIN_DECLS
9 : :
10 : : /**
11 : : * VALENT_BLUEZ_PROFILE_PATH: (value "/ca/andyholmes/Valent/bluez")
12 : : *
13 : : * The object path for the KDE Connect bluetooth profile.
14 : : */
15 : : #define VALENT_BLUEZ_PROFILE_PATH "/ca/andyholmes/Valent/bluez"
16 : :
17 : : /**
18 : : * VALENT_BLUEZ_PROFILE_UUID: (value "185f3df4-3268-4e3f-9fca-d4d5059915bd")
19 : : *
20 : : * The service UUID for the KDE Connect bluetooth profile.
21 : : */
22 : : #define VALENT_BLUEZ_PROFILE_UUID "185f3df4-3268-4e3f-9fca-d4d5059915bd"
23 : :
24 : :
25 : : #define VALENT_TYPE_BLUEZ_PROFILE (valent_bluez_profile_get_type())
26 : :
27 [ + - + - : 14 : G_DECLARE_FINAL_TYPE (ValentBluezProfile, valent_bluez_profile, VALENT, BLUEZ_PROFILE, GDBusInterfaceSkeleton)
- + ]
28 : :
29 : : ValentBluezProfile * valent_bluez_profile_new (void);
30 : : void valent_bluez_profile_register (ValentBluezProfile *profile,
31 : : GDBusConnection *connection,
32 : : GCancellable *cancellable,
33 : : GAsyncReadyCallback callback,
34 : : gpointer user_data);
35 : : gboolean valent_bluez_profile_register_finish (ValentBluezProfile *profile,
36 : : GAsyncResult *result,
37 : : GError **error);
38 : : void valent_bluez_profile_unregister (ValentBluezProfile *profile);
39 : :
40 : : G_END_DECLS
41 : :
|