libzypp 17.32.5
proxyinfolibproxy.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
12#ifndef ZYPP_MEDIA_PROXYINFO_PROXYINFOLIBPROXY_H
13#define ZYPP_MEDIA_PROXYINFO_PROXYINFOLIBPROXY_H
14
15#include <string>
16#include <map>
17
18#include <proxy.h>
19
20#include <zypp-core/base/DefaultIntegral>
21#include <zypp-curl/ProxyInfo>
23
24namespace zypp {
25 namespace media {
26
27
29 {
30 public:
33 ~ProxyInfoLibproxy() override;
35 bool enabled() const override
36 { return _enabled; }
38 std::string proxy(const Url & url_r) const override;
41 { return _no_proxy; }
46 private:
50 };
51
53
54 } // namespace media
55} // namespace zypp
56
57#endif // ZYPP_MEDIA_PROXYINFO_PROXYINFOLIBPROXY_H
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Definition AutoDispose.h:95
Url manipulation class.
Definition Url.h:92
DefaultIntegral< bool, false > _enabled
ProxyInfo::NoProxyIterator noProxyBegin() const override
ProxyInfo::NoProxyList noProxy() const override
std::string proxy(const Url &url_r) const override
ProxyInfo::NoProxyIterator noProxyEnd() const override
ProxyInfo::NoProxyList _no_proxy
std::list< std::string > NoProxyList
Definition proxyinfo.h:34
std::list< std::string >::const_iterator NoProxyIterator
Definition proxyinfo.h:35
Easy-to use interface to the ZYPP dependency resolver.