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 
00042         virtual Pathname location() const;
00044         virtual ByteCount archivesize() const;
00046         virtual DiskUsage diskusage() const;
00048         virtual unsigned mediaId() const;
00049 
00050       private:
00051         Source_Ref _source;
00052         ByteCount _archivesize;
00053         unsigned int _media_number;
00054         Pathname _location;
00055         DiskUsage _diskusage;
00056       public:
00057         Source_Ref source() const;
00058 
00059 /*
00060 =Grp: System/Base
00061 =Lic: GPL
00062 =Src: 3ddiag 0.724 3 src
00063 =Tim: 1111489970
00064 =Loc: 1 3ddiag-0.724-3.i586.rpm
00065 
00066 */
00067 
00068       };
00071     } // namespace susetags
00073   } // namespace source
00076 } // namespace zypp
00078 #endif // ZYPP_SOURCE_SUSETAGS_SRCPACKAGEIMPL_H

Generated on Thu May 4 16:03:26 2006 for zypp by  doxygen 1.4.6