diff options
author | Dan Williams <dcbw@redhat.com> | 2017-02-06 20:53:39 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2018-10-16 17:09:21 +0000 |
commit | 627303a748cce7274b05a6861a1dc0c779d9263a (patch) | |
tree | 52acb186721f9c48ccf1c042e620a86a06a7265c /libmm-glib/mm-call.h | |
parent | 16162a5033593e017775eab640a3b9bf1b805c39 (diff) |
api/libmm-glib/cli: add AudioPort and AudioFormat properties to the Call object
Diffstat (limited to 'libmm-glib/mm-call.h')
-rw-r--r-- | libmm-glib/mm-call.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libmm-glib/mm-call.h b/libmm-glib/mm-call.h index a5aeb730..baf51cc4 100644 --- a/libmm-glib/mm-call.h +++ b/libmm-glib/mm-call.h @@ -26,7 +26,7 @@ #include <ModemManager.h> #include "mm-gdbus-call.h" -#include "mm-call-properties.h" +#include "mm-call-audio-format.h" G_BEGIN_DECLS @@ -39,6 +39,7 @@ G_BEGIN_DECLS typedef struct _MMCall MMCall; typedef struct _MMCallClass MMCallClass; +typedef struct _MMCallPrivate MMCallPrivate; /** * MMCall: @@ -49,7 +50,7 @@ typedef struct _MMCallClass MMCallClass; struct _MMCall { /*< private >*/ MmGdbusCallProxy parent; - gpointer unused; + MMCallPrivate *priv; }; struct _MMCallClass { @@ -71,6 +72,11 @@ MMCallStateReason mm_call_get_state_reason (MMCall *self); MMCallDirection mm_call_get_direction (MMCall *self); +const gchar *mm_call_get_audio_port (MMCall *self); +gchar *mm_call_dup_audio_port (MMCall *self); + +MMCallAudioFormat *mm_call_get_audio_format (MMCall *self); +MMCallAudioFormat *mm_call_peek_audio_format(MMCall *self); void mm_call_start (MMCall *self, |