diff --git a/src/event/call-event.h b/src/event/call-event.h index 0cbdb7f0f..044946fce 100644 --- a/src/event/call-event.h +++ b/src/event/call-event.h @@ -28,7 +28,7 @@ LINPHONE_BEGIN_NAMESPACE class Call; class CallEventPrivate; -class CallEvent : public Event { +class LINPHONE_PUBLIC CallEvent : public Event { public: CallEvent (const Call &message); CallEvent (const CallEvent &src); diff --git a/src/event/event.h b/src/event/event.h index e4724112c..31b019cab 100644 --- a/src/event/event.h +++ b/src/event/event.h @@ -27,7 +27,7 @@ LINPHONE_BEGIN_NAMESPACE class EventPrivate; -class Event : public ClonableObject { +class LINPHONE_PUBLIC Event : public ClonableObject { public: enum Type { None, diff --git a/src/event/message-event.h b/src/event/message-event.h index e3a3ac725..2c9d5174d 100644 --- a/src/event/message-event.h +++ b/src/event/message-event.h @@ -33,7 +33,7 @@ class ErrorInfo; class Message; class MessageEventPrivate; -class MessageEvent : public Event { +class LINPHONE_PUBLIC MessageEvent : public Event { public: typedef std::pair CustomHeader; diff --git a/src/utils/utils.h b/src/utils/utils.h index 799de2287..ceede0cda 100644 --- a/src/utils/utils.h +++ b/src/utils/utils.h @@ -29,15 +29,15 @@ LINPHONE_BEGIN_NAMESPACE namespace Utils { - bool iequals (const std::string &a, const std::string &b); + LINPHONE_PUBLIC bool iequals (const std::string &a, const std::string &b); - std::vector split (const std::string &str, const std::string &delimiter); + LINPHONE_PUBLIC std::vector split (const std::string &str, const std::string &delimiter); - inline std::vector split (const std::string &str, char delimiter) { + LINPHONE_PUBLIC inline std::vector split (const std::string &str, char delimiter) { return split(str, std::string(1, delimiter)); } - int stoi (const std::string &str, size_t *idx = 0, int base = 10); + LINPHONE_PUBLIC int stoi (const std::string &str, size_t *idx = 0, int base = 10); } LINPHONE_END_NAMESPACE