diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-06-13 16:06:28 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-06-13 16:12:39 (GMT) |
commit | a03cedb3942e4c7c90e62fe9a73c6d15e38fbb68 (patch) | |
tree | a6fc45bd8177cefaddf416881d3fb28b161ea04f /Swiften/Network/UnixProxyProvider.h | |
parent | 645876deedb72aa8ebd2a56773f7dd5bb0133b71 (diff) | |
download | swift-contrib-a03cedb3942e4c7c90e62fe9a73c6d15e38fbb68.zip swift-contrib-a03cedb3942e4c7c90e62fe9a73c6d15e38fbb68.tar.bz2 |
Privatize GConfProxyProvider in UnixProxyProvider.
Diffstat (limited to 'Swiften/Network/UnixProxyProvider.h')
-rw-r--r-- | Swiften/Network/UnixProxyProvider.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Swiften/Network/UnixProxyProvider.h b/Swiften/Network/UnixProxyProvider.h index 8657a95..37a4d05 100644 --- a/Swiften/Network/UnixProxyProvider.h +++ b/Swiften/Network/UnixProxyProvider.h @@ -5,21 +5,22 @@ */ #pragma once -#if defined(HAVE_GCONF) -# include "Swiften/Network/GConfProxyProvider.h" -#endif + #include <Swiften/Network/EnvironmentProxyProvider.h> namespace Swift { + class GConfProxyProvider; + class UnixProxyProvider : public ProxyProvider { public: UnixProxyProvider(); + ~UnixProxyProvider(); + virtual HostAddressPort getHTTPConnectProxy() const; virtual HostAddressPort getSOCKS5Proxy() const; + private: -#if defined(HAVE_GCONF) - GConfProxyProvider gconfProxyProvider; -#endif + GConfProxyProvider* gconfProxyProvider; EnvironmentProxyProvider environmentProxyProvider; }; } |