PatchImplIf.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_DETAIL_PATCHIMPLIF_H
00013 #define ZYPP_DETAIL_PATCHIMPLIF_H
00014 
00015 #include "zypp/detail/ResObjectImplIf.h"
00016 #include "zypp/ResObject.h"
00017 
00018 
00020 namespace zypp
00021 { 
00022 
00023   class Patch;
00024 
00026   namespace detail
00027   { 
00028 
00030     //
00031     //  CLASS NAME : PatchImplIf
00032     //
00035     class PatchImplIf : public ResObjectImplIf
00036     {
00037     public:
00038       typedef Patch ResType;
00039 
00040     public:
00041       typedef std::list<ResObject::Ptr> AtomList;
00042 
00043     public:
00045       virtual std::string id() const PURE_VIRTUAL;
00047       virtual Date timestamp() const PURE_VIRTUAL;
00049       virtual std::string category() const PURE_VIRTUAL;
00051       virtual bool reboot_needed() const PURE_VIRTUAL;
00053       virtual bool affects_pkg_manager() const PURE_VIRTUAL;
00054 
00058       virtual bool interactive() const PURE_VIRTUAL;
00062       virtual AtomList all_atoms() const PURE_VIRTUAL;
00063 
00064     private:
00065       mutable scoped_ptr<AtomList> _atomlist;
00066     };
00068 
00070   } // namespace detail
00073 } // namespace zypp
00075 #endif // ZYPP_DETAIL_PATCHIMPLIF_H

Generated on Tue Sep 25 19:23:01 2007 for libzypp by  doxygen 1.5.3