Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CSettingConditionsManager Class Reference

#include <SettingConditions.h>

Public Member Functions

 CSettingConditionsManager ()=default
 
 CSettingConditionsManager (const CSettingConditionsManager &)=delete
 
CSettingConditionsManager const & operator= (CSettingConditionsManager const &)=delete
 
virtual ~CSettingConditionsManager ()=default
 
void AddCondition (std::string condition)
 
void AddDynamicCondition (std::string identifier, SettingConditionCheck condition, void *data=nullptr)
 
void RemoveDynamicCondition (std::string identifier)
 
bool Check (std::string condition, const std::string &value="", const std::shared_ptr< const CSetting > &setting=std::shared_ptr< const CSetting >()) const
 

Constructor & Destructor Documentation

◆ CSettingConditionsManager() [1/2]

CSettingConditionsManager::CSettingConditionsManager ( )
default

◆ CSettingConditionsManager() [2/2]

CSettingConditionsManager::CSettingConditionsManager ( const CSettingConditionsManager & )
delete

◆ ~CSettingConditionsManager()

virtual CSettingConditionsManager::~CSettingConditionsManager ( )
virtualdefault

Member Function Documentation

◆ AddCondition()

void CSettingConditionsManager::AddCondition ( std::string condition)

◆ AddDynamicCondition()

void CSettingConditionsManager::AddDynamicCondition ( std::string identifier,
SettingConditionCheck condition,
void * data = nullptr )

◆ Check()

bool CSettingConditionsManager::Check ( std::string condition,
const std::string & value = "",
const std::shared_ptr< const CSetting > & setting = std::shared_ptr<const CSetting>() ) const

◆ operator=()

CSettingConditionsManager const & CSettingConditionsManager::operator= ( CSettingConditionsManager const & )
delete

◆ RemoveDynamicCondition()

void CSettingConditionsManager::RemoveDynamicCondition ( std::string identifier)

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