diff options
Diffstat (limited to 'Swiften/Component')
| -rw-r--r-- | Swiften/Component/ComponentConnector.h | 3 | ||||
| -rw-r--r-- | Swiften/Component/ComponentHandshakeGenerator.h | 4 | ||||
| -rw-r--r-- | Swiften/Component/ComponentSession.h | 3 |
3 files changed, 7 insertions, 3 deletions
diff --git a/Swiften/Component/ComponentConnector.h b/Swiften/Component/ComponentConnector.h index b47f5da..549457b 100644 --- a/Swiften/Component/ComponentConnector.h +++ b/Swiften/Component/ComponentConnector.h @@ -9,8 +9,9 @@ #include <deque> #include <Swiften/Base/boost_bsignals.h> #include <boost/shared_ptr.hpp> +#include <Swiften/Base/API.h> #include <Swiften/Network/Connection.h> #include <Swiften/Network/Timer.h> #include <Swiften/Network/HostAddressPort.h> #include <string> @@ -21,9 +22,9 @@ namespace Swift { class DomainNameResolver; class ConnectionFactory; class TimerFactory; - class ComponentConnector : public boost::bsignals::trackable, public boost::enable_shared_from_this<ComponentConnector> { + class SWIFTEN_API ComponentConnector : public boost::bsignals::trackable, public boost::enable_shared_from_this<ComponentConnector> { public: typedef boost::shared_ptr<ComponentConnector> ref; static ComponentConnector::ref create(const std::string& hostname, int port, DomainNameResolver* resolver, ConnectionFactory* connectionFactory, TimerFactory* timerFactory) { diff --git a/Swiften/Component/ComponentHandshakeGenerator.h b/Swiften/Component/ComponentHandshakeGenerator.h index 4181d3c..c897fdc 100644 --- a/Swiften/Component/ComponentHandshakeGenerator.h +++ b/Swiften/Component/ComponentHandshakeGenerator.h @@ -7,10 +7,12 @@ #pragma once #include <string> +#include <Swiften/Base/API.h> + namespace Swift { - class ComponentHandshakeGenerator { + class SWIFTEN_API ComponentHandshakeGenerator { public: static std::string getHandshake(const std::string& streamID, const std::string& secret); }; diff --git a/Swiften/Component/ComponentSession.h b/Swiften/Component/ComponentSession.h index 647bad7..073c3f4 100644 --- a/Swiften/Component/ComponentSession.h +++ b/Swiften/Component/ComponentSession.h @@ -8,8 +8,9 @@ #include <boost/shared_ptr.hpp> #include <boost/enable_shared_from_this.hpp> +#include <Swiften/Base/API.h> #include <Swiften/JID/JID.h> #include <Swiften/Base/boost_bsignals.h> #include <Swiften/Base/Error.h> #include <string> @@ -19,9 +20,9 @@ namespace Swift { class ComponentAuthenticator; - class ComponentSession : public boost::enable_shared_from_this<ComponentSession> { + class SWIFTEN_API ComponentSession : public boost::enable_shared_from_this<ComponentSession> { public: enum State { Initial, WaitingForStreamStart, |
Swift