diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-04-19 09:20:46 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-04-19 12:33:41 (GMT) |
commit | 32444b8b7cff886e79579891a82bf70aab6f207a (patch) | |
tree | f9d6f6f08ae766183ba29a06115142019d6213a0 /Swiften/Network/NullProxyProvider.cpp | |
parent | 8ec81c322186e7ac0f053061ee61d5e371417efb (diff) | |
download | swift-contrib-32444b8b7cff886e79579891a82bf70aab6f207a.zip swift-contrib-32444b8b7cff886e79579891a82bf70aab6f207a.tar.bz2 |
Fixed OS X ProxyProvider compilation.
Diffstat (limited to 'Swiften/Network/NullProxyProvider.cpp')
-rw-r--r-- | Swiften/Network/NullProxyProvider.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Swiften/Network/NullProxyProvider.cpp b/Swiften/Network/NullProxyProvider.cpp new file mode 100644 index 0000000..3b9d94d --- /dev/null +++ b/Swiften/Network/NullProxyProvider.cpp @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2011 Remko Tronçon + * Licensed under the simplified BSD license. + * See Documentation/Licenses/BSD-simplified.txt for more information. + */ + +#include <Swiften/Network/NullProxyProvider.h> + +using namespace Swift; + +NullProxyProvider::NullProxyProvider() { +} + +HostAddressPort NullProxyProvider::getHTTPConnectProxy() const { + return HostAddressPort(); +} + +HostAddressPort NullProxyProvider::getSOCKS5Proxy() const { + return HostAddressPort(); +} |