~ubuntu-branches/ubuntu/raring/gnome-bluetooth/raring-proposed

« back to all changes in this revision

Viewing changes to lib/bluetooth-plugin-manager.c

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort, Laurent Bigonville, Emilio Pozuelo Monfort
  • Date: 2011-02-27 15:45:22 UTC
  • mfrom: (1.4.1 upstream) (2.1.11 sid)
  • mto: (2.1.13 sid)
  • mto: This revision was merged to the branch mainline in revision 53.
  • Revision ID: james.westby@ubuntu.com-20110227154522-p2nrmq4sxbrl3j4b
Tags: 2.91.5-1
[ Laurent Bigonville ]
* New upstream release
  - Bump libgnome-bluetooth soname
  - Update .symbols file
  - Japanese translation updated (Closes: #601518)
* debian/control.in:
  - Bump build-dependencies
  - Drop not needed build-dependencies
  - Add libgnome-control-center-dev build-dependency
  - Add gobject-introspection, libgirepository1.0-dev, gir1.2-atk-1.0,
    gir1.2-freedesktop, gir1.2-gtk-3.0 and libatk1.0-dev for introspection
  - Bump Standards-Version to 3.9.1 (no further changes)
  - Bump debhelper compatibility to 8
  - Remove duplicate Section to please lintian
  - Make gnome-bluetooth depends against ${gir:Depends} and libdconf0
  - Add gir1.2-gnomebluetooth-1.0 package
* Switch to dpkg-source 3.0 (quilt) format
* debian/libgnome-bluetooth-dev.install: Install .gir file
* debian/rules:
  - Add --enable-introspection
  - Add parameters for dh_girepository for gnome-bluetooth package
* debian/gnome-bluetooth.install:
  - Remove debian/tmp/etc
  - Add debian/tmp/usr/lib/control-center-1/panels/*.so,
    debian/tmp/usr/lib/gnome-bluetooth/*.so*,
    debian/tmp/usr/lib/gnome-bluetooth/*.typelib,
    debian/tmp/usr/share/GConf/gsettings/,
    debian/tmp/usr/share/glib-2.0/schemas/

[ Emilio Pozuelo Monfort ]
* debian/control.in:
  + Bump gobject-introspection build dependency to get a
    dh_girepository that can cope with private libraries.
  + Update gtk+ 3 package names.
* New upstream release.
* debian/rules:
  + Don't run dh_makeshlibs on gnome-bluetooth.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 *
22
22
 */
23
23
 
 
24
/**
 
25
 * SECTION:bluetooth-plugin-manager
 
26
 * @short_description: Bluetooth plug-in manager
 
27
 * @stability: Stable
 
28
 * @include: bluetooth-plugin-manager.h
 
29
 *
 
30
 * The plugin manager is used to extend set up wizards, or preferences.
 
31
 **/
 
32
 
 
33
 
24
34
#ifdef HAVE_CONFIG_H
25
35
#include <config.h>
26
36
#endif
83
93
        }
84
94
}
85
95
 
 
96
/**
 
97
 * bluetooth_plugin_manager_init:
 
98
 *
 
99
 * Initialise the plugin manager for Bluetooth plugins.
 
100
 *
 
101
 * Return value: %TRUE if the initialisation succedeed, %FALSE otherwise.
 
102
 **/
86
103
gboolean
87
104
bluetooth_plugin_manager_init (void)
88
105
{
96
113
        return g_list_length (plugin_list) != 0;
97
114
}
98
115
 
 
116
/**
 
117
 * bluetooth_plugin_manager_cleanup:
 
118
 *
 
119
 * Free all the resources used by the Bluetooth plugins.
 
120
 **/
99
121
void
100
122
bluetooth_plugin_manager_cleanup (void)
101
123
{
113
135
        plugin_list = NULL;
114
136
}
115
137
 
 
138
/**
 
139
 * bluetooth_plugin_manager_get_widgets:
 
140
 * @bdaddr: a Bluetooth address representing a device
 
141
 * @uuids: an array of UUIDs supported by the device.
 
142
 *
 
143
 * Returns a list of widgets suitable for configuring the device
 
144
 * represented by @address, for the services listed in @uuids.
 
145
 *
 
146
 * Return value: a #GList of #GtkWidget, or %NULL is none.
 
147
 **/
116
148
GList *
117
149
bluetooth_plugin_manager_get_widgets (const char *bdaddr,
118
150
                                      const char **uuids)
132
164
        return ret;
133
165
}
134
166
 
 
167
/**
 
168
 * bluetooth_plugin_manager_device_deleted:
 
169
 * @bdaddr: a Bluetooth address representing a device
 
170
 *
 
171
 * Removes all existing configuration for the device, as
 
172
 * supported by the plug-ins.
 
173
 **/
135
174
void
136
175
bluetooth_plugin_manager_device_deleted (const char *bdaddr)
137
176
{