00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #include "zypp/detail/SrcPackageImplIf.h" 00013 #include <iostream> 00014 00015 using namespace std; 00016 00018 namespace zypp 00019 { 00020 00021 namespace detail 00022 { 00023 00024 ByteCount SrcPackageImplIf::downloadSize() const 00025 { return location().downloadSize(); } 00026 00027 unsigned SrcPackageImplIf::mediaNr() const 00028 { return location().medianr(); } 00029 00031 // Default implementation of SrcPackageImplIf attributes, 00032 // as far as resonable. 00034 00035 OnMediaLocation SrcPackageImplIf::location() const 00036 { return OnMediaLocation(); } 00037 00039 } // namespace detail 00042 } // namespace zypp
1.5.3