summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Network/NATTraversalForwardPortRequest.h3
-rw-r--r--Swiften/Network/NetworkEnvironment.h3
-rw-r--r--Swiften/Network/PlatformNATTraversalWorker.h3
-rw-r--r--Swiften/Network/WindowsNetworkEnvironment.h5
4 files changed, 9 insertions, 5 deletions
diff --git a/Swiften/Network/NATTraversalForwardPortRequest.h b/Swiften/Network/NATTraversalForwardPortRequest.h
index 1bbc9ca..35b23c4 100644
--- a/Swiften/Network/NATTraversalForwardPortRequest.h
+++ b/Swiften/Network/NATTraversalForwardPortRequest.h
@@ -8,10 +8,11 @@
#include <Swiften/Base/boost_bsignals.h>
+#include <Swiften/Base/API.h>
#include <Swiften/Network/NATPortMapping.h>
namespace Swift {
- class NATTraversalForwardPortRequest {
+ class SWIFTEN_API NATTraversalForwardPortRequest {
public:
virtual ~NATTraversalForwardPortRequest();
diff --git a/Swiften/Network/NetworkEnvironment.h b/Swiften/Network/NetworkEnvironment.h
index fbff0cb..36a2bde 100644
--- a/Swiften/Network/NetworkEnvironment.h
+++ b/Swiften/Network/NetworkEnvironment.h
@@ -8,11 +8,12 @@
#include <vector>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/boost_bsignals.h>
#include <Swiften/Network/NetworkInterface.h>
namespace Swift {
- class NetworkEnvironment {
+ class SWIFTEN_API NetworkEnvironment {
public:
virtual ~NetworkEnvironment();
diff --git a/Swiften/Network/PlatformNATTraversalWorker.h b/Swiften/Network/PlatformNATTraversalWorker.h
index 94d3339..8060e31 100644
--- a/Swiften/Network/PlatformNATTraversalWorker.h
+++ b/Swiften/Network/PlatformNATTraversalWorker.h
@@ -13,6 +13,7 @@
#include <boost/thread/condition_variable.hpp>
#include <boost/logic/tribool.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Network/NATTraverser.h>
#include <Swiften/Network/HostAddressPort.h>
#include <Swiften/Network/NullNATTraversalInterface.h>
@@ -28,7 +29,7 @@ namespace Swift {
class NATTraversalInterface;
class NATPortMapping;
- class PlatformNATTraversalWorker : public NATTraverser {
+ class SWIFTEN_API PlatformNATTraversalWorker : public NATTraverser {
friend class PlatformNATTraversalRequest;
public:
diff --git a/Swiften/Network/WindowsNetworkEnvironment.h b/Swiften/Network/WindowsNetworkEnvironment.h
index f43b951..18996ed 100644
--- a/Swiften/Network/WindowsNetworkEnvironment.h
+++ b/Swiften/Network/WindowsNetworkEnvironment.h
@@ -7,12 +7,13 @@
#pragma once
#include <vector>
-#include <Swiften/Base/boost_bsignals.h>
+#include <Swiften/Base/API.h>
+#include <Swiften/Base/boost_bsignals.h>
#include <Swiften/Network/NetworkEnvironment.h>
namespace Swift {
- class WindowsNetworkEnvironment : public NetworkEnvironment {
+ class SWIFTEN_API WindowsNetworkEnvironment : public NetworkEnvironment {
public:
std::vector<NetworkInterface> getNetworkInterfaces() const;
};