libzypp 17.28.8
MediaNetworkCommonHandler.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
11#ifndef ZYPP_MEDIA_MEDIANETWORKCOMMONHANDLER_H
12#define ZYPP_MEDIA_MEDIANETWORKCOMMONHANDLER_H
13
16
18namespace zypp
19{
21 namespace media
22 {
28 // to avoid duplicated code.
31 {
32 public:
34 const Pathname & attach_point_r,
35 const Pathname & urlpath_below_attachpoint_r,
36 const bool does_download_r )
37 : MediaHandler( url_r, attach_point_r, urlpath_below_attachpoint_r, does_download_r )
38 {}
39
40 public:
42 { return _settings; }
43
44 protected:
46 };
47
48 } // namespace media
50} // namespace zypp
52#endif // ZYPP_MEDIA_MEDIANETWORKCOMMONHANDLER_H
Url manipulation class.
Definition: Url.h:92
Abstract base class for 'physical' MediaHandler like MediaCD, etc.
Definition: MediaHandler.h:51
Common baseclass for MediaCurl and MediaNetwork.
MediaNetworkCommonHandler(const Url &url_r, const Pathname &attach_point_r, const Pathname &urlpath_below_attachpoint_r, const bool does_download_r)
Holds transfer setting.
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:2