include: Add voicecall multiparty hint method

On protocols that support creation of multiparty calls outside of
oFono's control, we need a way to detect multiparty call transitions.
This method adds a way for the driver to hint the core which calls
should be part of the multiparty call.

Right now this is relevant only to HFP.  Real modem hardware should not
be using this method.
This commit is contained in:
Denis Kenzior 2013-09-10 10:54:05 -05:00
parent d94eb705c7
commit 681bc6d556
1 changed files with 7 additions and 0 deletions

View File

@ -144,6 +144,13 @@ void ofono_voicecall_disconnected(struct ofono_voicecall *vc, int id,
enum ofono_disconnect_reason reason,
const struct ofono_error *error);
/*
* For those protocols where MPTY creation happens outside of oFono's control,
* e.g. Bluetooth Handsfree, set the hint of the MPTY call list by passing
* in a bitmask of ids participating in the MPTY call
*/
void ofono_voicecall_mpty_hint(struct ofono_voicecall *vc, unsigned int ids);
int ofono_voicecall_driver_register(const struct ofono_voicecall_driver *d);
void ofono_voicecall_driver_unregister(const struct ofono_voicecall_driver *d);