diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2012-09-03 14:11:36 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-09-03 14:16:15 +0300 |
commit | 813b674bce1aab009e7f2d14d1825f603330563d (patch) | |
tree | cae198a1ee959b3cafd9f528e8c3ccacebbd77ae /attrib | |
parent | c7c092bca3f13348f2f92e72999ee585f98e7974 (diff) | |
download | bluez-813b674bce1aab009e7f2d14d1825f603330563d.tar.gz |
Add profile abstraction (replaces btd_device drivers)
This patch removes the btd_device_driver concept and replaces it with
btd_profile. The new construct also contains the necessary parts for
adapter drivers, so btd_adapter_driver is only needed for non-profile
related functionality (most of which is in plugins/*).
The main purpose of this new construct is to facilitate a centralized
connection creation mechanism for profiles, ultimately enabling the
addition of a Device.Connect() method instead of requiring a UI to know
to call e.g. Input.Connect or Audio.Connect.
This feature will also be extended to externally implemented profiles
once the internal implementation gets more stable, such as OBEX (obexd)
and HFP (oFono). The new D-Bus interface will also partially restore
functionality which was previously available through the Serial
interface.
Diffstat (limited to 'attrib')
-rw-r--r-- | attrib/client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/attrib/client.c b/attrib/client.c index bb6adf848..906d34542 100644 --- a/attrib/client.c +++ b/attrib/client.c @@ -29,6 +29,7 @@ #include <errno.h> #include <stdlib.h> +#include <stdbool.h> #include <glib.h> #include <bluetooth/bluetooth.h> |