aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKai Sommerfeld <kai.sommerfeld@gmx.com>2016-01-14 23:26:25 +0100
committerKai Sommerfeld <kai.sommerfeld@gmx.com>2016-02-15 14:56:52 +0100
commit76180aee32a039f9550c4f063b4e139ec72f57d0 (patch)
tree5249f0fe77cfaf3bd3dfe44f4467a25669b10b8b /lib
parentb4c092b807c4c2b6ef22c7aa612bed5a65ac667e (diff)
[PVR] Addon API: add epg event changes callback (async epg data transfer)
Diffstat (limited to 'lib')
-rw-r--r--lib/addons/library.xbmc.pvr/libXBMC_pvr.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/addons/library.xbmc.pvr/libXBMC_pvr.cpp b/lib/addons/library.xbmc.pvr/libXBMC_pvr.cpp
index 8545cb7ad8..2858693e30 100644
--- a/lib/addons/library.xbmc.pvr/libXBMC_pvr.cpp
+++ b/lib/addons/library.xbmc.pvr/libXBMC_pvr.cpp
@@ -172,6 +172,14 @@ DLLEXPORT void PVR_connection_state_change(void *hdl, void* cb, const char *strC
((CB_PVRLib*)cb)->ConnectionStateChange(((AddonCB*)hdl)->addonData, strConnectionString, newState, strMessage);
}
+DLLEXPORT void PVR_epg_event_state_change(void *hdl, void* cb, EPG_TAG *tag, unsigned int iUniqueChannelId, EPG_EVENT_STATE newState)
+{
+ if (cb == NULL)
+ return;
+
+ ((CB_PVRLib*)cb)->EpgEventStateChange(((AddonCB*)hdl)->addonData, tag, iUniqueChannelId, newState);
+}
+
DLLEXPORT void PVR_transfer_channel_group(void *hdl, void* cb, const ADDON_HANDLE handle, const PVR_CHANNEL_GROUP *group)
{
if (cb == NULL)