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