From 8256ad1306337dc343683f5479e1a08764f1111a Mon Sep 17 00:00:00 2001 From: Matt Porter Date: Fri, 11 May 2018 12:39:00 -0400 Subject: telephony-binding: add ofono manager calls to support async init Add additional calls to manage runtime connection/disconnection of voice modem interfaces and querying if there's a valid modem present. Bug-AGL: SPEC-1433 Change-Id: I824bfe2ff383fca5516e8581e97278f7b3807364 Signed-off-by: Matt Porter --- telephony-binding/gdbus/ofono_voicecallmanager.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'telephony-binding/gdbus/ofono_voicecallmanager.c') diff --git a/telephony-binding/gdbus/ofono_voicecallmanager.c b/telephony-binding/gdbus/ofono_voicecallmanager.c index 2356366..956bcba 100644 --- a/telephony-binding/gdbus/ofono_voicecallmanager.c +++ b/telephony-binding/gdbus/ofono_voicecallmanager.c @@ -55,7 +55,6 @@ static void call_removed(OrgOfonoVoiceCallManager *manager, g_signal_emit_by_name(manager, "terminated-call", op); } - const OrgOfonoVoiceCallManager *ofono_voicecallmanager_init(const gchar *op, void (*incoming_call)(OrgOfonoVoiceCallManager *manager,gchar *,gchar *), @@ -124,6 +123,11 @@ const OrgOfonoVoiceCallManager return manager; } +void ofono_voicecallmanager_free(OrgOfonoVoiceCallManager *vcm) +{ + g_object_unref(G_OBJECT(vcm)); +} + gchar *ofono_voicecallmanager_dial(OrgOfonoVoiceCallManager *manager, const gchar *number, const gchar *cid) -- cgit 1.2.3-korg