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: 00044 virtual ByteCount archivesize() const PURE_VIRTUAL; 00046 virtual DiskUsage diskusage() const PURE_VIRTUAL; 00048 virtual Pathname location() const PURE_VIRTUAL; 00049 }; 00051 00053 } // namespace detail 00056 } // namespace zypp 00058 #endif // ZYPP_DETAIL_SRCPACKAGEIMPLIF_H