diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-06-27 14:25:14 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-07-11 23:20:59 +0200 |
commit | efcc4c60fedf018ebeb0e34b395365caa36c7cae (patch) | |
tree | 69f848f135121dc25377f043ca520fbed2183f28 /src/mm-iface-modem-voice.h | |
parent | f065105f1740885e11311be8f4e9dcbcfff0a84b (diff) |
api,voice: new HangupAll() method
This method will terminate all ongoing calls.
Diffstat (limited to 'src/mm-iface-modem-voice.h')
-rw-r--r-- | src/mm-iface-modem-voice.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mm-iface-modem-voice.h b/src/mm-iface-modem-voice.h index d5395741..612e170b 100644 --- a/src/mm-iface-modem-voice.h +++ b/src/mm-iface-modem-voice.h @@ -107,6 +107,14 @@ struct _MMIfaceModemVoice { gboolean (* hangup_and_accept_finish) (MMIfaceModemVoice *self, GAsyncResult *res, GError **error); + + /* Hangup all */ + void (* hangup_all) (MMIfaceModemVoice *self, + GAsyncReadyCallback callback, + gpointer user_data); + gboolean (* hangup_all_finish) (MMIfaceModemVoice *self, + GAsyncResult *res, + GError **error); }; GType mm_iface_modem_voice_get_type (void); |