diff options
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.h | 13 |
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 | ||
