Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
PVR::CPVRCustomTimerSettings Class Reference

#include <PVRCustomTimerSettings.h>

Public Member Functions

 CPVRCustomTimerSettings (const CPVRTimerType &timerType, const CustomPropertiesMap &customProps, const std::map< int, std::shared_ptr< CPVRTimerType > > &typeEntries)
 
virtual ~CPVRCustomTimerSettings ()=default
 
void SetTimerType (const CPVRTimerType &timerType)
 
void AddSettings (IPVRSettingsContainer &settingsContainer, const std::shared_ptr< CSettingGroup > &group)
 
bool IsCustomSetting (std::string_view settingId) const
 
bool IsCustomIntSetting (std::string_view settingId) const
 
bool IsCustomStringSetting (std::string_view settingId) const
 
const CustomPropertiesMapGetProperties () const
 
bool UpdateIntProperty (const std::shared_ptr< const CSetting > &setting)
 
bool UpdateStringProperty (const std::shared_ptr< const CSetting > &setting)
 
std::string GetSettingsLabel (const std::string &settingId) const
 
bool IntSettingDefinitionsFiller (const std::string &settingId, std::vector< IntegerSettingOption > &list, int &current)
 
bool StringSettingDefinitionsFiller (const std::string &settingId, std::vector< StringSettingOption > &list, std::string &current)
 
bool IsSettingReadonlyForTimerState (const std::string &settingId, PVR_TIMER_STATE timerState) const
 
bool IsSettingSupportedForTimerType (const std::string &setting, const CPVRTimerType &timerType) const
 

Constructor & Destructor Documentation

◆ CPVRCustomTimerSettings()

PVR::CPVRCustomTimerSettings::CPVRCustomTimerSettings ( const CPVRTimerType & timerType,
const CustomPropertiesMap & customProps,
const std::map< int, std::shared_ptr< CPVRTimerType > > & typeEntries )

◆ ~CPVRCustomTimerSettings()

virtual PVR::CPVRCustomTimerSettings::~CPVRCustomTimerSettings ( )
virtualdefault

Member Function Documentation

◆ AddSettings()

void PVR::CPVRCustomTimerSettings::AddSettings ( IPVRSettingsContainer & settingsContainer,
const std::shared_ptr< CSettingGroup > & group )

◆ GetProperties()

const CustomPropertiesMap & PVR::CPVRCustomTimerSettings::GetProperties ( ) const
inline

◆ GetSettingsLabel()

std::string PVR::CPVRCustomTimerSettings::GetSettingsLabel ( const std::string & settingId) const

◆ IntSettingDefinitionsFiller()

bool PVR::CPVRCustomTimerSettings::IntSettingDefinitionsFiller ( const std::string & settingId,
std::vector< IntegerSettingOption > & list,
int & current )

◆ IsCustomIntSetting()

bool PVR::CPVRCustomTimerSettings::IsCustomIntSetting ( std::string_view settingId) const

◆ IsCustomSetting()

bool PVR::CPVRCustomTimerSettings::IsCustomSetting ( std::string_view settingId) const

◆ IsCustomStringSetting()

bool PVR::CPVRCustomTimerSettings::IsCustomStringSetting ( std::string_view settingId) const

◆ IsSettingReadonlyForTimerState()

bool PVR::CPVRCustomTimerSettings::IsSettingReadonlyForTimerState ( const std::string & settingId,
PVR_TIMER_STATE timerState ) const

◆ IsSettingSupportedForTimerType()

bool PVR::CPVRCustomTimerSettings::IsSettingSupportedForTimerType ( const std::string & setting,
const CPVRTimerType & timerType ) const

◆ SetTimerType()

void PVR::CPVRCustomTimerSettings::SetTimerType ( const CPVRTimerType & timerType)

◆ StringSettingDefinitionsFiller()

bool PVR::CPVRCustomTimerSettings::StringSettingDefinitionsFiller ( const std::string & settingId,
std::vector< StringSettingOption > & list,
std::string & current )

◆ UpdateIntProperty()

bool PVR::CPVRCustomTimerSettings::UpdateIntProperty ( const std::shared_ptr< const CSetting > & setting)

◆ UpdateStringProperty()

bool PVR::CPVRCustomTimerSettings::UpdateStringProperty ( const std::shared_ptr< const CSetting > & setting)

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