11 #include "threads/CriticalSection.h" 22 enum class AddonUpdateRule;
42 bool IsAutoUpdateable(
const std::string&
id)
const;
50 bool AddUpdateRuleToList(
CAddonDatabase& db,
const std::string&
id, AddonUpdateRule updateRule);
59 const std::string&
id,
60 AddonUpdateRule updateRule);
67 bool RemoveAllUpdateRulesFromList(
CAddonDatabase& db,
const std::string&
id);
76 bool IsUpdateableByRule(
const std::string&
id, AddonUpdateRule updateRule)
const;
81 const std::string&
id,
82 AddonUpdateRule updateRule);
84 mutable CCriticalSection m_critSection;
85 std::map<std::string, std::vector<AddonUpdateRule>> m_updateRules;
Definition: AddonDatabase.h:61
Class - CAddonUpdateRules Manages information about the updateability of addons by defining and handl...
Definition: AddonUpdateRules.h:29