00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #include <iostream> 00013 00014 #include "zypp/base/Logger.h" 00015 #include "zypp/detail/PatchImpl.h" 00016 #include "zypp/Package.h" 00017 00018 using namespace std; 00019 00021 namespace zypp 00022 { 00023 00024 namespace detail 00025 { 00026 00028 // 00029 // CLASS NAME : PatchImpl 00030 // 00032 00034 PatchImpl::PatchImpl() 00035 {} 00036 00038 PatchImpl::~PatchImpl() 00039 {} 00040 00041 std::string PatchImpl::id() const 00042 { 00043 return _patch_id; 00044 } 00045 Date PatchImpl::timestamp() const 00046 { 00047 return _timestamp; 00048 } 00049 00050 TranslatedText PatchImpl::summary() const 00051 { 00052 return _summary; 00053 } 00054 00055 TranslatedText PatchImpl::description() const 00056 { 00057 return _description; 00058 } 00059 00060 std::string PatchImpl::category() const 00061 { 00062 return _category; 00063 } 00064 00065 bool PatchImpl::reboot_needed() const 00066 { 00067 return _reboot_needed; 00068 } 00069 00070 bool PatchImpl::affects_pkg_manager() const 00071 { 00072 return _affects_pkg_manager; 00073 } 00074 00076 } // namespace detail 00079 } // namespace zypp
1.5.3