Debian Codegraph @

xbmc/playlists/PlayListTypes.h

raw
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 namespace PLAYLIST
12 {
13
14 using Id = int;
15
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
20
21 /*!
22 * \brief Manages playlist playing.
23 */
24 enum class RepeatState
25 {
26 NONE,
27 ONE,
28 ALL
29 };
30
31 } // namespace PLAYLIST