summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-07-15 12:48:15 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-07-15 12:48:15 (GMT)
commit2ea01130480ec75bf4fd42ee50b0c3f51e5db02d (patch)
treefca4a8cf0d5bf3e7b0969e5e5b414aedb990304d /Swiften
parentfef3ab6d96ae57ee1e5106bd3cbc45bde26a13e7 (diff)
downloadswift-2ea01130480ec75bf4fd42ee50b0c3f51e5db02d.zip
swift-2ea01130480ec75bf4fd42ee50b0c3f51e5db02d.tar.bz2
Export file transfer classes.
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;
};