fix(core): export some symbols for Windows

This commit is contained in:
Ronan Abhamon 2018-05-23 16:49:35 +02:00
parent 6f0c47fa10
commit c0af01b2e0
5 changed files with 9 additions and 7 deletions

View file

@ -30,8 +30,9 @@ class ChatRoomId;
class RemoteConference;
class RemoteConferenceEventHandlerPrivate;
class RemoteConferenceEventHandler : public Object {
class LINPHONE_PUBLIC RemoteConferenceEventHandler : public Object {
friend class ClientGroupChatRoom;
public:
RemoteConferenceEventHandler (RemoteConference *remoteConference);
~RemoteConferenceEventHandler ();

View file

@ -28,7 +28,7 @@ LINPHONE_BEGIN_NAMESPACE
class LocalConferencePrivate;
class LocalConference : public Conference {
class LINPHONE_PUBLIC LocalConference : public Conference {
friend class ServerGroupChatRoomPrivate;
public:

View file

@ -33,7 +33,7 @@ LINPHONE_BEGIN_NAMESPACE
class CallSessionParamsPrivate;
class Core;
class CallSessionParams : public ClonableObject {
class LINPHONE_PUBLIC CallSessionParams : public ClonableObject {
friend class CallSession;
friend class CallSessionPrivate;
friend class ClientGroupChatRoom;

View file

@ -33,9 +33,10 @@ class Content;
namespace {
constexpr const char MultipartBoundary[] = "---------------------------14737809831466499882746641449";
}
namespace ContentManager {
std::list<Content> multipartToContentList (const Content &content);
Content contentListToMultipart (const std::list<Content *> &contents, const std::string &boundary = MultipartBoundary);
LINPHONE_PUBLIC std::list<Content> multipartToContentList (const Content &content);
LINPHONE_PUBLIC Content contentListToMultipart (const std::list<Content *> &contents, const std::string &boundary = MultipartBoundary);
}
LINPHONE_END_NAMESPACE

View file

@ -226,12 +226,12 @@ void Sal::processRequestEventCb (void *ud, const belle_sip_request_event_t *even
/*It is worth noting that proxies can (and will) remove this header field*/
op->setPrivacyFromMessage((belle_sip_message_t*)req);
if (strcmp("ACK",method) != 0){
/*The ACK custom header is processed specifically later on*/
op->assignRecvHeaders((belle_sip_message_t*)req);
}
if (op->mCallbacks && op->mCallbacks->process_request_event) {
op->mCallbacks->process_request_event(op,event);
} else {