bluetooth-plugin-manager

bluetooth-plugin-manager — Bluetooth plug-in manager

Stability Level

Stable, unless otherwise indicated

Synopsis

#include <bluetooth-plugin-manager.h>

void                bluetooth_plugin_manager_cleanup    (void);
void                bluetooth_plugin_manager_device_deleted
                                                        (const char *bdaddr);
GList *             bluetooth_plugin_manager_get_widgets
                                                        (const char *bdaddr,
                                                         const char **uuids);
gboolean            bluetooth_plugin_manager_init       (void);

Description

The plugin manager is used to extend set up wizards, or preferences.

Details

bluetooth_plugin_manager_cleanup ()

void                bluetooth_plugin_manager_cleanup    (void);

Free all the resources used by the Bluetooth plugins.


bluetooth_plugin_manager_device_deleted ()

void                bluetooth_plugin_manager_device_deleted
                                                        (const char *bdaddr);

Removes all existing configuration for the device, as supported by the plug-ins.

bdaddr :

a Bluetooth address representing a device

bluetooth_plugin_manager_get_widgets ()

GList *             bluetooth_plugin_manager_get_widgets
                                                        (const char *bdaddr,
                                                         const char **uuids);

Returns a list of widgets suitable for configuring the device represented by address, for the services listed in uuids.

bdaddr :

a Bluetooth address representing a device

uuids :

an array of UUIDs supported by the device

Returns :

a GList of GtkWidget, or NULL if none. [element-type Gtk.Widget][transfer none]

bluetooth_plugin_manager_init ()

gboolean            bluetooth_plugin_manager_init       (void);

Initialise the plugin manager for Bluetooth plugins.

Returns :

TRUE if the initialisation succedeed, FALSE otherwise.