Kodi Development 22.0
for Binary and Script based Add-Ons
 
Loading...
Searching...
No Matches
pvr_channels.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_CHANNELS_H
10#define C_API_ADDONINSTANCE_PVR_CHANNELS_H
11
12#include "pvr_defines.h"
13
14#include <stdbool.h>
15
16//¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
17// "C" Definitions group 2 - PVR channel
18#ifdef __cplusplus
19extern "C"
20{
21#endif /* __cplusplus */
22
23 //============================================================================
30#define PVR_CHANNEL_INVALID_UID -1
31 //----------------------------------------------------------------------------
32
40 typedef struct PVR_CHANNEL
41 {
42 unsigned int iUniqueId;
43 bool bIsRadio;
44 unsigned int iChannelNumber;
45 unsigned int iSubChannelNumber;
46 const char* strChannelName;
47 const char* strMimeType;
48 unsigned int iEncryptionSystem;
49 const char* strIconPath;
50 bool bIsHidden;
51 bool bHasArchive;
52 int iOrder;
53 int iClientProviderUid;
55
63 typedef struct PVR_SIGNAL_STATUS
64 {
65 const char* strAdapterName;
66 const char* strAdapterStatus;
67 const char* strServiceName;
68 const char* strProviderName;
69 const char* strMuxName;
70 int iSNR;
71 int iSignal;
72 long iBER;
73 long iUNC;
75
76 //============================================================================
81#define PVR_DESCRAMBLE_INFO_NOT_AVAILABLE -1
82 //----------------------------------------------------------------------------
83
91 typedef struct PVR_DESCRAMBLE_INFO
92 {
93 int iPid;
94 int iCaid;
95 int iProvid;
96 int iEcmTime;
97 int iHops;
98 const char* strCardSystem;
99 const char* strReader;
100 const char* strFrom;
101 const char* strProtocol;
103
104#ifdef __cplusplus
105}
106#endif /* __cplusplus */
107
108#endif /* !C_API_ADDONINSTANCE_PVR_CHANNELS_H */
"C" PVR add-on channel.
Definition pvr_channels.h:41
"C" PVR add-on descramble information.
Definition pvr_channels.h:92
"C" PVR add-on signal status information.
Definition pvr_channels.h:64