Commit a4a221dc authored by Benjamin REIS's avatar Benjamin REIS
Browse files

add c-wrapping of ConferenceNotifiedEvent::isFullState

parent bea9b7f3
......@@ -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.
// -----------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment