Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.

#include <Providers.h>

Inheritance diagram for kodi::addon::PVRProvider:
kodi::addon::CStructHdl< PVRProvider, PVR_PROVIDER >

Public Member Functions

void SetUniqueId (unsigned int uniqueId)
 required
Unique identifier for this provider. More...
 
unsigned int GetUniqueId () const
 To get with SetUniqueId changed values. More...
 
void SetName (const std::string &name)
 required
Name given to this provider. More...
 
std::string GetName () const
 To get with SetName changed values. More...
 
void SetType (PVR_PROVIDER_TYPE type)
 optional
Provider type. More...
 
PVR_PROVIDER_TYPE GetType () const
 To get with SetType changed values. More...
 
void SetIconPath (const std::string &iconPath)
 optional
Path to the provider icon (if present). More...
 
std::string GetIconPath () const
 To get with SetIconPath changed values. More...
 
void SetCountries (const std::vector< std::string > &countries)
 optional
The country codes for the provider. More...
 
std::vector< std::string > GetCountries () const
 To get with SetCountries changed values. More...
 
void SetLanguages (const std::vector< std::string > &languages)
 optional
The language codes for the provider. More...
 
std::vector< std::string > GetLanguages () const
 To get with SetLanguages changed values. More...
 
- Public Member Functions inherited from kodi::addon::CStructHdl< PVRProvider, PVR_PROVIDER >
 CStructHdl ()
 
 CStructHdl (const PVRProvider &cppClass)
 
 CStructHdl (const PVR_PROVIDER *cStructure)
 
 CStructHdl (PVR_PROVIDER *cStructure)
 
const CStructHdloperator= (const CStructHdl &right)
 
const CStructHdloperator= (const PVR_PROVIDER &right)
 
virtual ~CStructHdl ()
 
 operator PVR_PROVIDER * ()
 
 operator const PVR_PROVIDER * () const
 
const PVR_PROVIDERGetCStructure () const
 

Friends

class CInstancePVRClient
 

Additional Inherited Members

- Protected Attributes inherited from kodi::addon::CStructHdl< PVRProvider, PVR_PROVIDER >
PVR_PROVIDERm_cStructure
 

Member Function Documentation

◆ GetCountries()

std::vector< std::string > kodi::addon::PVRProvider::GetCountries ( ) const
inline

To get with SetCountries changed values.

◆ GetLanguages()

std::vector< std::string > kodi::addon::PVRProvider::GetLanguages ( ) const
inline

To get with SetLanguages changed values.

◆ SetCountries()

void kodi::addon::PVRProvider::SetCountries ( const std::vector< std::string > &  countries)
inline

optional
The country codes for the provider.

Note
ISO 3166 country codes required (e.g 'GB,IE,CA').

◆ SetLanguages()

void kodi::addon::PVRProvider::SetLanguages ( const std::vector< std::string > &  languages)
inline

optional
The language codes for the provider.

Note
RFC 5646 standard codes required (e.g.: 'en_GB,fr_CA').

Friends And Related Function Documentation

◆ CInstancePVRClient

friend class CInstancePVRClient
friend

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