[Windows] Fix driver version detection of AMD RDNA+ GPU on Windows 10
[xbmc.git] / xbmc / music / windows / GUIWindowMusicNav.h
blob9804e7f27bbdae11275add360bf4d868157bf0a3
1 /*
2 * Copyright (C) 2005-2018 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 #include "GUIWindowMusicBase.h"
12 #include "utils/Stopwatch.h"
14 class CFileItemList;
16 class CGUIWindowMusicNav : public CGUIWindowMusicBase
18 public:
20 CGUIWindowMusicNav(void);
21 ~CGUIWindowMusicNav(void) override;
23 bool OnMessage(CGUIMessage& message) override;
24 bool OnAction(const CAction& action) override;
25 void FrameMove() override;
27 protected:
28 void OnItemLoaded(CFileItem* pItem) override {};
29 // override base class methods
30 bool Update(const std::string &strDirectory, bool updateFilterPath = true) override;
31 bool GetDirectory(const std::string &strDirectory, CFileItemList &items) override;
32 void UpdateButtons() override;
33 void PlayItem(int iItem) override;
34 void OnWindowLoaded() override;
35 void GetContextButtons(int itemNumber, CContextButtons &buttons) override;
36 bool OnPopupMenu(int iItem) override;
37 bool OnContextButton(int itemNumber, CONTEXT_BUTTON button) override;
38 bool OnClick(int iItem, const std::string &player = "") override;
39 std::string GetStartFolder(const std::string &url) override;
41 bool GetSongsFromPlayList(const std::string& strPlayList, CFileItemList &items);
42 bool ManageInfoProvider(const CFileItemPtr& item);
44 VECSOURCES m_shares;
46 // searching
47 void OnSearchUpdate();
48 void AddSearchFolder();
49 CStopWatch m_searchTimer; ///< Timer to delay a search while more characters are entered
50 bool m_searchWithEdit; ///< Whether the skin supports the new edit control searching