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