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

#include <SettingControl.h>

Inheritance diagram for CSettingControlSpinner:
CSettingControlFormattedRange ISettingControl

Public Member Functions

 CSettingControlSpinner ()=default
 
 ~CSettingControlSpinner () override=default
 
std::string GetType () const override
 
bool SetFormat (const std::string &format) override
 
- Public Member Functions inherited from CSettingControlFormattedRange
 ~CSettingControlFormattedRange () override=default
 
bool Deserialize (const TiXmlNode *node, bool update=false) override
 
int GetFormatLabel () const
 
void SetFormatLabel (int formatLabel)
 
const std::string & GetFormatString () const
 
void SetFormatString (const std::string &formatString)
 
int GetMinimumLabel () const
 
void SetMinimumLabel (int minimumLabel)
 
- Public Member Functions inherited from ISettingControl
 ISettingControl ()
 
virtual ~ISettingControl ()=default
 
const std::string & GetFormat () const
 
bool GetDelayed () const
 
void SetDelayed (bool delayed)
 

Additional Inherited Members

- Protected Member Functions inherited from CSettingControlFormattedRange
 CSettingControlFormattedRange ()=default
 
- Protected Attributes inherited from CSettingControlFormattedRange
int m_formatLabel = -1
 
std::string m_formatString = "{}"
 
int m_minimumLabel = -1
 
- Protected Attributes inherited from ISettingControl
bool m_delayed = false
 
std::string m_format
 
- Static Protected Attributes inherited from ISettingControl
static Logger s_logger
 

Constructor & Destructor Documentation

◆ CSettingControlSpinner()

CSettingControlSpinner::CSettingControlSpinner ( )
default

◆ ~CSettingControlSpinner()

CSettingControlSpinner::~CSettingControlSpinner ( )
overridedefault

Member Function Documentation

◆ GetType()

std::string CSettingControlSpinner::GetType ( ) const
inlineoverridevirtual

Implements ISettingControl.

◆ SetFormat()

bool CSettingControlSpinner::SetFormat ( const std::string & format)
overridevirtual

Reimplemented from ISettingControl.


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