VendorAttr.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_VENDORATTR_H
00013 #define ZYPP_VENDORATTR_H
00014 
00015 #include <iosfwd>
00016 #include <string>
00017 
00018 #include "zypp/base/NonCopyable.h"
00019 #include "zypp/NeedAType.h"
00020 
00022 namespace zypp {
00024 
00025 class VendorAttr : private base::NonCopyable
00026 {
00027   public:
00029     static const VendorAttr & instance();
00030 
00034     bool isKnown( const Vendor & vendor_r ) const;
00035 
00040     bool autoProtect( const Vendor & vendor_r ) const;
00041 
00042   private:
00043     VendorAttr();
00044 };
00045 
00047 }; // namespace zypp
00049 
00050 #endif // ZYPP_VENDORATTR_H

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