feat(core): add missing LINPHONE_PUBLIC

This commit is contained in:
Ronan Abhamon 2017-08-17 13:51:35 +02:00
parent 82b3ab304f
commit bbd87a51d2
4 changed files with 7 additions and 7 deletions

View file

@ -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);

View file

@ -27,7 +27,7 @@ LINPHONE_BEGIN_NAMESPACE
class EventPrivate;
class Event : public ClonableObject {
class LINPHONE_PUBLIC Event : public ClonableObject {
public:
enum Type {
None,

View file

@ -33,7 +33,7 @@ class ErrorInfo;
class Message;
class MessageEventPrivate;
class MessageEvent : public Event {
class LINPHONE_PUBLIC MessageEvent : public Event {
public:
typedef std::pair<std::string, std::string> CustomHeader;

View file

@ -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<std::string> split (const std::string &str, const std::string &delimiter);
LINPHONE_PUBLIC std::vector<std::string> split (const std::string &str, const std::string &delimiter);
inline std::vector<std::string> split (const std::string &str, char delimiter) {
LINPHONE_PUBLIC inline std::vector<std::string> 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