xbmc
pvr_channel_groups.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_CHANNEL_GROUPS_H
10 #define C_API_ADDONINSTANCE_PVR_CHANNEL_GROUPS_H
11 
12 #include "pvr_defines.h"
13 
14 #include <stdbool.h>
15 
16 //¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
17 // "C" Definitions group 3 - PVR channel group
18 #ifdef __cplusplus
19 extern "C"
20 {
21 #endif /* __cplusplus */
22 
30  typedef struct PVR_CHANNEL_GROUP
31  {
32  char strGroupName[PVR_ADDON_NAME_STRING_LENGTH];
33  bool bIsRadio;
34  unsigned int iPosition;
36 
44  typedef struct PVR_CHANNEL_GROUP_MEMBER
45  {
46  char strGroupName[PVR_ADDON_NAME_STRING_LENGTH];
47  unsigned int iChannelUniqueId;
48  unsigned int iChannelNumber;
49  unsigned int iSubChannelNumber;
50  int iOrder;
52 
53 #ifdef __cplusplus
54 }
55 #endif /* __cplusplus */
56 
57 #endif /* !C_API_ADDONINSTANCE_PVR_CHANNEL_GROUPS_H */
"C" PVR add-on channel group member.
Definition: pvr_channel_groups.h:44
"C" PVR add-on channel group.
Definition: pvr_channel_groups.h:30