00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00009 00010 #ifndef zypp_repo_cached_PatchImpl_H 00011 #define zypp_repo_cached_PatchImpl_H 00012 00013 #include "zypp/detail/PatchImpl.h" 00014 #include "zypp/repo/cached/RepoImpl.h" 00015 00017 namespace zypp 00018 { 00019 namespace repo 00020 { 00021 namespace cached 00022 { 00023 00025 // 00026 // CLASS NAME : PatchImpl 00027 // 00028 class PatchImpl : public detail::PatchImplIf 00029 { 00030 public: 00031 00032 PatchImpl( const data::RecordId &id, repo::cached::RepoImpl::Ptr repository_r ); 00033 00034 virtual TranslatedText summary() const; 00035 virtual TranslatedText description() const; 00036 virtual TranslatedText insnotify() const; 00037 virtual TranslatedText delnotify() const; 00038 virtual TranslatedText licenseToConfirm() const; 00039 virtual Vendor vendor() const; 00040 virtual ByteCount size() const; 00041 virtual bool installOnly() const; 00042 virtual Date buildtime() const; 00043 virtual Date installtime() const; 00044 00045 // PATCH 00046 virtual std::string id() const; 00047 virtual Date timestamp() const; 00048 virtual std::string category() const; 00049 virtual bool reboot_needed() const; 00050 virtual bool affects_pkg_manager() const; 00051 00052 virtual Repository repository() const; 00053 00054 private: 00055 repo::cached::RepoImpl::Ptr _repository; 00056 data::RecordId _id; 00057 }; 00059 } // namespace cached 00060 } // namespace repository 00061 } // namespace zypp 00063 #endif // ZMD_BACKEND_DBSOURCE_DBPACKAGEIMPL_H 00064
1.5.3