kodi
PlayerUtils.h
1 /*
2  * Copyright (C) 2022 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include <memory>
12 
13 class CApplicationPlayer;
14 class CFileItem;
15 
16 enum class TempoStepChange
17 {
18  INCREASE,
19  DECREASE,
20 };
21 
23 {
24 public:
25  static bool IsItemPlayable(const CFileItem& item);
26  static void AdvanceTempoStep(std::shared_ptr<CApplicationPlayer> appPlayer,
27  TempoStepChange change);
28 };
Definition: ApplicationPlayer.h:33
Definition: PlayerUtils.h:22
Represents a file on a share.
Definition: FileItem.h:102