summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/FileTransfer')
-rw-r--r--Swiften/FileTransfer/FileTransferManager.h3
-rw-r--r--Swiften/FileTransfer/IBBReceiveSession.h3
-rw-r--r--Swiften/FileTransfer/IBBSendSession.h3
-rw-r--r--Swiften/FileTransfer/IncomingJingleFileTransfer.h3
-rw-r--r--Swiften/FileTransfer/LocalJingleTransportCandidateGenerator.h3
-rw-r--r--Swiften/FileTransfer/LocalJingleTransportCandidateGeneratorFactory.h4
-rw-r--r--Swiften/FileTransfer/OutgoingJingleFileTransfer.h3
-rw-r--r--Swiften/FileTransfer/ReadBytestream.h3
-rw-r--r--Swiften/FileTransfer/RemoteJingleTransportCandidateSelector.h3
-rw-r--r--Swiften/FileTransfer/RemoteJingleTransportCandidateSelectorFactory.h4
-rw-r--r--Swiften/FileTransfer/SOCKS5BytestreamClientSession.h3
-rw-r--r--Swiften/FileTransfer/SOCKS5BytestreamProxy.h3
-rw-r--r--Swiften/FileTransfer/SOCKS5BytestreamRegistry.h3
-rw-r--r--Swiften/FileTransfer/SOCKS5BytestreamServerSession.h3
-rw-r--r--Swiften/FileTransfer/WriteBytestream.h3
15 files changed, 32 insertions, 15 deletions
diff --git a/Swiften/FileTransfer/FileTransferManager.h b/Swiften/FileTransfer/FileTransferManager.h
index d59f029..30d9faf 100644
--- a/Swiften/FileTransfer/FileTransferManager.h
+++ b/Swiften/FileTransfer/FileTransferManager.h
@@ -9,8 +9,9 @@
#include <string>
#include <boost/filesystem.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/boost_bsignals.h>
#include <Swiften/JID/JID.h>
#include <Swiften/FileTransfer/OutgoingFileTransfer.h>
#include <Swiften/FileTransfer/IncomingFileTransfer.h>
@@ -18,9 +19,9 @@
namespace Swift {
class ReadBytestream;
class S5BProxyRequest;
- class FileTransferManager {
+ class SWIFTEN_API FileTransferManager {
public:
virtual ~FileTransferManager();
virtual void startListeningOnPort(int port) = 0;
diff --git a/Swiften/FileTransfer/IBBReceiveSession.h b/Swiften/FileTransfer/IBBReceiveSession.h
index d1c47bf..f075fe2 100644
--- a/Swiften/FileTransfer/IBBReceiveSession.h
+++ b/Swiften/FileTransfer/IBBReceiveSession.h
@@ -8,8 +8,9 @@
#include <boost/shared_ptr.hpp>
#include <boost/optional/optional_fwd.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/boost_bsignals.h>
#include <Swiften/FileTransfer/WriteBytestream.h>
#include <Swiften/JID/JID.h>
#include <Swiften/Elements/IBB.h>
@@ -17,9 +18,9 @@
namespace Swift {
class IQRouter;
- class IBBReceiveSession {
+ class SWIFTEN_API IBBReceiveSession {
public:
IBBReceiveSession(
const std::string& id,
const JID& from,
diff --git a/Swiften/FileTransfer/IBBSendSession.h b/Swiften/FileTransfer/IBBSendSession.h
index abd217b..a535382 100644
--- a/Swiften/FileTransfer/IBBSendSession.h
+++ b/Swiften/FileTransfer/IBBSendSession.h
@@ -8,8 +8,9 @@
#include <boost/shared_ptr.hpp>
#include <boost/optional.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/boost_bsignals.h>
#include <Swiften/FileTransfer/ReadBytestream.h>
#include <Swiften/JID/JID.h>
#include <Swiften/Elements/IBB.h>
@@ -18,9 +19,9 @@
namespace Swift {
class IQRouter;
- class IBBSendSession {
+ class SWIFTEN_API IBBSendSession {
public:
IBBSendSession(const std::string& id, const JID& from, const JID& to, boost::shared_ptr<ReadBytestream> bytestream, IQRouter* router);
~IBBSendSession();
diff --git a/Swiften/FileTransfer/IncomingJingleFileTransfer.h b/Swiften/FileTransfer/IncomingJingleFileTransfer.h
index 746d837..0731e04 100644
--- a/Swiften/FileTransfer/IncomingJingleFileTransfer.h
+++ b/Swiften/FileTransfer/IncomingJingleFileTransfer.h
@@ -8,8 +8,9 @@
#include <boost/shared_ptr.hpp>
#include <boost/cstdint.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/IDGenerator.h>
#include <Swiften/Network/Timer.h>
#include <Swiften/Jingle/JingleSession.h>
#include <Swiften/Jingle/JingleContentID.h>
@@ -34,9 +35,9 @@ namespace Swift {
class SOCKS5BytestreamRegistry;
class SOCKS5BytestreamProxy;
class IncrementalBytestreamHashCalculator;
- class IncomingJingleFileTransfer : public IncomingFileTransfer {
+ class SWIFTEN_API IncomingJingleFileTransfer : public IncomingFileTransfer {
public:
typedef boost::shared_ptr<IncomingJingleFileTransfer> ref;
enum State {
Initial,
diff --git a/Swiften/FileTransfer/LocalJingleTransportCandidateGenerator.h b/Swiften/FileTransfer/LocalJingleTransportCandidateGenerator.h
index 041afe3..14c128a 100644
--- a/Swiften/FileTransfer/LocalJingleTransportCandidateGenerator.h
+++ b/Swiften/FileTransfer/LocalJingleTransportCandidateGenerator.h
@@ -7,13 +7,14 @@
#pragma once
#include <Swiften/Base/boost_bsignals.h>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/JingleTransportPayload.h>
#include <Swiften/FileTransfer/JingleTransport.h>
namespace Swift {
- class LocalJingleTransportCandidateGenerator {
+ class SWIFTEN_API LocalJingleTransportCandidateGenerator {
public:
virtual ~LocalJingleTransportCandidateGenerator();
/**
* Should call onLocalTransportCandidatesGenerated if it has finished discovering local candidates.
diff --git a/Swiften/FileTransfer/LocalJingleTransportCandidateGeneratorFactory.h b/Swiften/FileTransfer/LocalJingleTransportCandidateGeneratorFactory.h
index c969fc7..422e006 100644
--- a/Swiften/FileTransfer/LocalJingleTransportCandidateGeneratorFactory.h
+++ b/Swiften/FileTransfer/LocalJingleTransportCandidateGeneratorFactory.h
@@ -5,12 +5,14 @@
*/
#pragma once
+#include <Swiften/Base/API.h>
+
namespace Swift {
class LocalJingleTransportCandidateGenerator;
- class LocalJingleTransportCandidateGeneratorFactory {
+ class SWIFTEN_API LocalJingleTransportCandidateGeneratorFactory {
public:
virtual ~LocalJingleTransportCandidateGeneratorFactory();
virtual LocalJingleTransportCandidateGenerator* createCandidateGenerator() = 0;
diff --git a/Swiften/FileTransfer/OutgoingJingleFileTransfer.h b/Swiften/FileTransfer/OutgoingJingleFileTransfer.h
index 0260016..e18b5c3 100644
--- a/Swiften/FileTransfer/OutgoingJingleFileTransfer.h
+++ b/Swiften/FileTransfer/OutgoingJingleFileTransfer.h
@@ -7,8 +7,9 @@
#pragma once
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/JingleContentPayload.h>
#include <Swiften/Elements/JingleS5BTransportPayload.h>
#include <Swiften/Elements/StreamInitiationFileInfo.h>
#include <Swiften/Elements/S5BProxyRequest.h>
@@ -33,9 +34,9 @@ class IDGenerator;
class IncrementalBytestreamHashCalculator;
class SOCKS5BytestreamRegistry;
class SOCKS5BytestreamProxy;
-class OutgoingJingleFileTransfer : public OutgoingFileTransfer {
+class SWIFTEN_API OutgoingJingleFileTransfer : public OutgoingFileTransfer {
public:
OutgoingJingleFileTransfer(JingleSession::ref,
RemoteJingleTransportCandidateSelectorFactory*,
LocalJingleTransportCandidateGeneratorFactory*,
diff --git a/Swiften/FileTransfer/ReadBytestream.h b/Swiften/FileTransfer/ReadBytestream.h
index c94e4d3..b0663ab 100644
--- a/Swiften/FileTransfer/ReadBytestream.h
+++ b/Swiften/FileTransfer/ReadBytestream.h
@@ -8,12 +8,13 @@
#include <boost/shared_ptr.hpp>
#include <vector>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/boost_bsignals.h>
namespace Swift {
- class ReadBytestream {
+ class SWIFTEN_API ReadBytestream {
public:
virtual ~ReadBytestream();
/**
diff --git a/Swiften/FileTransfer/RemoteJingleTransportCandidateSelector.h b/Swiften/FileTransfer/RemoteJingleTransportCandidateSelector.h
index f8df8f9..487747c 100644
--- a/Swiften/FileTransfer/RemoteJingleTransportCandidateSelector.h
+++ b/Swiften/FileTransfer/RemoteJingleTransportCandidateSelector.h
@@ -7,15 +7,16 @@
#pragma once
#include <Swiften/Base/boost_bsignals.h>
+#include <Swiften/Base/API.h>
#include <Swiften/JID/JID.h>
#include <Swiften/Elements/JingleTransportPayload.h>
#include <Swiften/FileTransfer/JingleTransport.h>
#include <Swiften/FileTransfer/SOCKS5BytestreamClientSession.h>
namespace Swift {
- class RemoteJingleTransportCandidateSelector {
+ class SWIFTEN_API RemoteJingleTransportCandidateSelector {
public:
virtual ~RemoteJingleTransportCandidateSelector();
virtual void addRemoteTransportCandidates(JingleTransportPayload::ref) = 0;
diff --git a/Swiften/FileTransfer/RemoteJingleTransportCandidateSelectorFactory.h b/Swiften/FileTransfer/RemoteJingleTransportCandidateSelectorFactory.h
index caa3097..4980b0c 100644
--- a/Swiften/FileTransfer/RemoteJingleTransportCandidateSelectorFactory.h
+++ b/Swiften/FileTransfer/RemoteJingleTransportCandidateSelectorFactory.h
@@ -5,12 +5,14 @@
*/
#pragma once
+#include <Swiften/Base/API.h>
+
namespace Swift {
class RemoteJingleTransportCandidateSelector;
- class RemoteJingleTransportCandidateSelectorFactory {
+ class SWIFTEN_API RemoteJingleTransportCandidateSelectorFactory {
public:
virtual ~RemoteJingleTransportCandidateSelectorFactory();
virtual RemoteJingleTransportCandidateSelector* createCandidateSelector() = 0;
diff --git a/Swiften/FileTransfer/SOCKS5BytestreamClientSession.h b/Swiften/FileTransfer/SOCKS5BytestreamClientSession.h
index e522ff8..0b9790d 100644
--- a/Swiften/FileTransfer/SOCKS5BytestreamClientSession.h
+++ b/Swiften/FileTransfer/SOCKS5BytestreamClientSession.h
@@ -8,8 +8,9 @@
#include <boost/shared_ptr.hpp>
#include <boost/optional.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/ByteArray.h>
#include <Swiften/FileTransfer/FileTransferError.h>
#include <Swiften/FileTransfer/WriteBytestream.h>
#include <Swiften/FileTransfer/ReadBytestream.h>
@@ -27,9 +28,9 @@ class TimerFactory;
/**
* A session which has been connected to a SOCKS5 server (requester).
*
*/
-class SOCKS5BytestreamClientSession {
+class SWIFTEN_API SOCKS5BytestreamClientSession {
public:
enum State {
Initial,
Hello,
diff --git a/Swiften/FileTransfer/SOCKS5BytestreamProxy.h b/Swiften/FileTransfer/SOCKS5BytestreamProxy.h
index 8f80cea..59ff50c 100644
--- a/Swiften/FileTransfer/SOCKS5BytestreamProxy.h
+++ b/Swiften/FileTransfer/SOCKS5BytestreamProxy.h
@@ -8,8 +8,9 @@
#include <string>
#include <vector>
+#include <Swiften/Base/API.h>
#include <Swiften/Elements/S5BProxyRequest.h>
#include <Swiften/FileTransfer/SOCKS5BytestreamClientSession.h>
#include <Swiften/JID/JID.h>
#include <Swiften/Network/ConnectionFactory.h>
@@ -20,9 +21,9 @@ namespace Swift {
/**
* - manages list of working S5B proxies
* - creates initial connections (for the candidates you provide)
*/
-class SOCKS5BytestreamProxy {
+class SWIFTEN_API SOCKS5BytestreamProxy {
public:
SOCKS5BytestreamProxy(ConnectionFactory*, TimerFactory*);
void addS5BProxy(S5BProxyRequest::ref);
diff --git a/Swiften/FileTransfer/SOCKS5BytestreamRegistry.h b/Swiften/FileTransfer/SOCKS5BytestreamRegistry.h
index 779aabb..6d89e27 100644
--- a/Swiften/FileTransfer/SOCKS5BytestreamRegistry.h
+++ b/Swiften/FileTransfer/SOCKS5BytestreamRegistry.h
@@ -12,8 +12,9 @@
#include <string>
#include <vector>
#include <set>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/IDGenerator.h>
#include <Swiften/JID/JID.h>
#include <Swiften/Elements/S5BProxyRequest.h>
#include <Swiften/FileTransfer/ReadBytestream.h>
@@ -22,9 +23,9 @@
#include <Swiften/FileTransfer/SOCKS5BytestreamClientSession.h>
#include <Swiften/Network/HostAddressPort.h>
namespace Swift {
- class SOCKS5BytestreamRegistry {
+ class SWIFTEN_API SOCKS5BytestreamRegistry {
public:
SOCKS5BytestreamRegistry();
boost::shared_ptr<ReadBytestream> getReadBytestream(const std::string& destination) const;
diff --git a/Swiften/FileTransfer/SOCKS5BytestreamServerSession.h b/Swiften/FileTransfer/SOCKS5BytestreamServerSession.h
index ed77df8..4cbda7c 100644
--- a/Swiften/FileTransfer/SOCKS5BytestreamServerSession.h
+++ b/Swiften/FileTransfer/SOCKS5BytestreamServerSession.h
@@ -7,8 +7,9 @@
#pragma once
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/boost_bsignals.h>
#include <Swiften/Network/Connection.h>
#include <Swiften/FileTransfer/ReadBytestream.h>
#include <Swiften/FileTransfer/WriteBytestream.h>
@@ -16,9 +17,9 @@
namespace Swift {
class SOCKS5BytestreamRegistry;
- class SOCKS5BytestreamServerSession {
+ class SWIFTEN_API SOCKS5BytestreamServerSession {
public:
typedef boost::shared_ptr<SOCKS5BytestreamServerSession> ref;
public:
diff --git a/Swiften/FileTransfer/WriteBytestream.h b/Swiften/FileTransfer/WriteBytestream.h
index fb6f2f1..6085e78 100644
--- a/Swiften/FileTransfer/WriteBytestream.h
+++ b/Swiften/FileTransfer/WriteBytestream.h
@@ -8,12 +8,13 @@
#include <boost/shared_ptr.hpp>
#include <vector>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/boost_bsignals.h>
namespace Swift {
- class WriteBytestream {
+ class SWIFTEN_API WriteBytestream {
public:
typedef boost::shared_ptr<WriteBytestream> ref;
virtual ~WriteBytestream();