diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-09-23 10:30:43 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-10-17 08:31:46 +0000 |
commit | 657833a40050d1a7fe53b94dd394d0f0ad008f9a (patch) | |
tree | 4772ff314e32cab440f009a2eedc5df6e0112495 /libmm-glib/mm-modem-voice.h | |
parent | 7971844318b01851bc9565b8adb9fdbeef686451 (diff) |
voice,api: new 'EmergencyOnly' boolean flag
This new flag allows users of the API to know whether general purpose
voice calls are allowed or otherwise only voice calls to the
registered emergency numbers should be performed.
ModemManager won't really do any distinction between emergency and
non-emergency calls at this point, this flag is just an early
indication for the user of the API that no normal voice call should be
attempted.
Diffstat (limited to 'libmm-glib/mm-modem-voice.h')
-rw-r--r-- | libmm-glib/mm-modem-voice.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libmm-glib/mm-modem-voice.h b/libmm-glib/mm-modem-voice.h index f43a60a1..d3a8fc94 100644 --- a/libmm-glib/mm-modem-voice.h +++ b/libmm-glib/mm-modem-voice.h @@ -70,8 +70,9 @@ GType mm_modem_voice_get_type (void); G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMModemVoice, g_object_unref) #endif -const gchar *mm_modem_voice_get_path (MMModemVoice *self); -gchar *mm_modem_voice_dup_path (MMModemVoice *self); +const gchar *mm_modem_voice_get_path (MMModemVoice *self); +gchar *mm_modem_voice_dup_path (MMModemVoice *self); +gboolean mm_modem_voice_get_emergency_only (MMModemVoice *self); void mm_modem_voice_create_call (MMModemVoice *self, MMCallProperties *properties, |