#include <VendorAttr.h>
Inheritance diagram for zypp::VendorAttr:

Public Member Functions | |
| bool | isKnown (const Vendor &vendor_r) const |
| Return whether it's a known vendor. | |
| bool | autoProtect (const Vendor &vendor_r) const |
| Return whether this vendors packages should be protected by default. | |
Static Public Member Functions | |
| static const VendorAttr & | instance () |
| Singleton. | |
| static void | enableAutoProtect () |
| Enable autoprotection of foreign vendor packages. | |
| static void | disableAutoProtect () |
| Disable autoprotection of foreign vendor packages. | |
Private Member Functions | |
| VendorAttr () | |
Definition at line 25 of file VendorAttr.h.
|
|
Definition at line 95 of file VendorAttr.cc. References zypp::_trustedVendors, zypp::addTrustedVendor(), zypp::filesystem::PathInfo::asString(), zypp::iostr::forEachLine(), zypp::filesystem::PathInfo::isFile(), and MIL. |
|
|
Singleton.
Definition at line 89 of file VendorAttr.cc. Referenced by zypp::PoolItem_Ref::Impl::autoprotect(). |
|
|
Enable autoprotection of foreign vendor packages. This is the default.
Definition at line 131 of file VendorAttr.cc. References zypp::applyAutoProtection, and MIL. |
|
|
Disable autoprotection of foreign vendor packages. Autoprotection is on per defult.
Definition at line 137 of file VendorAttr.cc. References zypp::applyAutoProtection, and MIL. |
|
|
Return whether it's a known vendor.
Definition at line 143 of file VendorAttr.cc. References zypp::trusted(). |
|
|
Return whether this vendors packages should be protected by default.
Definition at line 147 of file VendorAttr.cc. References zypp::applyAutoProtection, and zypp::trusted(). Referenced by zypp::PoolItem_Ref::Impl::autoprotect(). |
1.4.6