Downloader.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00009 
00010 #ifndef ZYPP_REPO_DOWNLOADER
00011 #define ZYPP_REPO_DOWNLOADER
00012 
00013 #include "zypp/Url.h"
00014 #include "zypp/Pathname.h"
00015 #include "zypp/ProgressData.h"
00016 #include "zypp/RepoStatus.h"
00017 #include "zypp/MediaSetAccess.h"
00018 #include "zypp/Fetcher.h"
00019 
00020 namespace zypp
00021 {
00022   namespace repo
00023   {
00031     class Downloader : public Fetcher
00032     {
00033       public:
00037       Downloader();
00038       virtual ~Downloader();
00039       
00047       virtual void download( MediaSetAccess &media,
00048                               const Pathname &dest_dir,
00049                               const ProgressData::ReceiverFnc & progress = ProgressData::ReceiverFnc() );
00053       virtual RepoStatus status( MediaSetAccess &media );
00054       
00055     };
00056 
00057   } // ns repo
00058 } // ns zypp
00059 
00060 #endif

Generated on Tue Sep 25 19:23:05 2007 for libzypp by  doxygen 1.5.3