libzypp  10.5.0
Downloader.cc
Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00009 
00010 #include <fstream>
00011 #include "zypp/base/String.h"
00012 #include "zypp/base/Logger.h"
00013 #include "zypp/base/Function.h"
00014 
00015 #include "zypp/Date.h"
00016 
00017 #include "Downloader.h"
00018 #include "zypp/repo/MediaInfoDownloader.h"
00019 #include "zypp/base/UserRequestException.h"
00020 
00021 using namespace std;
00022 
00023 namespace zypp
00024 {
00025 namespace repo
00026 {
00027 
00028 Downloader::Downloader()
00029 {
00030 }
00031 Downloader::Downloader(const RepoInfo & repoinfo) : _repoinfo(repoinfo)
00032 {  
00033 }
00034 Downloader::~Downloader()
00035 {
00036 }
00037 
00038 RepoStatus Downloader::status( MediaSetAccess &media )
00039 {
00040   WAR << "Non implemented" << endl;
00041   return RepoStatus();
00042 }
00043 
00044 void Downloader::download( MediaSetAccess &media,
00045                            const Pathname &dest_dir,
00046                            const ProgressData::ReceiverFnc & progress )
00047 {
00048   WAR << "Non implemented" << endl;
00049 }
00050 
00051 }// ns repo
00052 } // ns zypp
00053 
00054 
00055