[Windows] Fix driver version detection of AMD RDNA+ GPU on Windows 10
[xbmc.git] / xbmc / music / windows / GUIWindowMusicPlaylist.h
blob019a1c72c5bd5ad6ff3027adcf1d6797e9ed430a
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"
13 class CGUIWindowMusicPlayList : public CGUIWindowMusicBase
15 public:
16 CGUIWindowMusicPlayList(void);
17 ~CGUIWindowMusicPlayList(void) override;
19 bool OnMessage(CGUIMessage& message) override;
20 bool OnAction(const CAction &action) override;
21 bool OnBack(int actionID) override;
23 void RemovePlayListItem(int iItem);
24 void MoveItem(int iStart, int iDest);
26 protected:
27 bool GoParentFolder() override { return false; }
28 void UpdateButtons() override;
29 void OnItemLoaded(CFileItem* pItem) override;
30 bool Update(const std::string& strDirectory, bool updateFilterPath = true) override;
31 void GetContextButtons(int itemNumber, CContextButtons &buttons) override;
32 bool OnContextButton(int itemNumber, CONTEXT_BUTTON button) override;
33 void OnMove(int iItem, int iAction);
34 bool OnPlayMedia(int iItem, const std::string &player = "") override;
36 void SavePlayList();
37 void ClearPlayList();
38 void MarkPlaying();
40 bool MoveCurrentPlayListItem(int iItem, int iAction, bool bUpdate = true);
42 int m_movingFrom;
43 VECSOURCES m_shares;