00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #include "zypp/ResObject.h" 00013 #include "zypp/source/SourceImpl.h" 00014 #include "zypp/detail/ResObjectImplIf.h" 00015 00016 using namespace std; 00017 00019 namespace zypp 00020 { 00021 00023 // 00024 // METHOD NAME : ResObject::ResObject 00025 // METHOD TYPE : Ctor 00026 // 00027 ResObject::ResObject( const Kind & kind_r, 00028 const NVRAD & nvrad_r ) 00029 : Resolvable( kind_r, nvrad_r ) 00030 {} 00031 00033 // 00034 // METHOD NAME : ResObject::~ResObject 00035 // METHOD TYPE : Dtor 00036 // 00037 ResObject::~ResObject() 00038 {} 00039 00041 // 00042 // ResObject interface forwarded to implementation 00043 // 00045 00046 Text ResObject::summary() const 00047 { return pimpl().summary().text(); } 00048 00049 Text ResObject::description() const 00050 { return pimpl().description().text(); } 00051 00052 Text ResObject::insnotify() const 00053 { return pimpl().insnotify().text(); } 00054 00055 Text ResObject::delnotify() const 00056 { return pimpl().delnotify().text(); } 00057 00058 ByteCount ResObject::size() const 00059 { return pimpl().size(); } 00060 00061 Source_Ref ResObject::source() const 00062 { return pimpl().source(); } 00063 00064 ZmdId ResObject::zmdid () const 00065 { return pimpl().zmdid(); } 00066 00068 } // namespace zypp
1.4.6