ProductImplIf.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_DETAIL_PRODUCTIMPLIF_H
00013 #define ZYPP_DETAIL_PRODUCTIMPLIF_H
00014 
00015 #include "zypp/Locale.h"
00016 #include "zypp/Url.h"
00017 #include "zypp/detail/ResObjectImplIf.h"
00018 
00019 #ifndef PURE_VIRTUAL
00020 #define PURE_VIRTUAL = 0
00021 #endif
00022 
00024 namespace zypp
00025 { 
00026 
00027   class Product;
00028 
00030   namespace detail
00031   { 
00032 
00034     //
00035     //  CLASS NAME : ProductImplIf
00036     //
00039     class ProductImplIf : public ResObjectImplIf
00040     {
00041     public:
00042       typedef Product ResType;
00043 
00044     public:
00046       virtual std::string type() const PURE_VIRTUAL;
00047 
00048       virtual Url releaseNotesUrl() const PURE_VIRTUAL;
00049 
00050       virtual std::list<Url> updateUrls() const PURE_VIRTUAL;
00051 
00056       virtual std::list<Url> extraUrls() const  PURE_VIRTUAL;
00057 
00063       virtual std::list<Url> optionalUrls() const  PURE_VIRTUAL;
00064 
00066       virtual std::list<std::string> flags() const PURE_VIRTUAL;
00067 
00068       virtual TranslatedText shortName() const PURE_VIRTUAL;
00069 
00071       virtual std::string distributionName() const PURE_VIRTUAL;
00072 
00074       virtual Edition distributionEdition() const PURE_VIRTUAL;
00075     };
00077 
00079   } // namespace detail
00082 } // namespace zypp
00084 #endif // ZYPP_DETAIL_PRODUCTIMPLIF_H

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