00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00009 00010 #ifndef zypp_repo_memory_AtomImpl_H 00011 #define zypp_repo_memory_AtomImpl_H 00012 00013 #include "zypp/detail/AtomImpl.h" 00014 #include "zypp/repo/memory/RepoImpl.h" 00015 00017 namespace zypp 00018 { 00019 namespace repo 00020 { 00021 namespace memory 00022 { 00023 00025 // 00026 // CLASS NAME : AtomImpl 00027 // 00028 class AtomImpl : public detail::AtomImplIf 00029 { 00030 public: 00031 00032 AtomImpl( memory::RepoImpl::Ptr repo, data::Atom_Ptr ptr); 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 virtual Repository repository() const; 00046 00047 protected: 00048 repo::memory::RepoImpl::Ptr _repository; 00049 00050 //ResObject 00051 TranslatedText _summary; 00052 TranslatedText _description; 00053 TranslatedText _insnotify; 00054 TranslatedText _delnotify; 00055 TranslatedText _license_to_confirm; 00056 Vendor _vendor; 00057 ByteCount _size; 00058 bool _install_only; 00059 Date _buildtime; 00060 Date _installtime; 00061 unsigned _media_nr; 00062 }; 00064 } // namespace memory 00065 } // namespace repository 00066 } // namespace zypp 00068 #endif // ZMD_BACKEND_DBSOURCE_DBPACKAGEIMPL_H 00069
1.5.3