1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/VendorAttr.h
12 #ifndef ZYPP_VENDORATTR_H
13 #define ZYPP_VENDORATTR_H
18 #include "zypp/base/NonCopyable.h"
19 #include "zypp/NeedAType.h"
21 ///////////////////////////////////////////////////////////////////
23 //////////////////////////////////////////////////////////////////
25 class VendorAttr : private base::NonCopyable
29 static const VendorAttr & instance();
32 * Return whether it's a known vendor
34 bool isKnown( const Vendor & vendor_r ) const;
37 * Return whether this vendors packages should be
38 * protected by default.
40 bool autoProtect( const Vendor & vendor_r ) const;
46 ///////////////////////////////////////////////////////////////////
48 ///////////////////////////////////////////////////////////////////
50 #endif // ZYPP_VENDORATTR_H