Message.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_MESSAGE_H
00013 #define ZYPP_MESSAGE_H
00014 
00015 #include "zypp/ResObject.h"
00016 #include "zypp/detail/MessageImplIf.h"
00017 
00019 namespace zypp
00020 { 
00021 
00023   //
00024   //    CLASS NAME : Message
00025   //
00028   class Message : public ResObject
00029   {
00030   public:
00031     typedef detail::MessageImplIf           Impl;
00032     typedef Message                         Self;
00033     typedef ResTraits<Self>          TraitsType;
00034     typedef TraitsType::PtrType      Ptr;
00035     typedef TraitsType::constPtrType constPtr;
00036 
00037   public:
00039     TranslatedText text() const;
00041     Patch::constPtr patch() const;
00042 
00043   protected:
00044     Message( const NVRAD & nvrad_r );
00046     virtual ~Message();
00047 
00048   private:
00050     virtual Impl & pimpl() = 0;
00052     virtual const Impl & pimpl() const = 0;
00053   };
00054 
00056 } // namespace zypp
00058 #endif // ZYPP_MESSAGE_H

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