00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00012 #ifndef ZYPP_DETAIL_PATCHIMPL_H 00013 #define ZYPP_DETAIL_PATCHIMPL_H 00014 00015 #include "zypp/detail/PatchImplIf.h" 00016 00018 namespace zypp 00019 { 00020 00021 namespace detail 00022 { 00023 00025 // 00026 // CLASS NAME : PatchImpl 00027 // 00032 class PatchImpl : public PatchImplIf 00033 { 00034 public: 00036 PatchImpl(); 00038 ~PatchImpl(); 00039 00040 public: 00042 virtual std::string id() const; 00044 virtual Date timestamp() const; 00046 virtual TranslatedText summary() const; 00048 virtual TranslatedText description() const; 00050 virtual std::string category() const; 00052 virtual bool reboot_needed() const; 00054 virtual bool affects_pkg_manager() const; 00056 virtual AtomList all_atoms() const; 00057 00058 protected: 00060 std::string _patch_id; 00062 Date _timestamp; 00064 TranslatedText _summary; 00066 TranslatedText _description; 00068 std::string _category; 00070 bool _reboot_needed; 00072 bool _affects_pkg_manager; 00074 AtomList _atoms; 00075 }; 00077 00079 } // namespace detail 00082 } // namespace zypp 00084 #endif // ZYPP_DETAIL_PATCHIMPL_H
1.5.0