YUMMessageImpl.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_SOURCE_YUM_YUMMESSAGEIMPL_H
00013 #define ZYPP_SOURCE_YUM_YUMMESSAGEIMPL_H
00014 
00015 #include "zypp/source/SourceImpl.h"
00016 #include "zypp/detail/MessageImpl.h"
00017 #include "zypp/parser/yum/YUMParserData.h"
00018 
00020 namespace zypp
00021 { 
00022 
00023   namespace source
00024   { 
00025     namespace yum
00026     { 
00027 
00029       //
00030       //        CLASS NAME : YUMMessageImpl
00031       //
00034       class YUMMessageImpl : public detail::MessageImplIf
00035       {
00036       public:
00038         YUMMessageImpl(
00039           Source_Ref source_r,
00040           const zypp::parser::yum::YUMPatchMessage & parsed,
00041           Patch::constPtr patch
00042         );
00044         virtual TranslatedText text() const;
00046         Patch::constPtr patch() const;
00047 
00048 
00049       protected:
00051         TranslatedText _text;
00052       private:
00053         Source_Ref _source;
00054         Patch::constPtr _patch;
00055       public:
00056         Source_Ref source() const;
00057         friend class YUMSourceImpl;
00058       };
00060     } // namespace yum
00062   } // namespace source
00065 } // namespace zypp
00067 #endif // ZYPP_SOURCE_YUM_YUMMESSAGEIMPL_H

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