2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
11 #include "cores/IPlayerCallback.h"
12 #include "threads/Event.h"
16 class CApplicationStackHelper
;
19 class CApplicationPlayerCallback
: public IPlayerCallback
22 CApplicationPlayerCallback();
24 void OnPlayBackEnded() override
;
25 void OnPlayBackStarted(const CFileItem
& file
) override
;
26 void OnPlayerCloseFile(const CFileItem
& file
, const CBookmark
& bookmark
) override
;
27 void OnPlayBackPaused() override
;
28 void OnPlayBackResumed() override
;
29 void OnPlayBackStopped() override
;
30 void OnPlayBackError() override
;
31 void OnQueueNextItem() override
;
32 void OnPlayBackSeek(int64_t iTime
, int64_t seekOffset
) override
;
33 void OnPlayBackSeekChapter(int iChapter
) override
;
34 void OnPlayBackSpeedChanged(int iSpeed
) override
;
35 void OnAVChange() override
;
36 void OnAVStarted(const CFileItem
& file
) override
;
37 void RequestVideoSettings(const CFileItem
& fileItem
) override
;
38 void StoreVideoSettings(const CFileItem
& fileItem
, const CVideoSettings
& vs
) override
;