Commit: afc8cdfb40888c6029d7fdbbf902e9e55dfcd758
Parent: 6ba4ea63efe5376064dfb267f8bc46e1ad5ec328
Author: Johan Hedberg <johan.hedberg@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-12-11 10:29:49
Tree: fb62f477708b34c934901857080ef96f5f1dd18e

profile: Use direct calls for profile connection states In order to be able to track also remotely initiated connections we cannot have a callback system where device.c passes a function pointer to the profile implementation. Instead we need explicit calls to device.c whenever the connection state changes.

Diffstat

M profiles/audio/manager.c | 32 +++++++++++++- - - - - - - - - - - - - - - - - - -
M profiles/input/device.c | 13 +++++- - - - - - - -
M profiles/input/device.h | 7 +++- - - -
M profiles/network/manager.c | 40 ++++++++++++++++++++- - - - - - - - - - - - - - - - - - - -
M src/device.c | 20 ++++++++++- - - - - - - - - -
M src/device.h | 7 +++++++
M src/profile.c | 18 ++++++++- - - - - - - - - -
M src/profile.h | 11 +++++- - - - - -

8 files changed, 71 insertions(+), 77 deletions(-)

View Full Diff | Patch