00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #ifndef ZYPP_TARGET_XMLSTORE_ATOMIMPL_H 00013 #define ZYPP_TARGET_XMLSTORE_ATOMIMPL_H 00014 00015 #include "zypp/detail/AtomImpl.h" 00016 00018 namespace zypp 00019 { 00020 namespace storage 00021 { 00022 00023 00026 class XMLAtomImpl : public detail::AtomImplIf 00027 { 00028 public: 00030 XMLAtomImpl(); 00031 private: 00032 00033 public: 00034 //Source_Ref source() const; 00035 00036 virtual TranslatedText summary() const 00037 { return _summary; } 00038 virtual TranslatedText description() const 00039 { return _description; } 00040 virtual TranslatedText insnotify() const 00041 { return _install_notify; } 00042 virtual TranslatedText delnotify() const 00043 { return _delete_notify; } 00044 virtual TranslatedText licenseToConfirm() const 00045 { return _license_to_confirm; } 00046 virtual Vendor vendor() const 00047 { return _vendor; } 00048 virtual ByteCount size() const 00049 { return _size; } 00050 virtual ByteCount downloadSize() const 00051 { return _downloadSize; } 00052 virtual unsigned sourceMediaNr() const 00053 { return 0; } 00054 virtual bool installOnly() const 00055 { return _install_only; } 00056 virtual Date buildtime() const 00057 { return _build_time; } 00058 virtual Date installtime() const 00059 { return _install_time; } 00060 00061 TranslatedText _summary; 00062 TranslatedText _description; 00063 00064 TranslatedText _install_notify; 00065 TranslatedText _delete_notify; 00066 TranslatedText _license_to_confirm; 00067 std::string _vendor; 00068 ByteCount _size; 00069 ByteCount _downloadSize; 00070 bool _install_only; 00071 Date _build_time; 00072 Date _install_time; 00073 00074 }; 00076 } // namespace storage 00078 } // namespace zypp 00080 #endif // ZYPP_SOURCE_YUM_YUMATOMIMPL_H
1.5.3