From 4830f27a40323fe859dc166337a2b861877b7121 Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 1 Jan 2018 13:40:09 +0100 Subject: sync with upstream --- .../kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h | 48 +--------------------- 1 file changed, 1 insertion(+), 47 deletions(-) (limited to 'xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h') 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 019644b..25cacb4 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 @@ -210,14 +210,6 @@ extern "C" */ PVR_ERROR RenameChannel(const PVR_CHANNEL& channel); - /*! - * Move a channel to another channel number on the backend. - * @param channel The channel to move, containing the new channel number. - * @return PVR_ERROR_NO_ERROR if the channel has been moved successfully. - * @remarks Optional, and only used if bSupportsChannelSettings is set to true. Return PVR_ERROR_NOT_IMPLEMENTED if this add-on won't provide this function. - */ - PVR_ERROR MoveChannel(const PVR_CHANNEL& channel); - /*! * Show the channel settings dialog, if supported by the backend. * @param channel The channel to show the dialog for. @@ -246,7 +238,7 @@ extern "C" /*! * @return The total amount of recordings on the backend or -1 on error. * @param deleted if set return deleted recording (called if bSupportsRecordingsUndelete set to true) - * @remarks Required if bSupportsRecordings is set to true. Return PVR_ERROR_NOT_IMPLEMENTED if this add-on won't provide this function. + * @remarks Required if bSupportsRecordings is set to true. Return -1 if this add-on won't provide this function. */ int GetRecordingsAmount(bool deleted); @@ -426,12 +418,6 @@ extern "C" */ long long SeekLiveStream(long long iPosition, int iWhence = SEEK_SET); - /*! - * @return The position in the stream that's currently being read. - * @remarks Optional, and only used if bHandlesInputStream is set to true. Return -1 if this add-on won't provide this function. - */ - long long PositionLiveStream(void); - /*! * @return The total length of the stream that's currently being read. * @remarks Optional, and only used if bHandlesInputStream is set to true. Return -1 if this add-on won't provide this function. @@ -519,12 +505,6 @@ extern "C" */ long long SeekRecordedStream(long long iPosition, int iWhence = SEEK_SET); - /*! - * @return The position in the stream that's currently being read. - * @remarks Optional, and only used if bSupportsRecordings is set to true. Return -1 if this add-on won't provide this function. - */ - long long PositionRecordedStream(void); - /*! * @return The total length of the stream that's currently being read. * @remarks Optional, and only used if bSupportsRecordings is set to true. Return -1 if this add-on won't provide this function. @@ -605,25 +585,6 @@ extern "C" */ void SetSpeed(int speed); - /*! - * Get actual playing time from addon. With timeshift enabled this is - * different to live. - * @return time as UTC - */ - time_t GetPlayingTime(); - - /*! - * Get time of oldest packet in timeshift buffer - * @return time as UTC - */ - time_t GetBufferTimeStart(); - - /*! - * Get time of latest packet in timeshift buffer - * @return time as UTC - */ - time_t GetBufferTimeEnd(); - /*! * Get the hostname of the pvr backend server * @return hostname as ip address or alias. If backend does not @@ -699,7 +660,6 @@ extern "C" pClient->toAddon.GetChannels = GetChannels; pClient->toAddon.DeleteChannel = DeleteChannel; pClient->toAddon.RenameChannel = RenameChannel; - pClient->toAddon.MoveChannel = MoveChannel; pClient->toAddon.OpenDialogChannelSettings = OpenDialogChannelSettings; pClient->toAddon.OpenDialogChannelAdd = OpenDialogChannelAdd; @@ -726,7 +686,6 @@ extern "C" pClient->toAddon.CloseLiveStream = CloseLiveStream; pClient->toAddon.ReadLiveStream = ReadLiveStream; pClient->toAddon.SeekLiveStream = SeekLiveStream; - pClient->toAddon.PositionLiveStream = PositionLiveStream; pClient->toAddon.LengthLiveStream = LengthLiveStream; pClient->toAddon.SignalStatus = SignalStatus; pClient->toAddon.GetDescrambleInfo = GetDescrambleInfo; @@ -742,7 +701,6 @@ extern "C" pClient->toAddon.CloseRecordedStream = CloseRecordedStream; pClient->toAddon.ReadRecordedStream = ReadRecordedStream; pClient->toAddon.SeekRecordedStream = SeekRecordedStream; - pClient->toAddon.PositionRecordedStream = PositionRecordedStream; pClient->toAddon.LengthRecordedStream = LengthRecordedStream; pClient->toAddon.DemuxReset = DemuxReset; @@ -750,10 +708,6 @@ extern "C" pClient->toAddon.DemuxFlush = DemuxFlush; pClient->toAddon.DemuxRead = DemuxRead; - pClient->toAddon.GetPlayingTime = GetPlayingTime; - pClient->toAddon.GetBufferTimeStart = GetBufferTimeStart; - pClient->toAddon.GetBufferTimeEnd = GetBufferTimeEnd; - pClient->toAddon.GetBackendHostname = GetBackendHostname; pClient->toAddon.IsTimeshifting = IsTimeshifting; -- cgit v1.2.3