Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
a4a221dc
Commit
a4a221dc
authored
Nov 06, 2017
by
Benjamin REIS
Browse files
add c-wrapping of ConferenceNotifiedEvent::isFullState
parent
bea9b7f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/linphone/api/c-event-log.h
View file @
a4a221dc
...
...
@@ -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.
// -----------------------------------------------------------------------------
...
...
src/c-wrapper/api/c-event-log.cpp
View file @
a4a221dc
...
...
@@ -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.
// -----------------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment