1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/Patch.cc
12 #include "zypp/Patch.h"
16 ///////////////////////////////////////////////////////////////////
18 { /////////////////////////////////////////////////////////////////
20 ///////////////////////////////////////////////////////////////////
22 // METHOD NAME : Patch::Patch
25 Patch::Patch( const std::string & name_r,
26 const Edition & edition_r,
28 : ResObject( ResTraits<Self>::_kind, name_r, edition_r, arch_r )
31 ///////////////////////////////////////////////////////////////////
33 // METHOD NAME : Patch::~Patch
39 ///////////////////////////////////////////////////////////////////
41 // Patch interface forwarded to implementation
43 ///////////////////////////////////////////////////////////////////
45 std::string Patch::id() const
46 { return pimpl().id(); }
48 unsigned int Patch::timestamp() const
49 { return pimpl().timestamp(); }
51 std::string Patch::category() const
52 { return pimpl().category(); }
54 bool Patch::reboot_needed() const
55 { return pimpl().reboot_needed(); }
57 bool Patch::affects_pkg_manager() const
58 { return pimpl().affects_pkg_manager(); }
60 Patch::AtomList Patch::atoms()
61 { return pimpl().all_atoms(); }
63 bool Patch::interactive()
64 { return pimpl().interactive(); }
66 void Patch::mark_atoms_to_freshen(bool freshen)
67 { pimpl().mark_atoms_to_freshen(freshen); }
69 bool Patch::any_atom_selected()
70 { return pimpl().any_atom_selected(); }
73 { pimpl().mark_atoms_to_freshen(true); }
75 /////////////////////////////////////////////////////////////////
77 ///////////////////////////////////////////////////////////////////