summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-06-13 16:06:28 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-06-13 16:12:39 (GMT)
commita03cedb3942e4c7c90e62fe9a73c6d15e38fbb68 (patch)
treea6fc45bd8177cefaddf416881d3fb28b161ea04f /Swiften/Network/UnixProxyProvider.h
parent645876deedb72aa8ebd2a56773f7dd5bb0133b71 (diff)
downloadswift-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.h13
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;
};
}