summaryrefslogtreecommitdiffstats
path: root/telephony-binding/gdbus/ofono_voicecallmanager.c
diff options
context:
space:
mode:
authorMatt Porter <mporter@konsulko.com>2018-05-11 12:39:00 -0400
committerMatt Porter <mporter@konsulko.com>2018-05-11 19:07:54 -0400
commit8256ad1306337dc343683f5479e1a08764f1111a (patch)
tree13318aec71b664604017e2be4120a1256317a428 /telephony-binding/gdbus/ofono_voicecallmanager.c
parente19585cbe8710549d9c21de2ac37afaa6c185907 (diff)
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 <mporter@konsulko.com>
Diffstat (limited to 'telephony-binding/gdbus/ofono_voicecallmanager.c')
-rw-r--r--telephony-binding/gdbus/ofono_voicecallmanager.c6
1 files changed, 5 insertions, 1 deletions
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)