blob: 36f9ed6fc3f64d675ed72452eb71b48fd79728c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
/*
* Copyright (C) 2005-2018 Team Kodi
* This file is part of Kodi - https://kodi.tv
*
* SPDX-License-Identifier: GPL-2.0-or-later
* See LICENSES/README.md for more information.
*/
#pragma once
#include "pvr_defines.h"
#include <stdbool.h>
//¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
// "C" Definitions group 3 - PVR channel group
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
/*!
* @brief "C" PVR add-on channel group.
*
* Structure used to interface in "C" between Kodi and Addon.
*
* See @ref kodi::addon::PVRChannelGroup for description of values.
*/
typedef struct PVR_CHANNEL_GROUP
{
char strGroupName[PVR_ADDON_NAME_STRING_LENGTH];
bool bIsRadio;
unsigned int iPosition;
} PVR_CHANNEL_GROUP;
/*!
* @brief "C" PVR add-on channel group member.
*
* Structure used to interface in "C" between Kodi and Addon.
*
* See @ref kodi::addon::PVRChannelGroupMember for description of values.
*/
typedef struct PVR_CHANNEL_GROUP_MEMBER
{
char strGroupName[PVR_ADDON_NAME_STRING_LENGTH];
unsigned int iChannelUniqueId;
unsigned int iChannelNumber;
unsigned int iSubChannelNumber;
int iOrder;
} PVR_CHANNEL_GROUP_MEMBER;
#ifdef __cplusplus
}
#endif /* __cplusplus */
|