summaryrefslogtreecommitdiffstats
path: root/telephony-binding/gdbus/ofono_voicecall.h
diff options
context:
space:
mode:
authorMatt Porter <mporter@konsulko.com>2017-05-20 09:43:18 -0400
committerMatt Porter <mporter@konsulko.com>2017-05-20 09:49:39 -0400
commit1f5cd7758161271e7e7c38e5a7dc78396f5c56b8 (patch)
treeeb46ced90b3dfa48b428381df94969fb94badedb /telephony-binding/gdbus/ofono_voicecall.h
parent3a208ed9a418f02b4938f447af04666593cda410 (diff)
Add support for UI display of phone call duration
Adds support to the telephony binding for generating events when a call's state changes to active or disconnected states (when a remote/local party answers or disconnects the call). These events are used to drive a call duration display in the phone app UI. AGL-Bug: SPEC-599 Change-Id: Ib4b0b115ca1d0573a7ae046082627f561f0d8d8a Signed-off-by: Matt Porter <mporter@konsulko.com>
Diffstat (limited to 'telephony-binding/gdbus/ofono_voicecall.h')
-rw-r--r--telephony-binding/gdbus/ofono_voicecall.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/telephony-binding/gdbus/ofono_voicecall.h b/telephony-binding/gdbus/ofono_voicecall.h
index 6405d1b..0c2e749 100644
--- a/telephony-binding/gdbus/ofono_voicecall.h
+++ b/telephony-binding/gdbus/ofono_voicecall.h
@@ -18,7 +18,10 @@
#include "ofono_voicecall_interface.h"
-OrgOfonoVoiceCall *ofono_voicecall_new(gchar *);
+OrgOfonoVoiceCall *
+ofono_voicecall_new(const struct afb_binding_interface *,
+ gchar *,
+ void (*)(OrgOfonoVoiceCall *,gchar *));
void ofono_voicecall_free(OrgOfonoVoiceCall *);
void ofono_voicecall_answer(OrgOfonoVoiceCall *);
void ofono_voicecall_hangup(OrgOfonoVoiceCall *);