From 10620c1c0fbb211455fde597a1d2e5e47806f25d Mon Sep 17 00:00:00 2001 From: Mikel Astiz Date: Fri, 26 Apr 2013 11:46:25 +0200 Subject: profile: Use btd_service for connect/disconnect Change the btd_profile connect/disconnect callbacks to receive a btd_service pointer. This should make it possible to handle multiple instances of the same profile in a specific device. The patch strongly influences how the profiles should interact with the core. The state transitions, previously reported using the device.h API (device_profile_connected() and device_profile_disconnected()), have now been replaced by the btd_service API. The transitions will then be propagated to device.c by means of the conventional state-changed callback mechanism. --- Makefile.plugins | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile.plugins') diff --git a/Makefile.plugins b/Makefile.plugins index f49778231..44e6eca1a 100644 --- a/Makefile.plugins +++ b/Makefile.plugins @@ -41,14 +41,14 @@ builtin_sources += profiles/audio/main.c \ profiles/audio/a2dp-codecs.h builtin_modules += network -builtin_sources += profiles/network/manager.h profiles/network/manager.c \ +builtin_sources += profiles/network/manager.c \ profiles/network/common.h profiles/network/common.c \ profiles/network/server.h profiles/network/server.c \ profiles/network/connection.h \ profiles/network/connection.c builtin_modules += input -builtin_sources += profiles/input/manager.h profiles/input/manager.c \ +builtin_sources += profiles/input/manager.c \ profiles/input/server.h profiles/input/server.c \ profiles/input/device.h profiles/input/device.c -- cgit v1.2.1