XMLPatchImpl.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_STORE_XMLPATCHIMPL_H
00013 #define ZYPP_STORE_XMLPATCHIMPL_H
00014 
00015 #include "zypp/detail/PatchImplIf.h"
00016 
00018 namespace zypp
00019 { 
00020 
00021   namespace storage
00022   { 
00023 
00025     //
00026     //  CLASS NAME : XMLPatchImpl
00027     //
00028     struct XMLPatchImpl : public zypp::detail::PatchImplIf
00029     {
00030       XMLPatchImpl();
00031       ~XMLPatchImpl();
00032 
00034       std::string id() const;
00036       Date timestamp() const;
00038       TranslatedText summary() const;
00040       TranslatedText description() const;
00042       std::string category() const;
00044       bool reboot_needed() const;
00046       bool affects_pkg_manager() const;
00047 
00049       bool interactive() const;
00051       AtomList all_atoms() const;
00053       AtomList not_installed_atoms() const;
00054 
00055 // TODO check necessarity of functions below
00056       bool any_atom_selected() const;
00057       void mark_atoms_to_freshen(bool freshen);
00058     
00059 
00061       std::string _patch_id;
00063       Date _timestamp;
00065       TranslatedText _summary;
00067       TranslatedText _description;
00069       std::string _category;
00071       bool _reboot_needed;
00073       bool _affects_pkg_manager;
00075       AtomList _atoms;
00076     };
00078 
00080   } // namespace storage
00083 } // namespace zypp
00085 #endif // ZYPP_DETAIL_PATCHIMPL_H

Generated on Thu May 4 16:03:30 2006 for zypp by  doxygen 1.4.6