PVR add-on string setting definition
Representation of a string setting definition.
More...
PVR add-on string setting definition
Representation of a string setting definition.
◆ GetAllowEmptyValue()
bool kodi::addon::PVRStringSettingDefinition::GetAllowEmptyValue |
( |
| ) |
const |
|
inline |
◆ GetDefaultValue()
std::string kodi::addon::PVRStringSettingDefinition::GetDefaultValue |
( |
| ) |
const |
|
inline |
◆ GetValues()
std::vector< PVRTypeStringValue > kodi::addon::PVRStringSettingDefinition::GetValues |
( |
| ) |
const |
|
inline |
◆ PVRStringSettingDefinition()
kodi::addon::PVRStringSettingDefinition::PVRStringSettingDefinition |
( |
const std::vector< PVRTypeStringValue > & | settingValues, |
|
|
const std::string & | defaultValue, |
|
|
bool | allowEmptyValue ) |
|
inline |
Class constructor with integrated values.
- Parameters
-
[in] | settingValues | possible setting values |
[in] | defaultValue | default setting value |
[in] | allowEmptyValues | allow empty values flag |
◆ SetAllowEmptyValue()
void kodi::addon::PVRStringSettingDefinition::SetAllowEmptyValue |
( |
bool | allowEmptyValue | ) |
|
|
inline |
optional
The allow empty values flag for this setting.
◆ SetDefaultValue()
void kodi::addon::PVRStringSettingDefinition::SetDefaultValue |
( |
const std::string & | defaultValue | ) |
|
|
inline |
optional
The default value for this setting.
◆ SetValues()
void kodi::addon::PVRStringSettingDefinition::SetValues |
( |
const std::vector< PVRTypeStringValue > & | values, |
|
|
const std::string & | defaultValue = "" ) |
|
inline |
optional
value definitions.
Array containing the possible settings values. If left blank, any string 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 PVRTypeStringValue :