Patch.cc

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #include "zypp/Patch.h"
00013 
00014 using namespace std;
00015 
00017 namespace zypp
00018 { 
00019 
00020   IMPL_PTR_TYPE( Patch );
00021  
00023   //
00024   //    METHOD NAME : Patch::Patch
00025   //    METHOD TYPE : Ctor
00026   //
00027   Patch::Patch( const NVRAD & nvrad_r )
00028   : ResObject( TraitsType::kind, nvrad_r )
00029   {}
00030 
00032   //
00033   //    METHOD NAME : Patch::~Patch
00034   //    METHOD TYPE : Dtor
00035   //
00036   Patch::~Patch()
00037   {}
00038 
00040   //
00041   //    Patch interface forwarded to implementation
00042   //
00044 
00045   std::string Patch::id() const
00046   { return pimpl().id(); }
00047 
00048   Date Patch::timestamp() const
00049   { return pimpl().timestamp(); }
00050 
00051   std::string Patch::category() const
00052   { return pimpl().category(); }
00053 
00054   bool Patch::reboot_needed() const
00055   { return pimpl().reboot_needed(); }
00056 
00057   bool Patch::affects_pkg_manager() const
00058   { return pimpl().affects_pkg_manager(); }
00059 
00060   Patch::AtomList Patch::atoms() const
00061   { return pimpl().all_atoms(); }
00062 
00063   bool Patch::interactive() const
00064   { return pimpl().interactive(); }
00065 
00066   void Patch::mark_atoms_to_freshen(bool freshen)
00067   { pimpl().mark_atoms_to_freshen(freshen); }
00068 
00069   bool Patch::any_atom_selected()
00070   { return pimpl().any_atom_selected(); }
00071 
00072   void Patch::select()
00073   { pimpl().mark_atoms_to_freshen(true); }
00074 
00076 } // namespace zypp

Generated on Thu Jul 6 00:07:22 2006 for zypp by  doxygen 1.4.6