diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-10-16 08:16:56 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-10-16 08:16:56 (GMT) |
commit | 76978866497a7dd9be96edef5fa06f470a6b324f (patch) | |
tree | f5fb6b922b0e3ba974f6d67640f0b4d195ed96cd /Swiften/Network/BoostNetworkFactories.h | |
parent | 9e6b127cf35319b0e89d4d6f4dff55a80ce03c02 (diff) | |
download | swift-contrib-76978866497a7dd9be96edef5fa06f470a6b324f.zip swift-contrib-76978866497a7dd9be96edef5fa06f470a6b324f.tar.bz2 |
Hoist ProxyProvider creation out of Client.
Diffstat (limited to 'Swiften/Network/BoostNetworkFactories.h')
-rw-r--r-- | Swiften/Network/BoostNetworkFactories.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Swiften/Network/BoostNetworkFactories.h b/Swiften/Network/BoostNetworkFactories.h index 8f2b17a..3d268d1 100644 --- a/Swiften/Network/BoostNetworkFactories.h +++ b/Swiften/Network/BoostNetworkFactories.h @@ -49,6 +49,10 @@ namespace Swift { virtual TLSContextFactory* getTLSContextFactory() const; + virtual ProxyProvider* getProxyProvider() const { + return proxyProvider; + } + private: BoostIOServiceThread ioServiceThread; TimerFactory* timerFactory; @@ -58,5 +62,6 @@ namespace Swift { NATTraverser* natTraverser; XMLParserFactory* xmlParserFactory; PlatformTLSFactories* tlsFactories; + ProxyProvider* proxyProvider; }; } |