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

#include <ISettingControl.h>

Inheritance diagram for ISettingControl:
CSettingControlButton CSettingControlCheckmark CSettingControlColorButton CSettingControlEdit CSettingControlFormattedRange CSettingControlLabel CSettingControlRange CSettingControlSlider CSettingControlTitle

Public Member Functions

 ISettingControl ()
 
virtual ~ISettingControl ()=default
 
virtual std::string GetType () const =0
 
const std::string & GetFormat () const
 
bool GetDelayed () const
 
void SetDelayed (bool delayed)
 
virtual bool Deserialize (const TiXmlNode *node, bool update=false)
 
virtual bool SetFormat (const std::string &format)
 

Protected Attributes

bool m_delayed = false
 
std::string m_format
 

Static Protected Attributes

static Logger s_logger
 

Constructor & Destructor Documentation

◆ ISettingControl()

ISettingControl::ISettingControl ( )

◆ ~ISettingControl()

virtual ISettingControl::~ISettingControl ( )
virtualdefault

Member Function Documentation

◆ Deserialize()

bool ISettingControl::Deserialize ( const TiXmlNode * node,
bool update = false )
virtual

◆ GetDelayed()

bool ISettingControl::GetDelayed ( ) const
inline

◆ GetFormat()

const std::string & ISettingControl::GetFormat ( ) const
inline

◆ GetType()

◆ SetDelayed()

void ISettingControl::SetDelayed ( bool delayed)
inline

◆ SetFormat()

virtual bool ISettingControl::SetFormat ( const std::string & format)
inlinevirtual

Member Data Documentation

◆ m_delayed

bool ISettingControl::m_delayed = false
protected

◆ m_format

std::string ISettingControl::m_format
protected

◆ s_logger

Logger ISettingControl::s_logger
staticprotected

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