12 #include "utils/Stopwatch.h" 24 bool OnAction(
const CAction& action)
override;
28 void OnItemLoaded(
CFileItem* pItem)
override {};
30 bool Update(
const std::string &strDirectory,
bool updateFilterPath =
true)
override;
33 void PlayItem(
int iItem)
override;
34 void OnWindowLoaded()
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;
41 bool GetSongsFromPlayList(
const std::string& strPlayList,
CFileItemList &items);
42 bool ManageInfoProvider(
const CFileItemPtr& item);
47 void OnSearchUpdate();
48 void AddSearchFolder();
Definition: Stopwatch.h:14
Definition: GUIWindowMusicNav.h:16
void FrameMove() override
Main update function, called every frame prior to rendering Any window that requires updating on a fr...
Definition: GUIWindowMusicNav.cpp:897
Represents a list of files.
Definition: FileItem.h:702
void GetContextButtons(int itemNumber, CContextButtons &buttons) override
Will be called when an popup context menu has been asked for.
Definition: GUIWindowMusicNav.cpp:565
The base class for music windows.
Definition: GUIWindowMusicBase.h:37
void UpdateButtons() override
Overwrite to update your gui buttons (visible, enable,...)
Definition: GUIWindowMusicNav.cpp:487
Class encapsulating information regarding a particular user action to be sent to windows and controls...
Definition: Action.h:21
std::string GetStartFolder(const std::string &url) override
Translate the folder to start in from the given quick path.
Definition: GUIWindowMusicNav.cpp:949
bool Update(const std::string &strDirectory, bool updateFilterPath=true) override
Retrieves the items from the given path and updates the list.
Definition: GUIWindowMusicNav.cpp:364
bool m_searchWithEdit
Whether the skin supports the new edit control searching.
Definition: GUIWindowMusicNav.h:50
Definition: GUIMessage.h:365
bool OnMessage(CGUIMessage &message) override
Handle messages on window.
Definition: GUIWindowMusicNav.cpp:82
CStopWatch m_searchTimer
Timer to delay a search while more characters are entered.
Definition: GUIWindowMusicNav.h:49
Definition: GUIDialogContextMenu.h:93
bool OnClick(int iItem, const std::string &player="") override
On click.
Definition: GUIWindowMusicNav.cpp:335
bool GetDirectory(const std::string &strDirectory, CFileItemList &items) override
Overwrite to fill fileitems from a source.
Definition: GUIWindowMusicNav.cpp:378
Represents a file on a share.
Definition: FileItem.h:102