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

#include <General.h>

Inheritance diagram for kodi::addon::PVRIntSettingDefinition:
kodi::addon::DynamicCStructHdl< PVRIntSettingDefinition, PVR_INT_SETTING_DEFINITION >

Public Member Functions

 PVRIntSettingDefinition (const std::vector< PVRTypeIntValue > &settingValues, int defaultValue, int minValue, int step, int maxValue)
 Class constructor with integrated values.
 
void SetValues (const std::vector< PVRTypeIntValue > &values, int defaultValue=-1)
 optional
value definitions.
 
std::vector< PVRTypeIntValueGetValues () const
 To get with SetValues changed values.
 
void SetDefaultValue (int defaultValue)
 optional
The default value for this setting.
 
int GetDefaultValue () const
 To get with SetDefaultValue changed values.
 
void SetMinValue (int minValue)
 optional
The minimum value for this setting.
 
int GetMinValue () const
 To get with SetMinValue changed values.
 
void SetStep (int step)
 optional
The amount for increasing the values for this setting from min to max.
 
int GetStep () const
 To get with SetStep changed values.
 
void SetMaxValue (int maxValue)
 optional
The maximum value for this setting.
 
int GetMaxValue () const
 To get with SetMaxValue changed values.
 
- Public Member Functions inherited from kodi::addon::DynamicCStructHdl< PVRIntSettingDefinition, PVR_INT_SETTING_DEFINITION >
 DynamicCStructHdl ()
 
 DynamicCStructHdl (const DynamicCStructHdl &cppClass)
 
 DynamicCStructHdl (const PVR_INT_SETTING_DEFINITION *cStructure)
 
 DynamicCStructHdl (PVR_INT_SETTING_DEFINITION *cStructure)
 
const DynamicCStructHdloperator= (const DynamicCStructHdl &right)
 
const DynamicCStructHdloperator= (const PVR_INT_SETTING_DEFINITION &right)
 
virtual ~DynamicCStructHdl ()
 
 operator PVR_INT_SETTING_DEFINITION * ()
 
 operator const PVR_INT_SETTING_DEFINITION * () const
 
const PVR_INT_SETTING_DEFINITIONGetCStructure () const
 
PVR_INT_SETTING_DEFINITIONrelease ()
 

Static Public Member Functions

static PVR_INT_SETTING_DEFINITIONAllocAndCopyData (const PVRIntSettingDefinition &source)
 
static PVR_INT_SETTING_DEFINITIONAllocAndCopyData (PVR_INT_SETTING_DEFINITION *source)
 
static void AllocResources (const PVR_INT_SETTING_DEFINITION *source, PVR_INT_SETTING_DEFINITION *target)
 
static void FreeResources (PVR_INT_SETTING_DEFINITION *target)
 
static void ReallocAndCopyData (PVR_INT_SETTING_DEFINITION **source, const PVRIntSettingDefinition &def)
 

Friends

class CInstancePVRClient
 

Additional Inherited Members

- Protected Attributes inherited from kodi::addon::DynamicCStructHdl< PVRIntSettingDefinition, PVR_INT_SETTING_DEFINITION >
PVR_INT_SETTING_DEFINITIONm_cStructure
 

Member Function Documentation

◆ AllocAndCopyData() [1/2]

static PVR_INT_SETTING_DEFINITION * kodi::addon::PVRIntSettingDefinition::AllocAndCopyData ( const PVRIntSettingDefinition & source)
inlinestatic

◆ AllocAndCopyData() [2/2]

static PVR_INT_SETTING_DEFINITION * kodi::addon::PVRIntSettingDefinition::AllocAndCopyData ( PVR_INT_SETTING_DEFINITION * source)
inlinestatic

◆ AllocResources()

static void kodi::addon::PVRIntSettingDefinition::AllocResources ( const PVR_INT_SETTING_DEFINITION * source,
PVR_INT_SETTING_DEFINITION * target )
inlinestatic

◆ FreeResources()

static void kodi::addon::PVRIntSettingDefinition::FreeResources ( PVR_INT_SETTING_DEFINITION * target)
inlinestatic

◆ ReallocAndCopyData()

static void kodi::addon::PVRIntSettingDefinition::ReallocAndCopyData ( PVR_INT_SETTING_DEFINITION ** source,
const PVRIntSettingDefinition & def )
inlinestatic

Friends And Related Symbol Documentation

◆ CInstancePVRClient

friend class CInstancePVRClient
friend

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