summaryrefslogtreecommitdiff
path: root/Makefile.plugins
diff options
context:
space:
mode:
authorMikel Astiz <mikel.astiz@bmw-carit.de>2013-04-26 11:46:25 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2013-04-26 14:48:32 +0300
commit10620c1c0fbb211455fde597a1d2e5e47806f25d (patch)
tree70807220fbbbd9a104887ccad265d87e43730409 /Makefile.plugins
parent32a4ce9475d5804b854df0ec145c535b11b147a5 (diff)
downloadbluez-10620c1c0fbb211455fde597a1d2e5e47806f25d.tar.gz
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.
Diffstat (limited to 'Makefile.plugins')
-rw-r--r--Makefile.plugins4
1 files changed, 2 insertions, 2 deletions
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