/* astal-bluetooth.h generated by valac 0.56.19, the Vala compiler, do not modify */

#ifndef __ASTAL_BLUETOOTH_H__
#define __ASTAL_BLUETOOTH_H__

#include <glib.h>
#include <stdlib.h>
#include <string.h>
#include <glib-object.h>
#include <gio/gio.h>
#include <float.h>
#include <math.h>

G_BEGIN_DECLS

#define ASTAL_BLUETOOTH_MAJOR_VERSION 0
#define ASTAL_BLUETOOTH_MINOR_VERSION 1
#define ASTAL_BLUETOOTH_MICRO_VERSION 0
#define ASTAL_BLUETOOTH_VERSION "0.1.0"
#if !defined(VALA_EXTERN)
#if defined(_MSC_VER)
#define VALA_EXTERN __declspec(dllexport) extern
#elif __GNUC__ >= 4
#define VALA_EXTERN __attribute__((visibility("default"))) extern
#else
#define VALA_EXTERN extern
#endif
#endif

#define ASTAL_BLUETOOTH_TYPE_ADAPTER (astal_bluetooth_adapter_get_type ())
#define ASTAL_BLUETOOTH_ADAPTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ASTAL_BLUETOOTH_TYPE_ADAPTER, AstalBluetoothAdapter))
#define ASTAL_BLUETOOTH_ADAPTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ASTAL_BLUETOOTH_TYPE_ADAPTER, AstalBluetoothAdapterClass))
#define ASTAL_BLUETOOTH_IS_ADAPTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ASTAL_BLUETOOTH_TYPE_ADAPTER))
#define ASTAL_BLUETOOTH_IS_ADAPTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ASTAL_BLUETOOTH_TYPE_ADAPTER))
#define ASTAL_BLUETOOTH_ADAPTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ASTAL_BLUETOOTH_TYPE_ADAPTER, AstalBluetoothAdapterClass))

typedef struct _AstalBluetoothAdapter AstalBluetoothAdapter;
typedef struct _AstalBluetoothAdapterClass AstalBluetoothAdapterClass;
typedef struct _AstalBluetoothAdapterPrivate AstalBluetoothAdapterPrivate;

#define ASTAL_BLUETOOTH_TYPE_DEVICE (astal_bluetooth_device_get_type ())
#define ASTAL_BLUETOOTH_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ASTAL_BLUETOOTH_TYPE_DEVICE, AstalBluetoothDevice))
#define ASTAL_BLUETOOTH_DEVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ASTAL_BLUETOOTH_TYPE_DEVICE, AstalBluetoothDeviceClass))
#define ASTAL_BLUETOOTH_IS_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ASTAL_BLUETOOTH_TYPE_DEVICE))
#define ASTAL_BLUETOOTH_IS_DEVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ASTAL_BLUETOOTH_TYPE_DEVICE))
#define ASTAL_BLUETOOTH_DEVICE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ASTAL_BLUETOOTH_TYPE_DEVICE, AstalBluetoothDeviceClass))

typedef struct _AstalBluetoothDevice AstalBluetoothDevice;
typedef struct _AstalBluetoothDeviceClass AstalBluetoothDeviceClass;

#define ASTAL_BLUETOOTH_TYPE_BLUETOOTH (astal_bluetooth_bluetooth_get_type ())
#define ASTAL_BLUETOOTH_BLUETOOTH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ASTAL_BLUETOOTH_TYPE_BLUETOOTH, AstalBluetoothBluetooth))
#define ASTAL_BLUETOOTH_BLUETOOTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ASTAL_BLUETOOTH_TYPE_BLUETOOTH, AstalBluetoothBluetoothClass))
#define ASTAL_BLUETOOTH_IS_BLUETOOTH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ASTAL_BLUETOOTH_TYPE_BLUETOOTH))
#define ASTAL_BLUETOOTH_IS_BLUETOOTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ASTAL_BLUETOOTH_TYPE_BLUETOOTH))
#define ASTAL_BLUETOOTH_BLUETOOTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ASTAL_BLUETOOTH_TYPE_BLUETOOTH, AstalBluetoothBluetoothClass))

typedef struct _AstalBluetoothBluetooth AstalBluetoothBluetooth;
typedef struct _AstalBluetoothBluetoothClass AstalBluetoothBluetoothClass;
typedef struct _AstalBluetoothBluetoothPrivate AstalBluetoothBluetoothPrivate;
typedef struct _AstalBluetoothDevicePrivate AstalBluetoothDevicePrivate;

