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_recordings.h"
21#include "pvr/pvr_stream.h"
22#include "pvr/pvr_timers.h"
66 const char* strUserPath;
67 const char* strClientPath;
68 int iEpgMaxFutureDays;
78 KODI_HANDLE kodiInstance;
82 void (*AddMenuHook)(
void* kodiInstance,
const struct PVR_MENUHOOK* hook);
83 void (*RecordingNotification)(
void* kodiInstance,
87 void (*ConnectionStateChange)(
void* kodiInstance,
88 const char* strConnectionString,
90 const char* strMessage);
91 void (*EpgEventStateChange)(
void* kodiInstance,
97 void (*TransferChannelEntry)(
void* kodiInstance,
98 const ADDON_HANDLE handle,
100 void (*TransferChannelGroup)(
void* kodiInstance,
101 const ADDON_HANDLE handle,
103 void (*TransferChannelGroupMember)(
void* kodiInstance,
104 const ADDON_HANDLE handle,
106 void (*TransferEpgEntry)(
void* kodiInstance,
107 const ADDON_HANDLE handle,
108 const struct EPG_TAG* epgentry);
109 void (*TransferRecordingEntry)(
void* kodiInstance,
110 const ADDON_HANDLE handle,
112 void (*TransferTimerEntry)(
void* kodiInstance,
113 const ADDON_HANDLE handle,
118 void (*TriggerChannelUpdate)(
void* kodiInstance);
119 void (*TriggerChannelGroupsUpdate)(
void* kodiInstance);
120 void (*TriggerEpgUpdate)(
void* kodiInstance,
unsigned int iChannelUid);
121 void (*TriggerRecordingUpdate)(
void* kodiInstance);
122 void (*TriggerTimerUpdate)(
void* kodiInstance);
126 void (*FreeDemuxPacket)(
void* kodiInstance,
struct DEMUX_PACKET* pPacket);
127 struct DEMUX_PACKET* (*AllocateDemuxPacket)(
void* kodiInstance,
int iDataSize);
128 struct PVR_CODEC (*GetCodecByName)(
const void* kodiInstance,
const char* strCodecName);
141 KODI_HANDLE addonInstance;
196 enum PVR_ERROR(__cdecl* GetEPGForChannel)(
282 int(__cdecl* ReadLiveStream)(
const struct AddonInstance_PVR*,
unsigned char*,
unsigned int);
290 int(__cdecl* ReadRecordedStream)(
const struct AddonInstance_PVR*,
unsigned char*,
unsigned int);
291 int64_t(__cdecl* SeekRecordedStream)(
const struct AddonInstance_PVR*, int64_t, int);
PVR_CONNECTION_STATE
Definition: pvr_general.h:82
PVR_ERROR
Definition: pvr_general.h:35
Definition: pvr_stream.h:94
EPG_EVENT_STATE
Definition: pvr_epg.h:602
Structure to define typical standard values.
Definition: pvr.h:65
Structure to transfer the methods from Kodi to addon.
Definition: pvr.h:76
"C" PVR add-on channel group member.
Definition: pvr_epg.h:623
Structure to transfer the methods from addon to Kodi.
Definition: pvr.h:139
"C" PVR add-on capabilities.
Definition: pvr_general.h:258
"C" PVR add-on channel group member.
Definition: pvr_channel_groups.h:45
"C" PVR add-on channel group.
Definition: pvr_channel_groups.h:31
"C" PVR add-on channel.
Definition: pvr_channels.h:41
"C" PVR add-on descramble information.
Definition: pvr_channels.h:91
"C" Edit definition list entry.
Definition: pvr_edl.h:55
"C" PVR add-on menu hook.
Definition: pvr_menu_hook.h:65
"C" Representation of a named value.
Definition: pvr_defines.h:55
"C" PVR add-on recording.
Definition: pvr_recordings.h:110
"C" PVR add-on signal status information.
Definition: pvr_channels.h:63
"C" Stream properties
Definition: pvr_stream.h:112
"C" Times of playing stream (Live TV and recordings)
Definition: pvr_stream.h:142
"C" PVR add-on timer event type.
Definition: pvr_timers.h:380
"C" PVR add-on timer event.
Definition: pvr_timers.h:341