OSDN Git Service

profile: Use direct calls for profile connection states
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 11 Dec 2012 08:29:49 +0000 (10:29 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 11 Dec 2012 08:29:49 +0000 (10:29 +0200)
commitafc8cdfb40888c6029d7fdbbf902e9e55dfcd758
treefb62f477708b34c934901857080ef96f5f1dd18e
parent6ba4ea63efe5376064dfb267f8bc46e1ad5ec328
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.
profiles/audio/manager.c
profiles/input/device.c
profiles/input/device.h
profiles/network/manager.c
src/device.c
src/device.h
src/profile.c
src/profile.h