aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-modem-voice.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-06-27 14:25:14 +0200
committerAleksander Morgado <aleksander@aleksander.es>2019-07-11 23:20:59 +0200
commitefcc4c60fedf018ebeb0e34b395365caa36c7cae (patch)
tree69f848f135121dc25377f043ca520fbed2183f28 /libmm-glib/mm-modem-voice.h
parentf065105f1740885e11311be8f4e9dcbcfff0a84b (diff)
api,voice: new HangupAll() method
This method will terminate all ongoing calls.
Diffstat (limited to 'libmm-glib/mm-modem-voice.h')
-rw-r--r--libmm-glib/mm-modem-voice.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libmm-glib/mm-modem-voice.h b/libmm-glib/mm-modem-voice.h
index ebc2493f..0339c9bf 100644
--- a/libmm-glib/mm-modem-voice.h
+++ b/libmm-glib/mm-modem-voice.h
@@ -132,6 +132,17 @@ gboolean mm_modem_voice_hangup_and_accept_sync (MMModemVoice *self,
GCancellable *cancellable,
GError **error);
+void mm_modem_voice_hangup_all (MMModemVoice *self,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean mm_modem_voice_hangup_all_finish (MMModemVoice *self,
+ GAsyncResult *res,
+ GError **error);
+gboolean mm_modem_voice_hangup_all_sync (MMModemVoice *self,
+ GCancellable *cancellable,
+ GError **error);
+
G_END_DECLS
#endif /* _MM_MODEM_VOICE_H_ */