9 #ifndef C_API_ADDONINSTANCE_PVR_H 10 #define C_API_ADDONINSTANCE_PVR_H 12 #include "../../AddonBase.h" 13 #include "pvr/pvr_channel_groups.h" 14 #include "pvr/pvr_channels.h" 15 #include "pvr/pvr_defines.h" 16 #include "pvr/pvr_edl.h" 17 #include "pvr/pvr_epg.h" 18 #include "pvr/pvr_general.h" 19 #include "pvr/pvr_menu_hook.h" 20 #include "pvr/pvr_providers.h" 21 #include "pvr/pvr_recordings.h" 22 #include "pvr/pvr_stream.h" 23 #include "pvr/pvr_timers.h" 67 const char* strUserPath;
68 const char* strClientPath;
69 int iEpgMaxFutureDays;
79 KODI_HANDLE kodiInstance;
83 void (*AddMenuHook)(
void* kodiInstance,
const struct PVR_MENUHOOK* hook);
84 void (*RecordingNotification)(
void* kodiInstance,
88 void (*ConnectionStateChange)(
void* kodiInstance,
89 const char* strConnectionString,
91 const char* strMessage);
92 void (*EpgEventStateChange)(
void* kodiInstance,
98 void (*TransferChannelEntry)(
void* kodiInstance,
101 void (*TransferProviderEntry)(
void* kodiInstance,
104 void (*TransferChannelGroup)(
void* kodiInstance,
107 void (*TransferChannelGroupMember)(
void* kodiInstance,
110 void (*TransferEpgEntry)(
void* kodiInstance,
112 const struct EPG_TAG* epgentry);
113 void (*TransferRecordingEntry)(
void* kodiInstance,
116 void (*TransferTimerEntry)(
void* kodiInstance,
122 void (*TriggerChannelUpdate)(
void* kodiInstance);
123 void (*TriggerProvidersUpdate)(
void* kodiInstance);
124 void (*TriggerChannelGroupsUpdate)(
void* kodiInstance);
125 void (*TriggerEpgUpdate)(
void* kodiInstance,
unsigned int iChannelUid);
126 void (*TriggerRecordingUpdate)(
void* kodiInstance);
127 void (*TriggerTimerUpdate)(
void* kodiInstance);
131 void (*FreeDemuxPacket)(
void* kodiInstance,
struct DEMUX_PACKET* pPacket);
132 struct DEMUX_PACKET* (*AllocateDemuxPacket)(
void* kodiInstance,
int iDataSize);
133 struct PVR_CODEC (*GetCodecByName)(
const void* kodiInstance,
const char* strCodecName);
146 KODI_HANDLE addonInstance;
207 enum PVR_ERROR(__cdecl* GetEPGForChannel)(
226 const struct PVR_MENUHOOK*,
259 const struct PVR_RECORDING*,
263 const struct PVR_MENUHOOK*,
264 const struct PVR_RECORDING*);
279 const struct PVR_MENUHOOK*,
293 int(__cdecl* ReadLiveStream)(
const struct AddonInstance_PVR*,
unsigned char*,
unsigned int);
299 bool(__cdecl* OpenRecordedStream)(
const struct AddonInstance_PVR*,
const struct PVR_RECORDING*);
301 int(__cdecl* ReadRecordedStream)(
const struct AddonInstance_PVR*,
unsigned char*,
unsigned int);
302 int64_t(__cdecl* SeekRecordedStream)(
const struct AddonInstance_PVR*, int64_t, int);
"C" PVR add-on capabilities.
Definition: pvr_general.h:267
"C" PVR add-on timer event type.
Definition: pvr_timers.h:378
PVR_ERROR
Definition: pvr_general.h:34
"C" Edit definition list entry.
Definition: pvr_edl.h:54
"C" PVR add-on descramble information.
Definition: pvr_channels.h:91
"C" PVR add-on channel group member.
Definition: pvr_channel_groups.h:44
"C" PVR add-on recording.
Definition: pvr_recordings.h:109
Structure to transfer the methods from Kodi to addon.
Definition: pvr.h:76
Structure to define typical standard values.
Definition: pvr.h:65
"C" PVR add-on channel group member.
Definition: pvr_epg.h:622
"C" PVR add-on channel.
Definition: pvr_channels.h:40
PVR_CONNECTION_STATE
Definition: pvr_general.h:81
"C" Times of playing stream (Live TV and recordings)
Definition: pvr_stream.h:144
"C" Representation of a named value.
Definition: pvr_defines.h:56
Structure to transfer the methods from addon to Kodi.
Definition: pvr.h:143
"C" PVR add-on signal status information.
Definition: pvr_channels.h:63
Definition: SmartPlayList.cpp:137
Definition: demux_packet.h:45
"C" PVR add-on channel group.
Definition: pvr_channel_groups.h:30
"C" Stream properties
Definition: pvr_stream.h:114
"C" PVR add-on timer event.
Definition: pvr_timers.h:339
"C" PVR add-on provider.
Definition: pvr_providers.h:79
Definition: pvr_stream.h:96
EPG_EVENT_STATE
Definition: pvr_epg.h:601
Handle used to return data from the PVR add-on to CPVRClient.
Definition: pvr_defines.h:65