include/voicecall : update ofono_voicecall_driver to support call last dialled number

Add new DBUS method to enable calling the last dialled number.
This commit is contained in:
Philippe De Swert 2017-10-31 10:39:32 +02:00 committed by Denis Kenzior
parent 11bcd0cef7
commit 170bdc1abb
1 changed files with 4 additions and 0 deletions

View File

@ -61,6 +61,10 @@ struct ofono_voicecall_driver {
const struct ofono_phone_number *number,
enum ofono_clir_option clir, ofono_voicecall_cb_t cb,
void *data);
/* Dials the last number again, this handles the hfp profile last number
* dialing with the +BLDN AT command
*/
void (*dial_last)(struct ofono_voicecall *vc, ofono_voicecall_cb_t cb, void *data);
/* Answers an incoming call, this usually corresponds to ATA */
void (*answer)(struct ofono_voicecall *vc,
ofono_voicecall_cb_t cb, void *data);