summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/History/SQLiteHistoryStorage.h3
-rw-r--r--Swiften/JID/JID.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/Swiften/History/SQLiteHistoryStorage.h b/Swiften/History/SQLiteHistoryStorage.h
index dd526b1..524247d 100644
--- a/Swiften/History/SQLiteHistoryStorage.h
+++ b/Swiften/History/SQLiteHistoryStorage.h
@@ -8,13 +8,14 @@
#include <boost/optional.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/History/HistoryStorage.h>
#include <boost/thread.hpp>
struct sqlite3;
namespace Swift {
- class SQLiteHistoryStorage : public HistoryStorage {
+ class SWIFTEN_API SQLiteHistoryStorage : public HistoryStorage {
public:
SQLiteHistoryStorage(const std::string& file);
~SQLiteHistoryStorage();
diff --git a/Swiften/JID/JID.h b/Swiften/JID/JID.h
index 3ccf7de..ea4bd43 100644
--- a/Swiften/JID/JID.h
+++ b/Swiften/JID/JID.h
@@ -146,7 +146,7 @@ namespace Swift {
return compare(b, Swift::JID::WithResource) < 0;
}
- friend std::ostream& operator<<(std::ostream& os, const Swift::JID& j);
+ SWIFTEN_API friend std::ostream& operator<<(std::ostream& os, const Swift::JID& j);
friend bool operator==(const Swift::JID& a, const Swift::JID& b) {
return a.compare(b, Swift::JID::WithResource) == 0;
@@ -168,6 +168,6 @@ namespace Swift {
std::string resource_;
};
- std::ostream& operator<<(std::ostream& os, const Swift::JID& j);
+ SWIFTEN_API std::ostream& operator<<(std::ostream& os, const Swift::JID& j);
}