Merge pull request #26166 from ksooo/improve-plugin-ctx-menus
[xbmc.git] / xbmc / utils / PlayerUtils.h
blob83ea1ca551c813fb21d9247755ba84f099983b52
1 /*
2 * Copyright (C) 2022 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 <memory>
13 class CApplicationPlayer;
14 class CFileItem;
16 enum class TempoStepChange
18 INCREASE,
19 DECREASE,
22 class CPlayerUtils
24 public:
25 static bool IsItemPlayable(const CFileItem& item);
26 static void AdvanceTempoStep(const std::shared_ptr<CApplicationPlayer>& appPlayer,
27 TempoStepChange change);