Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
No Matches
ADDON::CAddonUpdateRules Class Reference

#include <AddonUpdateRules.h>

Public Member Functions

bool RefreshRulesMap (const CAddonDatabase &db)
bool IsAutoUpdateable (const std::string &id) const
bool AddUpdateRuleToList (CAddonDatabase &db, const std::string &id, AddonUpdateRule updateRule)
bool RemoveUpdateRuleFromList (CAddonDatabase &db, const std::string &id, AddonUpdateRule updateRule)
bool RemoveAllUpdateRulesFromList (CAddonDatabase &db, const std::string &id)

Detailed Description

Class - CAddonUpdateRules Manages information about the updateability of addons by defining and handling certain rules.

Member Function Documentation

◆ AddUpdateRuleToList()

bool CAddonUpdateRules::AddUpdateRuleToList ( CAddonDatabase & db,
const std::string & id,
AddonUpdateRule updateRule )

◆ IsAutoUpdateable()

bool CAddonUpdateRules::IsAutoUpdateable ( const std::string & id) const

◆ RefreshRulesMap()

bool CAddonUpdateRules::RefreshRulesMap ( const CAddonDatabase & db)

◆ RemoveAllUpdateRulesFromList()

bool CAddonUpdateRules::RemoveAllUpdateRulesFromList ( CAddonDatabase & db,
const std::string & id )

◆ RemoveUpdateRuleFromList()

bool CAddonUpdateRules::RemoveUpdateRuleFromList ( CAddonDatabase & db,
const std::string & id,
AddonUpdateRule updateRule )

The documentation for this class was generated from the following files: