SuseTagsSrcPackageImpl.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_SOURCE_SUSETAGSSRCPackageIMPL_H
00013 #define ZYPP_SOURCE_SUSETAGSSRCPackageIMPL_H
00014 
00015 #include "zypp/detail/SrcPackageImplIf.h"
00016 #include "zypp/Source.h"
00017 #include "zypp/DiskUsage.h"
00018 
00020 namespace zypp
00021 { 
00022 
00023   namespace source
00024   { 
00025     namespace susetags
00026     { 
00027 
00029       //
00030       //        CLASS NAME : SrcPackageImpl
00031       //
00034       struct SuseTagsSrcPackageImpl : public zypp::detail::SrcPackageImplIf
00035       {
00036         SuseTagsSrcPackageImpl(Source_Ref source_r);
00037         virtual ~SuseTagsSrcPackageImpl();
00038 
00040         virtual Pathname location() const;
00042         virtual ByteCount archivesize() const;
00044         virtual DiskUsage diskusage() const;
00046         virtual unsigned sourceMediaNr() const;
00047 
00048       private:
00049         Source_Ref _source;
00050         ByteCount _archivesize;
00051         unsigned _media_number;
00052         Pathname _location;
00053         DiskUsage _diskusage;
00054       public:
00055         Source_Ref source() const;
00056       };
00059     } // namespace susetags
00061   } // namespace source
00064 } // namespace zypp
00066 #endif // ZYPP_SOURCE_SUSETAGS_SRCPACKAGEIMPL_H

Generated on Thu Jul 6 00:07:24 2006 for zypp by  doxygen 1.4.6