00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #ifndef ZYPP_DETAIL_PATTERNIMPLIF_H 00013 #define ZYPP_DETAIL_PATTERNIMPLIF_H 00014 00015 #include "zypp/detail/ResObjectImplIf.h" 00016 #include "zypp/Pathname.h" 00017 #include <string> 00018 00020 namespace zypp 00021 { 00022 00023 class Pattern; 00024 00026 namespace detail 00027 { 00028 00030 // 00031 // CLASS NAME : PatternImplIf 00032 // 00035 class PatternImplIf : public ResObjectImplIf 00036 { 00037 public: 00038 typedef Pattern ResType; 00039 00040 public: 00041 virtual bool isDefault() const PURE_VIRTUAL; 00042 00043 virtual bool userVisible() const PURE_VIRTUAL; 00044 00045 virtual TranslatedText category() const PURE_VIRTUAL; 00046 00047 virtual Pathname icon() const PURE_VIRTUAL; 00048 00049 virtual Pathname script() const PURE_VIRTUAL; 00050 00051 virtual Label order() const PURE_VIRTUAL; 00052 00054 virtual std::set<std::string> install_packages( const Locale & lang = Locale("") ) const; 00055 }; 00057 00059 } // namespace detail 00062 } // namespace zypp 00064 #endif // ZYPP_DETAIL_PATTERNIMPLIF_H