struct _AstalBluetoothAdapter {
	GObject parent_instance;
	AstalBluetoothAdapterPrivate * priv;
};

struct _AstalBluetoothAdapterClass {
	GObjectClass parent_class;
};

struct _AstalBluetoothBluetooth {
	GObject parent_instance;
	AstalBluetoothBluetoothPrivate * priv;
};

struct _AstalBluetoothBluetoothClass {
	GObjectClass parent_class;
};

struct _AstalBluetoothDevice {
	GObject parent_instance;
	AstalBluetoothDevicePrivate * priv;
};

struct _AstalBluetoothDeviceClass {
	GObjectClass parent_class;
};

VALA_EXTERN GType astal_bluetooth_adapter_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (AstalBluetoothAdapter, g_object_unref)
VALA_EXTERN GType astal_bluetooth_device_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (AstalBluetoothDevice, g_object_unref)
VALA_EXTERN void astal_bluetooth_adapter_remove_device (AstalBluetoothAdapter* self,
                                            AstalBluetoothDevice* device,
                                            GError** error);
VALA_EXTERN void astal_bluetooth_adapter_start_discovery (AstalBluetoothAdapter* self,
                                              GError** error);
VALA_EXTERN void astal_bluetooth_adapter_stop_discovery (AstalBluetoothAdapter* self,
                                             GError** error);
VALA_EXTERN gchar** astal_bluetooth_adapter_get_uuids (AstalBluetoothAdapter* self,
                                           gint* result_length1);
VALA_EXTERN gboolean astal_bluetooth_adapter_get_discovering (AstalBluetoothAdapter* self);
VALA_EXTERN gchar* astal_bluetooth_adapter_get_modalias (AstalBluetoothAdapter* self);
VALA_EXTERN gchar* astal_bluetooth_adapter_get_name (AstalBluetoothAdapter* self);
VALA_EXTERN guint astal_bluetooth_adapter_get_class (AstalBluetoothAdapter* self);
VALA_EXTERN gchar* astal_bluetooth_adapter_get_address (AstalBluetoothAdapter* self);
VALA_EXTERN gboolean astal_bluetooth_adapter_get_discoverable (AstalBluetoothAdapter* self);
VALA_EXTERN void astal_bluetooth_adapter_set_discoverable (AstalBluetoothAdapter* self,
                                               gboolean value);
VALA_EXTERN gboolean astal_bluetooth_adapter_get_pairable (AstalBluetoothAdapter* self);
VALA_EXTERN void astal_bluetooth_adapter_set_pairable (AstalBluetoothAdapter* self,
                                           gboolean value);
VALA_EXTERN gboolean astal_bluetooth_adapter_get_powered (AstalBluetoothAdapter* self);
VALA_EXTERN void astal_bluetooth_adapter_set_powered (AstalBluetoothAdapter* self,
                                          gboolean value);
VALA_EXTERN gchar* astal_bluetooth_adapter_get_alias (AstalBluetoothAdapter* self);
VALA_EXTERN void astal_bluetooth_adapter_set_alias (AstalBluetoothAdapter* self,
                                        const gchar* value);
VALA_EXTERN guint astal_bluetooth_adapter_get_discoverable_timeout (AstalBluetoothAdapter* self);
VALA_EXTERN void astal_bluetooth_adapter_set_discoverable_timeout (AstalBluetoothAdapter* self,
                                                       guint value);
VALA_EXTERN guint astal_bluetooth_adapter_get_pairable_timeout (AstalBluetoothAdapter* self);
VALA_EXTERN void astal_bluetooth_adapter_set_pairable_timeout (AstalBluetoothAdapter* self,
                                                   guint value);
