libzypp
10.5.0
|
00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #include "zypp/SrcPackage.h" 00013 00015 namespace zypp 00016 { 00017 00018 IMPL_PTR_TYPE(SrcPackage); 00019 00021 // 00022 // METHOD NAME : SrcPackage::SrcPackage 00023 // METHOD TYPE : Ctor 00024 // 00025 SrcPackage::SrcPackage( const sat::Solvable & solvable_r ) 00026 : ResObject( solvable_r ) 00027 {} 00028 00030 // 00031 // METHOD NAME : SrcPackage::~SrcPackage 00032 // METHOD TYPE : Dtor 00033 // 00034 SrcPackage::~SrcPackage() 00035 {} 00036 00038 // 00039 // SrcPackage interface forwarded to implementation 00040 // 00042 00043 std::string SrcPackage::sourcePkgType() const 00044 { return lookupStrAttribute( sat::SolvAttr::arch ); } 00045 00046 OnMediaLocation SrcPackage::location() const 00047 { return lookupLocation(); } 00048 00050 } // namespace zypp