Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches

#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.
 
unsigned int GetUniqueId () const
 To get with SetUniqueId changed values.
 
void SetName (const std::string &name)
 required
Name given to this provider.
 
std::string GetName () const
 To get with SetName changed values.
 
void SetType (PVR_PROVIDER_TYPE type)
 optional
Provider type.
 
PVR_PROVIDER_TYPE GetType () const
 To get with SetType changed values.
 
void SetIconPath (const std::string &iconPath)
 optional
Path to the provider icon (if present).
 
std::string GetIconPath () const
 To get with SetIconPath changed values.
 
void SetCountries (const std::vector< std::string > &countries)
 optional
The country codes for the provider.
 
std::vector< std::string > GetCountries () const
 To get with SetCountries changed values.
 
void SetLanguages (const std::vector< std::string > &languages)
 optional
The language codes for the provider.
 
std::vector< std::string > GetLanguages () const
 To get with SetLanguages changed values.
 
- 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 Symbol Documentation

◆ CInstancePVRClient

friend class CInstancePVRClient
friend

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