Blame lib/bluetooth-client-private.h

Packit 8fb625
/*
Packit 8fb625
 *
Packit 8fb625
 *  BlueZ - Bluetooth protocol stack for Linux
Packit 8fb625
 *
Packit 8fb625
 *  Copyright (C) 2005-2008  Marcel Holtmann <marcel@holtmann.org>
Packit 8fb625
 *
Packit 8fb625
 *
Packit 8fb625
 *  This library is free software; you can redistribute it and/or
Packit 8fb625
 *  modify it under the terms of the GNU Lesser General Public
Packit 8fb625
 *  License as published by the Free Software Foundation; either
Packit 8fb625
 *  version 2.1 of the License, or (at your option) any later version.
Packit 8fb625
 *
Packit 8fb625
 *  This library is distributed in the hope that it will be useful,
Packit 8fb625
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 8fb625
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 8fb625
 *  Lesser General Public License for more details.
Packit 8fb625
 *
Packit 8fb625
 *  You should have received a copy of the GNU Lesser General Public
Packit 8fb625
 *  License along with this library; if not, write to the Free Software
Packit 8fb625
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
Packit 8fb625
 *
Packit 8fb625
 */
Packit 8fb625
Packit 8fb625
#ifndef __BLUETOOTH_CLIENT_PRIVATE_H
Packit 8fb625
#define __BLUETOOTH_CLIENT_PRIVATE_H
Packit 8fb625
Packit 8fb625
#include <glib-object.h>
Packit 8fb625
#include <gtk/gtk.h>
Packit 8fb625
#include <bluetooth-enums.h>
Packit 8fb625
Packit 8fb625
G_BEGIN_DECLS
Packit 8fb625
Packit 8fb625
typedef void (*BluetoothClientSetupFunc) (BluetoothClient *client,
Packit 8fb625
					  const GError    *error,
Packit 8fb625
					  const char      *device_path);
Packit 8fb625
Packit 8fb625
void bluetooth_client_setup_device (BluetoothClient          *client,
Packit 8fb625
				    const char               *path,
Packit 8fb625
				    gboolean                  pair,
Packit 8fb625
				    GCancellable             *cancellable,
Packit 8fb625
				    GAsyncReadyCallback       callback,
Packit 8fb625
				    gpointer                  user_data);
Packit 8fb625
gboolean bluetooth_client_setup_device_finish (BluetoothClient  *client,
Packit 8fb625
					       GAsyncResult     *res,
Packit 8fb625
					       char            **path,
Packit 8fb625
					       GError          **error);
Packit 8fb625
Packit 8fb625
gboolean bluetooth_client_set_trusted(BluetoothClient *client,
Packit 8fb625
					const char *device, gboolean trusted);
Packit 8fb625
Packit 8fb625
GDBusProxy *bluetooth_client_get_device (BluetoothClient *client,
Packit 8fb625
					 const char      *path);
Packit 8fb625
Packit 8fb625
void bluetooth_client_dump_device (GtkTreeModel *model,
Packit 8fb625
				   GtkTreeIter *iter);
Packit 8fb625
Packit 8fb625
gboolean bluetooth_client_get_connectable(const char **uuids);
Packit 8fb625
Packit 8fb625
GDBusProxy *_bluetooth_client_get_default_adapter (BluetoothClient *client);
Packit 8fb625
Packit 8fb625
G_END_DECLS
Packit 8fb625
Packit 8fb625
#endif /* __BLUETOOTH_CLIENT_PRIVATE_H */