libzypp
13.10.6
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
MediaInfoDownloader.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
9
10
#ifndef ZYPP_REPO_MEDIAINFO_DOWNLOADER
11
#define ZYPP_REPO_MEDIAINFO_DOWNLOADER
12
13
#include "
zypp/Url.h
"
14
#include "
zypp/Pathname.h
"
15
#include "
zypp/Fetcher.h
"
16
#include "
zypp/OnMediaLocation.h
"
17
#include "
zypp/MediaSetAccess.h
"
18
#include "
zypp/ProgressData.h
"
19
20
namespace
zypp
21
{
22
namespace
repo
23
{
24
33
void
downloadMediaInfo
(
const
Pathname &dest_dir,
34
MediaSetAccess &media,
35
const
ProgressData::ReceiverFnc
& progress =
ProgressData::ReceiverFnc
() );
36
}
// ns repo
37
}
// ns zypp
38
39
#endif
Pathname.h
zypp::repo::downloadMediaInfo
void downloadMediaInfo(const Pathname &dest_dir, MediaSetAccess &media, const ProgressData::ReceiverFnc &progressrcv)
Downloads the media info (/media.1) to a local directory.
Definition:
MediaInfoDownloader.cc:25
ProgressData.h
Fetcher.h
zypp::ProgressData::ReceiverFnc
function< bool(const ProgressData &)> ReceiverFnc
Most simple version of progress reporting The percentage in most cases.
Definition:
ProgressData.h:144
Url.h
OnMediaLocation.h
MediaSetAccess.h
zypp
repo
MediaInfoDownloader.h
Generated by
1.8.5