Merge pull request #22816 from CastagnaIT/fix_tx3g
[xbmc.git] / xbmc / playlists / PlayListTypes.h
blob84462c1b0bed08ddb0e91df1d135b6d3413363e6
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 namespace PLAYLIST
14 using Id = int;
16 constexpr Id TYPE_NONE = -1; //! Playlist id of type none
17 constexpr Id TYPE_MUSIC = 0; //! Playlist id of type music
18 constexpr Id TYPE_VIDEO = 1; //! Playlist id of type video
19 constexpr Id TYPE_PICTURE = 2; //! Playlist id of type picture
21 /*!
22 * \brief Manages playlist playing.
24 enum class RepeatState
26 NONE,
27 ONE,
28 ALL
31 } // namespace PLAYLIST