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.h | |
parent | 8ec81c322186e7ac0f053061ee61d5e371417efb (diff) | |
download | swift-contrib-32444b8b7cff886e79579891a82bf70aab6f207a.zip swift-contrib-32444b8b7cff886e79579891a82bf70aab6f207a.tar.bz2 |
Fixed OS X ProxyProvider compilation.
Diffstat (limited to 'Swiften/Network/NullProxyProvider.h')
-rw-r--r-- | Swiften/Network/NullProxyProvider.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Swiften/Network/NullProxyProvider.h b/Swiften/Network/NullProxyProvider.h new file mode 100644 index 0000000..544bea2 --- /dev/null +++ b/Swiften/Network/NullProxyProvider.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2011 Remko Tronçon + * Licensed under the simplified BSD license. + * See Documentation/Licenses/BSD-simplified.txt for more information. + */ + +#pragma once + +#include <Swiften/Network/ProxyProvider.h> + +namespace Swift { + class NullProxyProvider : public ProxyProvider { + public: + NullProxyProvider(); + + virtual HostAddressPort getHTTPConnectProxy() const; + virtual HostAddressPort getSOCKS5Proxy() const; + }; +} |