00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #ifndef ZYPP_DETAIL_SRCPACKAGEIMPLIF_H 00013 #define ZYPP_DETAIL_SRCPACKAGEIMPLIF_H 00014 00015 #include <set> 00016 00017 #include "zypp/detail/ResObjectImplIf.h" 00018 #include "zypp/Pathname.h" 00019 #include "zypp/DiskUsage.h" 00020 00022 namespace zypp 00023 { 00024 00025 class SrcPackage; 00026 00028 namespace detail 00029 { 00030 00032 // 00033 // CLASS NAME : SrcPackageImplIf 00034 // 00037 class SrcPackageImplIf : public ResObjectImplIf 00038 { 00039 public: 00040 typedef SrcPackage ResType; 00041 00042 public: 00046 virtual unsigned mediaNr() const; 00047 00051 virtual ByteCount downloadSize() const; 00052 00053 public: 00055 virtual OnMediaLocation location() const PURE_VIRTUAL; 00056 }; 00058 00060 } // namespace detail 00063 } // namespace zypp 00065 #endif // ZYPP_DETAIL_SRCPACKAGEIMPLIF_H
1.5.3