00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #ifndef ZYPP_DETAIL_SUSETAGS_PRODUCTIMPL_H 00013 #define ZYPP_DETAIL_SUSETAGS_PRODUCTIMPL_H 00014 00015 #include <map> 00016 00017 #include "zypp/CheckSum.h" 00018 #include "zypp/CapSet.h" 00019 #include "zypp/detail/ProductImplIf.h" 00020 #include "zypp/Source.h" 00021 #include "zypp/TranslatedText.h" 00022 00024 namespace zypp 00025 { 00026 00027 namespace source 00028 { 00029 namespace susetags 00030 { 00031 00033 // 00034 // CLASS NAME : ProductImpl 00035 // 00038 struct SuseTagsProductImpl : public zypp::detail::ProductImplIf 00039 { 00040 public: 00041 SuseTagsProductImpl(); 00042 virtual ~SuseTagsProductImpl(); 00043 00044 virtual std::string category() const; 00045 virtual Label vendor() const; 00046 virtual TranslatedText summary() const; 00047 virtual Source_Ref source() const; 00048 virtual Url releaseNotesUrl() const; 00049 virtual std::list<Url> updateUrls() const; 00050 virtual std::list<std::string> flags() const; 00051 virtual TranslatedText shortName() const; 00052 00053 std::string _category; 00054 00055 std::string _name; 00056 std::string _version; 00057 std::string _dist; 00058 std::string _dist_version; 00059 std::string _base_product; 00060 std::string _base_version; 00061 std::string _you_type; 00062 std::string _shortlabel; 00063 std::string _vendor; 00064 Url _release_notes_url; 00065 std::list<Url> _update_urls; 00066 std::map< std::string, std::list<std::string> > _arch; // map of 'arch : "arch1 arch2 arch3"', arch1 being 'best', arch3 being 'noarch' (ususally) 00067 std::string _default_base; 00068 Dependencies _deps; 00069 std::list<std::string> _languages; 00070 TranslatedText _summary; 00071 std::string _description_dir; 00072 std::string _data_dir; 00073 std::list<std::string> _flags; 00074 std::string _language; 00075 std::string _timezone; 00076 00077 std::map<std::string, CheckSum> _descr_files_checksums; 00078 std::map<std::string, CheckSum> _signing_keys; 00079 00080 Source_Ref _source; 00081 00082 }; 00084 00086 } // namespace susetags 00088 } // namespace source 00090 } // namespace zypp 00092 #endif // ZYPP_DETAIL_PRODUCTIMPL_H