call: Track which side hung up the call
Adding a boolean flag allows us to distinguish this from situations where the other side ended the call. Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/743>
This commit is contained in:
@@ -58,6 +58,10 @@ typedef enum {
|
||||
CALLS_CALL_TYPE_SIP_VOICE,
|
||||
} CallsCallType;
|
||||
|
||||
/**
|
||||
* CallsCallClass:
|
||||
* @hang_up: Called to hang up a call.
|
||||
*/
|
||||
struct _CallsCallClass {
|
||||
GObjectClass parent_class;
|
||||
|
||||
@@ -88,6 +92,7 @@ void calls_call_hang_up (CallsCall *self);
|
||||
gboolean calls_call_can_dtmf (CallsCall *self);
|
||||
void calls_call_send_dtmf_tone (CallsCall *self,
|
||||
char key);
|
||||
gboolean calls_call_get_we_hung_up (CallsCall *self);
|
||||
|
||||
gboolean calls_call_state_parse_nick (CallsCallState *state,
|
||||
const char *nick);
|
||||
|
||||
Reference in New Issue
Block a user