1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/media/ProxyInfo.cc
15 #include "zypp/base/Logger.h"
17 #include "zypp/media/ProxyInfo.h"
18 #include "zypp/media/proxyinfo/ProxyInfoImpl.h"
21 using namespace zypp::base;
26 shared_ptr<ProxyInfo::Impl> ProxyInfo::Impl::_nullimpl;
28 ProxyInfo::ProxyInfo()
29 : _pimpl( Impl::_nullimpl )
31 ProxyInfo::ProxyInfo(ProxyInfo::ImplPtr pimpl_r)
35 bool ProxyInfo::enabled() const
36 { return _pimpl->enabled(); }
38 std::string ProxyInfo::proxy(const Url & url_r) const
39 { return _pimpl->proxy(url_r); }
41 ProxyInfo::NoProxyList ProxyInfo::noProxy() const
42 { return _pimpl->noProxy(); }
44 ProxyInfo::NoProxyIterator ProxyInfo::noProxyBegin() const
45 { return _pimpl->noProxyBegin(); }
47 ProxyInfo::NoProxyIterator ProxyInfo::noProxyEnd() const
48 { return _pimpl->noProxyEnd(); }
50 bool ProxyInfo::useProxyFor( const Url & url_r ) const
51 { return _pimpl->useProxyFor( url_r ); }