summaryrefslogtreecommitdiffstats
path: root/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/pvr.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/pvr.h')
-rw-r--r--xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/pvr.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/pvr.h b/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/pvr.h
index a50ea2b..cc24e5d 100644
--- a/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/pvr.h
+++ b/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/pvr.h
@@ -6,8 +6,6 @@
6 * See LICENSES/README.md for more information. 6 * See LICENSES/README.md for more information.
7 */ 7 */
8 8
9#pragma once
10
11#ifndef C_API_ADDONINSTANCE_PVR_H 9#ifndef C_API_ADDONINSTANCE_PVR_H
12#define C_API_ADDONINSTANCE_PVR_H 10#define C_API_ADDONINSTANCE_PVR_H
13 11
@@ -67,7 +65,8 @@ extern "C"
67 { 65 {
68 const char* strUserPath; 66 const char* strUserPath;
69 const char* strClientPath; 67 const char* strClientPath;
70 int iEpgMaxDays; 68 int iEpgMaxFutureDays;
69 int iEpgMaxPastDays;
71 } AddonProperties_PVR; 70 } AddonProperties_PVR;
72 71
73 /*! 72 /*!
@@ -124,8 +123,8 @@ extern "C"
124 123
125 //--==----==----==----==----==----==----==----==----==----==----==----==----== 124 //--==----==----==----==----==----==----==----==----==----==----==----==----==
126 // Stream demux interface functions 125 // Stream demux interface functions
127 void (*FreeDemuxPacket)(void* kodiInstance, struct DemuxPacket* pPacket); 126 void (*FreeDemuxPacket)(void* kodiInstance, struct DEMUX_PACKET* pPacket);
128 struct DemuxPacket* (*AllocateDemuxPacket)(void* kodiInstance, int iDataSize); 127 struct DEMUX_PACKET* (*AllocateDemuxPacket)(void* kodiInstance, int iDataSize);
129 struct PVR_CODEC (*GetCodecByName)(const void* kodiInstance, const char* strCodecName); 128 struct PVR_CODEC (*GetCodecByName)(const void* kodiInstance, const char* strCodecName);
130 129
131 //--==----==----==----==----==----==----==----==----==----==----==----==----== 130 //--==----==----==----==----==----==----==----==----==----==----==----==----==
@@ -210,7 +209,8 @@ extern "C"
210 const struct EPG_TAG*, 209 const struct EPG_TAG*,
211 struct PVR_NAMED_VALUE*, 210 struct PVR_NAMED_VALUE*,
212 unsigned int*); 211 unsigned int*);
213 enum PVR_ERROR(__cdecl* SetEPGTimeFrame)(const struct AddonInstance_PVR*, int); 212 enum PVR_ERROR(__cdecl* SetEPGMaxPastDays)(const struct AddonInstance_PVR*, int);
213 enum PVR_ERROR(__cdecl* SetEPGMaxFutureDays)(const struct AddonInstance_PVR*, int);
214 enum PVR_ERROR(__cdecl* CallEPGMenuHook)(const struct AddonInstance_PVR*, 214 enum PVR_ERROR(__cdecl* CallEPGMenuHook)(const struct AddonInstance_PVR*,
215 const struct PVR_MENUHOOK*, 215 const struct PVR_MENUHOOK*,
216 const struct EPG_TAG*); 216 const struct EPG_TAG*);
@@ -295,7 +295,7 @@ extern "C"
295 // Stream demux interface functions 295 // Stream demux interface functions
296 enum PVR_ERROR(__cdecl* GetStreamProperties)(const struct AddonInstance_PVR*, 296 enum PVR_ERROR(__cdecl* GetStreamProperties)(const struct AddonInstance_PVR*,
297 struct PVR_STREAM_PROPERTIES*); 297 struct PVR_STREAM_PROPERTIES*);
298 struct DemuxPacket*(__cdecl* DemuxRead)(const struct AddonInstance_PVR*); 298 struct DEMUX_PACKET*(__cdecl* DemuxRead)(const struct AddonInstance_PVR*);
299 void(__cdecl* DemuxReset)(const struct AddonInstance_PVR*); 299 void(__cdecl* DemuxReset)(const struct AddonInstance_PVR*);
300 void(__cdecl* DemuxAbort)(const struct AddonInstance_PVR*); 300 void(__cdecl* DemuxAbort)(const struct AddonInstance_PVR*);
301 void(__cdecl* DemuxFlush)(const struct AddonInstance_PVR*); 301 void(__cdecl* DemuxFlush)(const struct AddonInstance_PVR*);