YUMPatternImpl.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_SOURCE_YUM_YUMPATTERNIMPL_H
00013 #define ZYPP_SOURCE_YUM_YUMPATTERNIMPL_H
00014 
00015 #include "zypp/source/SourceImpl.h"
00016 #include "zypp/detail/PatternImplIf.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 : YUMPatternImpl
00032       //
00035       class YUMPatternImpl : public detail::PatternImplIf
00036       {
00037       public:
00039         YUMPatternImpl(
00040           Source_Ref source_r,
00041           const zypp::parser::yum::YUMPatternData & parsed
00042         );
00044         virtual bool userVisible() const;
00046         virtual TranslatedText summary() const;
00048         virtual TranslatedText description() const;
00050         virtual bool isDefault() const;
00052         virtual TranslatedText category() const;
00054         virtual Pathname icon() const;
00056         virtual Pathname script() const;
00057 
00058 
00059       protected:
00060         bool _user_visible;
00061         TranslatedText _summary;
00062         TranslatedText _description;
00063         bool _default;
00064         TranslatedText _category;
00065         Pathname _icon;
00066         Pathname _script;
00067       private:
00068         Source_Ref _source;
00069       public:
00070         Source_Ref source() const;
00071       };
00073     } // namespace yum
00075   } // namespace source
00078 } // namespace zypp
00080 #endif // ZYPP_SOURCE_YUM_YUMPATTERNIMPL_H

Generated on Thu Jul 6 00:07:25 2006 for zypp by  doxygen 1.4.6