From 95c781ec5b2b62a45cdf63c59d78a718737025af Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 30 Aug 2017 09:55:16 +0200 Subject: [PATCH] feat(c-event-log): in progress --- src/c-wrapper/api/c-event-log.cpp | 2 ++ src/c-wrapper/api/c-event-log.h | 10 ++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/c-wrapper/api/c-event-log.cpp b/src/c-wrapper/api/c-event-log.cpp index c3ad72f04..2404b5418 100644 --- a/src/c-wrapper/api/c-event-log.cpp +++ b/src/c-wrapper/api/c-event-log.cpp @@ -20,6 +20,8 @@ #include "c-event-log.h" +#include "event-log/call-event.h" +#include "event-log/conference-participant-event.h" #include "event-log/message-event.h" // ============================================================================= diff --git a/src/c-wrapper/api/c-event-log.h b/src/c-wrapper/api/c-event-log.h index 06cd33e0e..a33edbabb 100644 --- a/src/c-wrapper/api/c-event-log.h +++ b/src/c-wrapper/api/c-event-log.h @@ -23,7 +23,10 @@ // ============================================================================= -extern "C" { +#ifdef __cplusplus + extern "C" { +#endif + LINPHONE_PUBLIC LinphoneEventLog *linphone_event_log_new (); LINPHONE_PUBLIC LinphoneEventLogType linphone_event_log_get_type (const LinphoneEventLog *event_log); @@ -47,6 +50,9 @@ LINPHONE_PUBLIC const LinphoneAddress *linphone_conference_participant_event_get LINPHONE_PUBLIC LinphoneMessageEvent *linphone_message_event_new (LinphoneMessage *message); LINPHONE_PUBLIC LinphoneMessage *linphone_message_event_get_message (const LinphoneMessageEvent *message_event); -} + +#ifdef __cplusplus + } +#endif #endif // ifndef _C_EVENT_LOG_H_