summaryrefslogtreecommitdiffstats
path: root/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2016-05-01 18:06:14 +0200
committermanuel <manuel@mausz.at>2016-05-01 18:06:14 +0200
commit5823b05feb29a59510c32a9c28ca18b50b9b6399 (patch)
treeac1603a592af9415b722b2669e04e417bd13c45c /xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h
parent88de33e1836c646ccf594ef162c258d1210fd24e (diff)
downloadkodi-pvr-build-5823b05feb29a59510c32a9c28ca18b50b9b6399.tar.gz
kodi-pvr-build-5823b05feb29a59510c32a9c28ca18b50b9b6399.tar.bz2
kodi-pvr-build-5823b05feb29a59510c32a9c28ca18b50b9b6399.zip
sync with upstream
Diffstat (limited to 'xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h')
-rw-r--r--xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h b/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h
index 5cb6075..2cf558a 100644
--- a/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h
+++ b/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h
@@ -648,6 +648,14 @@ extern "C"
648 PVR_ERROR SetEPGTimeFrame(int iDays); 648 PVR_ERROR SetEPGTimeFrame(int iDays);
649 649
650 /*! 650 /*!
651 * Notify the pvr addon for power management events
652 */
653 void OnSystemSleep();
654 void OnSystemWake();
655 void OnPowerSavingActivated();
656 void OnPowerSavingDeactivated();
657
658 /*!
651 * Called by XBMC to assign the function pointers of this add-on to pClient. 659 * Called by XBMC to assign the function pointers of this add-on to pClient.
652 * @param pClient The struct to assign the function pointers to. 660 * @param pClient The struct to assign the function pointers to.
653 */ 661 */
@@ -736,6 +744,11 @@ extern "C"
736 pClient->IsRealTimeStream = IsRealTimeStream; 744 pClient->IsRealTimeStream = IsRealTimeStream;
737 745
738 pClient->SetEPGTimeFrame = SetEPGTimeFrame; 746 pClient->SetEPGTimeFrame = SetEPGTimeFrame;
747
748 pClient->OnSystemSleep = OnSystemSleep;
749 pClient->OnSystemWake = OnSystemWake;
750 pClient->OnPowerSavingActivated = OnPowerSavingActivated;
751 pClient->OnPowerSavingDeactivated = OnPowerSavingDeactivated;
739 }; 752 };
740}; 753};
741 754