diff options
Diffstat (limited to 'Swiften/Network/SOCKS5ProxiedConnectionFactory.h')
| -rw-r--r-- | Swiften/Network/SOCKS5ProxiedConnectionFactory.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Swiften/Network/SOCKS5ProxiedConnectionFactory.h b/Swiften/Network/SOCKS5ProxiedConnectionFactory.h index 4c5c585..0915a9b 100644 --- a/Swiften/Network/SOCKS5ProxiedConnectionFactory.h +++ b/Swiften/Network/SOCKS5ProxiedConnectionFactory.h | |||
| @@ -4,8 +4,15 @@ | |||
| 4 | * See Documentation/Licenses/BSD-simplified.txt for more information. | 4 | * See Documentation/Licenses/BSD-simplified.txt for more information. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | /* | ||
| 8 | * Copyright (c) 2015 Isode Limited. | ||
| 9 | * All rights reserved. | ||
| 10 | * See the COPYING file for more information. | ||
| 11 | */ | ||
| 12 | |||
| 7 | #pragma once | 13 | #pragma once |
| 8 | 14 | ||
| 15 | #include <Swiften/Base/API.h> | ||
| 9 | #include <Swiften/Network/ConnectionFactory.h> | 16 | #include <Swiften/Network/ConnectionFactory.h> |
| 10 | #include <Swiften/Network/HostAddressPort.h> | 17 | #include <Swiften/Network/HostAddressPort.h> |
| 11 | #include <Swiften/Network/HostNameOrAddress.h> | 18 | #include <Swiften/Network/HostNameOrAddress.h> |
| @@ -14,7 +21,7 @@ namespace Swift { | |||
| 14 | class DomainNameResolver; | 21 | class DomainNameResolver; |
| 15 | class TimerFactory; | 22 | class TimerFactory; |
| 16 | 23 | ||
| 17 | class SOCKS5ProxiedConnectionFactory : public ConnectionFactory { | 24 | class SWIFTEN_API SOCKS5ProxiedConnectionFactory : public ConnectionFactory { |
| 18 | public: | 25 | public: |
| 19 | SOCKS5ProxiedConnectionFactory(DomainNameResolver* resolver, ConnectionFactory* connectionFactory, TimerFactory* timerFactory, const std::string& proxyHost, int proxyPort); | 26 | SOCKS5ProxiedConnectionFactory(DomainNameResolver* resolver, ConnectionFactory* connectionFactory, TimerFactory* timerFactory, const std::string& proxyHost, int proxyPort); |
| 20 | 27 | ||
Swift