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; 00055 00056 protected: 00058 std::string _patch_id; 00060 Date _timestamp; 00062 TranslatedText _summary; 00064 TranslatedText _description; 00066 std::string _category; 00068 bool _reboot_needed; 00070 bool _affects_pkg_manager; 00071 }; 00073 00075 } // namespace detail 00078 } // namespace zypp 00080 #endif // ZYPP_DETAIL_PATCHIMPL_H
1.5.3