11 #include "GUIWindowVideoBase.h" 15 enum SelectFirstUnwatchedItem
22 enum IncludeAllSeasonsAndSpecials
37 bool OnAction(
const CAction &action)
override;
42 bool GetFilteredItems(
const std::string &filter,
CFileItemList &items)
override;
44 void OnItemLoaded(
CFileItem* pItem)
override {};
47 bool Update(
const std::string &strDirectory,
bool updateFilterPath =
true)
override;
51 virtual void PlayItem(
int iItem);
52 void OnDeleteItem(
const CFileItemPtr& pItem)
override;
53 void GetContextButtons(
int itemNumber,
CContextButtons &buttons)
override;
54 bool OnPopupMenu(
int iItem)
override;
55 bool OnContextButton(
int itemNumber, CONTEXT_BUTTON button)
override;
56 bool OnAddMediaSource()
override;
57 bool OnClick(
int iItem,
const std::string &player =
"")
override;
63 virtual SelectFirstUnwatchedItem GetSettingSelectFirstUnwatchedItem();
64 virtual IncludeAllSeasonsAndSpecials GetSettingIncludeAllSeasonsAndSpecials();
65 virtual int GetFirstUnwatchedItemIndex(
bool includeAllSeasons,
bool includeSpecials);
66 void SelectFirstUnwatched();
std::string GetStartFolder(const std::string &dir) override
Translate the folder to start in from the given quick path.
Definition: GUIWindowVideoNav.cpp:1052
bool Update(const std::string &strDirectory, bool updateFilterPath=true) override
Retrieves the items from the given path and updates the list.
Definition: GUIWindowVideoNav.cpp:319
Represents a list of files.
Definition: FileItem.h:721
class encapsulating information regarding a particular user action to be sent to windows and controls...
Definition: Action.h:22
bool GetDirectory(const std::string &strDirectory, CFileItemList &items) override
Overwrite to fill fileitems from a source.
Definition: GUIWindowVideoNav.cpp:350
Definition: GUIWindowVideoNav.h:30
void DoSearch(const std::string &strSearch, CFileItemList &items) override
Search for names, genres, artists, directors, and plots with search string strSearch in the...
Definition: GUIWindowVideoNav.cpp:579
Definition: GUIWindowVideoBase.h:23
Definition: GUIMessage.h:365
Definition: GUIDialogContextMenu.h:92
void UpdateButtons() override
Updates the states.
Definition: GUIWindowVideoNav.cpp:507
Represents a file on a share.
Definition: FileItem.h:102
bool OnClick(int iItem, const std::string &player="") override
On click.
Definition: GUIWindowVideoNav.cpp:974