diff options
Diffstat (limited to 'xbmc/view/GUIViewState.h')
-rw-r--r-- | xbmc/view/GUIViewState.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xbmc/view/GUIViewState.h b/xbmc/view/GUIViewState.h index 8723081242..e995a3b8b8 100644 --- a/xbmc/view/GUIViewState.h +++ b/xbmc/view/GUIViewState.h @@ -17,10 +17,10 @@ class CViewState; // forward class CFileItemList; -namespace PLAYLIST +namespace KODI::PLAYLIST { -using Id = int; -} // namespace PLAYLIST +enum class Id; +} // namespace KODI::PLAYLIST class CGUIViewState { @@ -50,7 +50,7 @@ public: virtual bool HideParentDirItems(); virtual bool DisableAddSourceButtons(); - virtual PLAYLIST::Id GetPlaylist() const; + virtual KODI::PLAYLIST::Id GetPlaylist() const; const std::string& GetPlaylistDirectory(); void SetPlaylistDirectory(const std::string& strDirectory); bool IsCurrentPlaylistDirectory(const std::string& strDirectory); @@ -88,7 +88,7 @@ protected: const CFileItemList& m_items; int m_currentViewAsControl; - PLAYLIST::Id m_playlist; + KODI::PLAYLIST::Id m_playlist; std::vector<GUIViewSortDetails> m_sortMethods; int m_currentSortMethod; |