summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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;
};
}