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,
 
   99                                  const ADDON_HANDLE handle,
 
  101     void (*TransferProviderEntry)(
void* kodiInstance,
 
  102                                   const ADDON_HANDLE handle,
 
  104     void (*TransferChannelGroup)(
void* kodiInstance,
 
  105                                  const ADDON_HANDLE handle,
 
  107     void (*TransferChannelGroupMember)(
void* kodiInstance,
 
  108                                        const ADDON_HANDLE handle,
 
  110     void (*TransferEpgEntry)(
void* kodiInstance,
 
  111                              const ADDON_HANDLE handle,
 
  112                              const struct EPG_TAG* epgentry);
 
  113     void (*TransferRecordingEntry)(
void* kodiInstance,
 
  114                                    const ADDON_HANDLE handle,
 
  116     void (*TransferTimerEntry)(
void* kodiInstance,
 
  117                                const ADDON_HANDLE handle,
 
  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)(
 
  293     int(__cdecl* ReadLiveStream)(
const struct AddonInstance_PVR*, 
unsigned char*, 
unsigned int);
 
  301     int(__cdecl* ReadRecordedStream)(
const struct AddonInstance_PVR*, 
unsigned char*, 
unsigned int);
 
  302     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:66
Structure to transfer the methods from Kodi to addon.
Definition: pvr.h:77
"C" PVR add-on channel group member.
Definition: pvr_epg.h:623
Structure to transfer the methods from addon to Kodi.
Definition: pvr.h:144
"C" PVR add-on capabilities.
Definition: pvr_general.h:268
"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:92
"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:57
"C" PVR add-on provider.
Definition: pvr_providers.h:80
"C" PVR add-on recording.
Definition: pvr_recordings.h:110
"C" PVR add-on signal status information.
Definition: pvr_channels.h:64
"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