From 813b674bce1aab009e7f2d14d1825f603330563d Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Mon, 3 Sep 2012 14:11:36 +0300 Subject: 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. --- plugins/wiimote.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/wiimote.c') diff --git a/plugins/wiimote.c b/plugins/wiimote.c index 9c69c6d18..337d4080b 100644 --- a/plugins/wiimote.c +++ b/plugins/wiimote.c @@ -25,6 +25,8 @@ #include #endif +#include + #include #include -- cgit v1.2.1