00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #ifndef ZYPP_SOURCE_YUM_YUMGROUPIMPL_H 00013 #define ZYPP_SOURCE_YUM_YUMGROUPIMPL_H 00014 00015 #include "zypp/source/SourceImpl.h" 00016 #include "zypp/detail/SelectionImplIf.h" 00017 #include "zypp/parser/yum/YUMParserData.h" 00018 #include "zypp/Edition.h" 00019 00021 namespace zypp 00022 { 00023 00024 namespace source 00025 { 00026 namespace yum 00027 { 00028 00030 // 00031 // CLASS NAME : YUMGroupImpl 00032 // 00035 class YUMGroupImpl : public detail::SelectionImplIf 00036 { 00037 public: 00039 YUMGroupImpl( 00040 Source_Ref source_r, 00041 const zypp::parser::yum::YUMGroupData & parsed 00042 ); 00043 00044 virtual ~YUMGroupImpl(); 00045 00047 virtual TranslatedText summary() const; 00049 virtual TranslatedText description() const; 00051 virtual Label category() const; 00053 virtual bool visible() const; 00055 virtual Label order() const; 00056 00057 protected: 00058 TranslatedText _summary; 00059 TranslatedText _description; 00060 bool _user_visible; 00061 private: 00062 Source_Ref _source; 00063 public: 00064 Source_Ref source() const; 00065 }; 00067 } // namespace yum 00069 } // namespace source 00072 } // namespace zypp 00074 #endif // ZYPP_SOURCE_YUM_YUMGROUPIMPL_H