summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/IDN')
-rw-r--r--Swiften/IDN/IDNA.h4
-rw-r--r--Swiften/IDN/StringPrep.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/Swiften/IDN/IDNA.h b/Swiften/IDN/IDNA.h
index 19af1e6..6ac51bf 100644
--- a/Swiften/IDN/IDNA.h
+++ b/Swiften/IDN/IDNA.h
@@ -8,8 +8,10 @@
#include <string>
+#include <Swiften/Base/API.h>
+
namespace Swift {
- class IDNA {
+ class SWIFTEN_API IDNA {
public:
static std::string getEncoded(const std::string& s);
};
diff --git a/Swiften/IDN/StringPrep.h b/Swiften/IDN/StringPrep.h
index dc8fadc..688600c 100644
--- a/Swiften/IDN/StringPrep.h
+++ b/Swiften/IDN/StringPrep.h
@@ -7,10 +7,11 @@
#pragma once
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/SafeByteArray.h>
namespace Swift {
- class StringPrep {
+ class SWIFTEN_API StringPrep {
public:
enum Profile {
NamePrep,