Provider data structure
Representation of a provider.
This is used to store all the necessary provider data and can either provide the necessary data from / to Kodi for the associated functions or can also be used in the addon to store its data.
The following table contains values that can be set with class PVRProvider :
◆ SetUniqueId()
void SetUniqueId |
( |
unsigned int |
uniqueId | ) |
|
|
inline |
required
Unique identifier for this provider.
◆ GetUniqueId()
unsigned int GetUniqueId |
( |
| ) |
const |
|
inline |
◆ SetName()
void SetName |
( |
const std::string & |
name | ) |
|
|
inline |
required
Name given to this provider.
◆ GetName()
std::string GetName |
( |
| ) |
const |
|
inline |
To get with SetName changed values.
◆ SetType()
optional
Provider type.
Set to PVR_PROVIDER_TYPE_UNKNOWN if the type cannot be determined.
Example:
Definition: Providers.h:40
@ PVR_PROVIDER_TYPE_SATELLITE
2 : Satellite provider.
Definition: pvr_providers.h:55
void SetType(PVR_PROVIDER_TYPE type)
optional Provider type.
Definition: Providers.h:97
◆ GetType()
To get with SetType changed values.
◆ SetIconPath()
void SetIconPath |
( |
const std::string & |
iconPath | ) |
|
|
inline |
optional
Path to the provider icon (if present).
◆ GetIconPath()
std::string GetIconPath |
( |
| ) |
const |
|
inline |