call: Add API to query whether this call can do DTMF

This allows enable or disable UI elements.
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-11-12 09:51:04 +01:00
parent bf72169f68
commit c5636ab71c
2 changed files with 14 additions and 0 deletions

View File

@@ -70,6 +70,7 @@ gboolean calls_call_get_inbound (CallsCall *self);
const char *calls_call_get_protocol (CallsCall *self);
void calls_call_answer (CallsCall *self);
void calls_call_hang_up (CallsCall *self);
gboolean calls_call_can_dtmf (CallsCall *self);
void calls_call_tone_start (CallsCall *self,
gchar key);
gboolean calls_call_tone_stoppable (CallsCall *self);