call: Add "encrypted" property

This property indicates whether a call is using encryption.
This commit is contained in:
Evangelos Ribeiro Tzaras
2022-05-09 11:00:42 +02:00
parent e75e04fb4e
commit be235189cc
3 changed files with 83 additions and 1 deletions

View File

@@ -68,6 +68,9 @@ void calls_call_set_name (CallsCall *self,
CallsCallState calls_call_get_state (CallsCall *self);
void calls_call_set_state (CallsCall *self,
CallsCallState state);
gboolean calls_call_get_encrypted (CallsCall *self);
void calls_call_set_encrypted (CallsCall *self,
gboolean encrypted);
CallsCallType calls_call_get_call_type (CallsCall *self);
gboolean calls_call_get_inbound (CallsCall *self);
const char *calls_call_get_protocol (CallsCall *self);