Kodi Development 22.0
for Binary and Script based Add-Ons
 
Loading...
Searching...
No Matches
pvr_providers.h
1/*
2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
8
9#ifndef C_API_ADDONINSTANCE_PVR_PROVIDERS_H
10#define C_API_ADDONINSTANCE_PVR_PROVIDERS_H
11
12#include "pvr_defines.h"
13
14#include <stdbool.h>
15
16//¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
17// "C" Definitions group 2 - PVR providers
18#ifdef __cplusplus
19extern "C"
20{
21#endif /* __cplusplus */
22
23 //============================================================================
28#define PVR_PROVIDER_INVALID_UID -1
29 //----------------------------------------------------------------------------
30
31 //============================================================================
36#define PROVIDER_STRING_TOKEN_SEPARATOR ","
37
38 //============================================================================
70 //----------------------------------------------------------------------------
71
79 typedef struct PVR_PROVIDER
80 {
81 unsigned int iUniqueId;
82 const char* strName;
83 enum PVR_PROVIDER_TYPE type;
84 const char* strIconPath;
87 const char* strCountries;
90 const char* strLanguages;
92
93#ifdef __cplusplus
94}
95#endif /* __cplusplus */
96
97#endif /* !C_API_ADDONINSTANCE_PVR_PROVIDERS_H */
PVR_PROVIDER_TYPE
Definition pvr_providers.h:47
@ PVR_PROVIDER_TYPE_OTHER
6 : Other type of provider.
Definition pvr_providers.h:67
@ PVR_PROVIDER_TYPE_AERIAL
4 : Aerial provider.
Definition pvr_providers.h:61
@ PVR_PROVIDER_TYPE_IPTV
5 : IPTV provider.
Definition pvr_providers.h:64
@ PVR_PROVIDER_TYPE_SATELLITE
2 : Satellite provider.
Definition pvr_providers.h:55
@ PVR_PROVIDER_TYPE_CABLE
3 : Cable provider.
Definition pvr_providers.h:58
@ PVR_PROVIDER_TYPE_UNKNOWN
0 : Unknown type.
Definition pvr_providers.h:49
@ PVR_PROVIDER_TYPE_ADDON
1 : IPTV provider.
Definition pvr_providers.h:52
"C" PVR add-on provider.
Definition pvr_providers.h:80
const char * strCountries
ISO 3166 country codes, separated by PROVIDER_STRING_TOKEN_SEPARATOR (e.g 'GB,IE,FR,...
Definition pvr_providers.h:87
const char * strLanguages
RFC 5646 language codes, separated by PROVIDER_STRING_TOKEN_SEPARATOR (e.g. 'en_GB,...
Definition pvr_providers.h:90