![]() |
![]() |
![]() |
mate-bluetooth Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <bluetooth-plugin.h> struct GbtPluginInfo; struct GbtPlugin; #define GBT_INIT_PLUGIN (plugininfo)
struct GbtPluginInfo { const char *id; gboolean (* has_config_widget) (const char *bdaddr, const char **uuids); GtkWidget * (* get_config_widgets) (const char *bdaddr, const char **uuids); void (* device_removed) (const char *bdaddr); };
A structure representing a mate-bluetooth wizard and properties plugin. You should also call GBT_INIT_PLUGIN()
on the plugin structure to export it.
A unique ID representing the plugin | |
Whether the passed Bluetooth address and UUIDs would have a configuration widget | |
Returns the configuration widget for the passed Bluetooth address and UUIDs | |
Remove any configuration relating to the Bluetooth address passed |
struct GbtPlugin { GModule *module; GbtPluginInfo *info; };
A structure as used in mate-bluetooth.
the GModule for the opened shared library | |
GbtPluginInfo * |
a GbtPluginInfo structure |
#define GBT_INIT_PLUGIN(plugininfo)
Call this on an GbtPluginInfo structure to make it available to mate-bluetooth.
|
a GbtPluginInfo structure representing the plugin |