VALA_EXTERN GType astal_bluetooth_bluetooth_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (AstalBluetoothBluetooth, g_object_unref)
VALA_EXTERN AstalBluetoothBluetooth* astal_bluetooth_get_default (void);
VALA_EXTERN AstalBluetoothBluetooth* astal_bluetooth_bluetooth_get_default (void);
VALA_EXTERN void astal_bluetooth_bluetooth_toggle (AstalBluetoothBluetooth* self);
VALA_EXTERN AstalBluetoothBluetooth* astal_bluetooth_bluetooth_new (void);
VALA_EXTERN AstalBluetoothBluetooth* astal_bluetooth_bluetooth_construct (GType object_type);
VALA_EXTERN gboolean astal_bluetooth_bluetooth_get_is_powered (AstalBluetoothBluetooth* self);
VALA_EXTERN gboolean astal_bluetooth_bluetooth_get_is_connected (AstalBluetoothBluetooth* self);
VALA_EXTERN AstalBluetoothAdapter* astal_bluetooth_bluetooth_get_adapter (AstalBluetoothBluetooth* self);
VALA_EXTERN GList* astal_bluetooth_bluetooth_get_adapters (AstalBluetoothBluetooth* self);
VALA_EXTERN GList* astal_bluetooth_bluetooth_get_devices (AstalBluetoothBluetooth* self);
VALA_EXTERN void astal_bluetooth_device_connect_device (AstalBluetoothDevice* self,
                                            GAsyncReadyCallback _callback_,
                                            gpointer _user_data_);
VALA_EXTERN void astal_bluetooth_device_connect_device_finish (AstalBluetoothDevice* self,
                                                   GAsyncResult* _res_,
                                                   GError** error);
VALA_EXTERN void astal_bluetooth_device_disconnect_device (AstalBluetoothDevice* self,
                                               GAsyncReadyCallback _callback_,
                                               gpointer _user_data_);
VALA_EXTERN void astal_bluetooth_device_disconnect_device_finish (AstalBluetoothDevice* self,
                                                      GAsyncResult* _res_,
                                                      GError** error);
VALA_EXTERN void astal_bluetooth_device_connect_profile (AstalBluetoothDevice* self,
                                             const gchar* uuid,
                                             GError** error);
VALA_EXTERN void astal_bluetooth_device_disconnect_profile (AstalBluetoothDevice* self,
                                                const gchar* uuid,
                                                GError** error);
VALA_EXTERN void astal_bluetooth_device_pair (AstalBluetoothDevice* self,
                                  GError** error);
VALA_EXTERN void astal_bluetooth_device_cancel_pairing (AstalBluetoothDevice* self,
                                            GError** error);
VALA_EXTERN gchar** astal_bluetooth_device_get_uuids (AstalBluetoothDevice* self,
                                          gint* result_length1);
VALA_EXTERN gboolean astal_bluetooth_device_get_connected (AstalBluetoothDevice* self);
VALA_EXTERN gboolean astal_bluetooth_device_get_legacy_pairing (AstalBluetoothDevice* self);
VALA_EXTERN gboolean astal_bluetooth_device_get_paired (AstalBluetoothDevice* self);
VALA_EXTERN gint16 astal_bluetooth_device_get_rssi (AstalBluetoothDevice* self);
VALA_EXTERN char* astal_bluetooth_device_get_adapter (AstalBluetoothDevice* self);
VALA_EXTERN gchar* astal_bluetooth_device_get_address (AstalBluetoothDevice* self);
VALA_EXTERN gchar* astal_bluetooth_device_get_icon (AstalBluetoothDevice* self);
VALA_EXTERN gchar* astal_bluetooth_device_get_modalias (AstalBluetoothDevice* self);
VALA_EXTERN gchar* astal_bluetooth_device_get_name (AstalBluetoothDevice* self);
VALA_EXTERN guint16 astal_bluetooth_device_get_appearance (AstalBluetoothDevice* self);
VALA_EXTERN guint32 astal_bluetooth_device_get_class (AstalBluetoothDevice* self);
VALA_EXTERN gboolean astal_bluetooth_device_get_connecting (AstalBluetoothDevice* self);
VALA_EXTERN gboolean astal_bluetooth_device_get_blocked (AstalBluetoothDevice* self);
VALA_EXTERN void astal_bluetooth_device_set_blocked (AstalBluetoothDevice* self,
                                         gboolean value);
VALA_EXTERN gboolean astal_bluetooth_device_get_trusted (AstalBluetoothDevice* self);
VALA_EXTERN void astal_bluetooth_device_set_trusted (AstalBluetoothDevice* self,
                                         gboolean value);
VALA_EXTERN gdouble astal_bluetooth_device_get_battery_percentage (AstalBluetoothDevice* self);
VALA_EXTERN gchar* astal_bluetooth_device_get_alias (AstalBluetoothDevice* self);
VALA_EXTERN void astal_bluetooth_device_set_alias (AstalBluetoothDevice* self,
                                       const gchar* value);

G_END_DECLS

#endif
