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.
11 #include "GUIWindowMusicBase.h"
13 class CGUIWindowMusicPlayList
: public CGUIWindowMusicBase
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
);
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
;
40 bool MoveCurrentPlayListItem(int iItem
, int iAction
, bool bUpdate
= true);