[ExecString] combine SplitParameters with identical function of CUtil
[xbmc.git] / xbmc / application / ApplicationPlayerCallback.h
blobeba42fd7c53df08926507def169e6420486c951b
1 /*
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.
7 */
9 #pragma once
11 #include "cores/IPlayerCallback.h"
12 #include "threads/Event.h"
14 #include <memory>
16 class CApplicationStackHelper;
17 class CFileItem;
19 class CApplicationPlayerCallback : public IPlayerCallback
21 public:
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;