mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 20:18:09 +00:00
add c-wrapping of ConferenceNotifiedEvent::isFullState
This commit is contained in:
parent
bea9b7f3d9
commit
a4a221dc06
2 changed files with 16 additions and 0 deletions
|
|
@ -83,6 +83,13 @@ LINPHONE_PUBLIC const LinphoneAddress *linphone_event_log_get_conference_address
|
|||
*/
|
||||
LINPHONE_PUBLIC unsigned int linphone_event_log_get_notify_id (const LinphoneEventLog *event_log);
|
||||
|
||||
/**
|
||||
* Returns whether or not the event comes from a full state notify.
|
||||
* @param[in] event_log A #LinphoneEventLog object.
|
||||
* @return whether or not the event comes from a full state notify.
|
||||
*/
|
||||
LINPHONE_PUBLIC bool_t linphone_event_log_is_full_state (const LinphoneEventLog *event_log);
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// ConferenceCallEvent.
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -193,6 +193,15 @@ unsigned int linphone_event_log_get_notify_id (const LinphoneEventLog *event_log
|
|||
)->getNotifyId();
|
||||
}
|
||||
|
||||
bool_t linphone_event_log_is_full_state (const LinphoneEventLog *event_log) {
|
||||
if (!isConferenceNotifiedType(linphone_event_log_get_type(event_log)))
|
||||
return FALSE;
|
||||
|
||||
return static_pointer_cast<const LinphonePrivate::ConferenceNotifiedEvent>(
|
||||
L_GET_CPP_PTR_FROM_C_OBJECT(event_log)
|
||||
)->isFullState();
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// ConferenceCallEvent.
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue