00001
00002
00003
00004
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 };
00049
00050 #endif // ZYPP_VENDORATTR_H