~thopiekar/zypper/libzypp-manual-import

« back to all changes in this revision

Viewing changes to zypp/repo/Downloader.cc

  • Committer: Thomas-Karl Pietrowski
  • Date: 2014-01-29 22:44:28 UTC
  • Revision ID: thopiekar@googlemail.com-20140129224428-gpcqnsdakby362n8
firstĀ import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*---------------------------------------------------------------------\
 
2
|                          ____ _   __ __ ___                          |
 
3
|                         |__  / \ / / . \ . \                         |
 
4
|                           / / \ V /|  _/  _/                         |
 
5
|                          / /__ | | | | | |                           |
 
6
|                         /_____||_| |_| |_|                           |
 
7
|                                                                      |
 
8
\---------------------------------------------------------------------*/
 
9
 
 
10
#include <fstream>
 
11
#include "zypp/base/String.h"
 
12
#include "zypp/base/Logger.h"
 
13
#include "zypp/base/Function.h"
 
14
 
 
15
#include "zypp/Date.h"
 
16
 
 
17
#include "Downloader.h"
 
18
#include "zypp/repo/MediaInfoDownloader.h"
 
19
#include "zypp/base/UserRequestException.h"
 
20
 
 
21
using namespace std;
 
22
 
 
23
namespace zypp
 
24
{
 
25
namespace repo
 
26
{
 
27
 
 
28
Downloader::Downloader()
 
29
{
 
30
}
 
31
Downloader::Downloader(const RepoInfo & repoinfo) : _repoinfo(repoinfo)
 
32
{  
 
33
}
 
34
Downloader::~Downloader()
 
35
{
 
36
}
 
37
 
 
38
RepoStatus Downloader::status( MediaSetAccess &media )
 
39
{
 
40
  WAR << "Non implemented" << endl;
 
41
  return RepoStatus();
 
42
}
 
43
 
 
44
void Downloader::download( MediaSetAccess &media,
 
45
                           const Pathname &dest_dir,
 
46
                           const ProgressData::ReceiverFnc & progress )
 
47
{
 
48
  WAR << "Non implemented" << endl;
 
49
}
 
50
 
 
51
}// ns repo
 
52
} // ns zypp
 
53
 
 
54
 
 
55