diff options
Diffstat (limited to 'xbmc/playlists/PlayListTypes.h')
-rw-r--r-- | xbmc/playlists/PlayListTypes.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/xbmc/playlists/PlayListTypes.h b/xbmc/playlists/PlayListTypes.h index 84462c1b0b..cf8ad2efb6 100644 --- a/xbmc/playlists/PlayListTypes.h +++ b/xbmc/playlists/PlayListTypes.h @@ -8,15 +8,16 @@ #pragma once -namespace PLAYLIST +namespace KODI::PLAYLIST { -using Id = int; - -constexpr Id TYPE_NONE = -1; //! Playlist id of type none -constexpr Id TYPE_MUSIC = 0; //! Playlist id of type music -constexpr Id TYPE_VIDEO = 1; //! Playlist id of type video -constexpr Id TYPE_PICTURE = 2; //! Playlist id of type picture +enum class Id : int +{ + TYPE_NONE = -1, + TYPE_MUSIC = 0, + TYPE_VIDEO = 1, + TYPE_PICTURE = 2 +}; /*! * \brief Manages playlist playing. @@ -28,4 +29,4 @@ enum class RepeatState ALL }; -} // namespace PLAYLIST +} // namespace KODI::PLAYLIST |