00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #ifndef ZYPP_STORAGE_XMLPRODUCTIMPL_H 00013 #define ZYPP_STORAGE_XMLPRODUCTIMPL_H 00014 00015 #include "zypp/Source.h" 00016 #include "zypp/detail/ProductImplIf.h" 00017 00019 namespace zypp 00020 { 00021 00023 namespace storage 00024 { 00025 00027 // 00028 // CLASS NAME : ProductImpl 00029 // 00031 struct XMLProductImpl : public zypp::detail::ProductImplIf 00032 { 00033 XMLProductImpl(); 00034 ~XMLProductImpl(); 00035 00036 virtual std::string category() const; 00037 virtual Label vendor() const; 00038 virtual Label summary( const Locale & locale_r = Locale() ) const; 00039 virtual Label shortName( const Locale & locale_r = Locale() ) const; 00040 virtual Label description( const Locale & locale_r = Locale() ) const; 00041 virtual Url releaseNotesUrl() const; 00042 virtual std::list<Url> updateUrls() const; 00043 virtual std::list<std::string> flags() const; 00044 00045 std::string _category; 00046 std::string _vendor; 00047 Url _release_notes_url; 00048 std::list<Url> _update_urls; 00049 std::list<std::string> _flags; 00050 TranslatedText _summary; 00051 TranslatedText _description; 00052 TranslatedText _short_name; 00053 Source_Ref _source; 00054 }; 00056 00058 } // namespace storage 00061 } // namespace zypp 00063 #endif // ZYPP_DETAIL_PRODUCTIMPL_H
1.4.6