PVR add-on integer setting definition
Representation of an integer setting definition.
More...
PVR add-on integer setting definition
Representation of an integer setting definition.
◆ GetDefaultValue()
int kodi::addon::PVRIntSettingDefinition::GetDefaultValue |
( |
| ) |
const |
|
inline |
◆ GetMaxValue()
int kodi::addon::PVRIntSettingDefinition::GetMaxValue |
( |
| ) |
const |
|
inline |
◆ GetMinValue()
int kodi::addon::PVRIntSettingDefinition::GetMinValue |
( |
| ) |
const |
|
inline |
◆ GetStep()
int kodi::addon::PVRIntSettingDefinition::GetStep |
( |
| ) |
const |
|
inline |
To get with SetStep changed values.
◆ GetValues()
std::vector< PVRTypeIntValue > kodi::addon::PVRIntSettingDefinition::GetValues |
( |
| ) |
const |
|
inline |
◆ PVRIntSettingDefinition()
kodi::addon::PVRIntSettingDefinition::PVRIntSettingDefinition |
( |
const std::vector< PVRTypeIntValue > & | settingValues, |
|
|
int | defaultValue, |
|
|
int | minValue, |
|
|
int | step, |
|
|
int | maxValue ) |
|
inline |
Class constructor with integrated values.
- Parameters
-
[in] | settingValues | possible setting values |
[in] | defaultValue | default setting value |
[in] | minValue | minimim setting value |
[in] | step | amount to change values from min to max |
[in] | maxValue | maximum setting value |
◆ SetDefaultValue()
void kodi::addon::PVRIntSettingDefinition::SetDefaultValue |
( |
int | defaultValue | ) |
|
|
inline |
optional
The default value for this setting.
◆ SetMaxValue()
void kodi::addon::PVRIntSettingDefinition::SetMaxValue |
( |
int | maxValue | ) |
|
|
inline |
optional
The maximum value for this setting.
◆ SetMinValue()
void kodi::addon::PVRIntSettingDefinition::SetMinValue |
( |
int | minValue | ) |
|
|
inline |
optional
The minimum value for this setting.
◆ SetStep()
void kodi::addon::PVRIntSettingDefinition::SetStep |
( |
int | step | ) |
|
|
inline |
optional
The amount for increasing the values for this setting from min to max.
◆ SetValues()
void kodi::addon::PVRIntSettingDefinition::SetValues |
( |
const std::vector< PVRTypeIntValue > & | values, |
|
|
int | defaultValue = -1 ) |
|
inline |
optional
value definitions.
Array containing the possible settings values. If left blank, any int value is accepted.
- Parameters
-
[in] | values | List of possible values |
[in] | defaultValue | [opt] The default value in list, can also be set by SetDefaultValue() |
The following table contains values that can be set with class PVRTypeIntValue :