11 #include "GUIWindowVideoBase.h" 15 enum SelectFirstUnwatchedItem
22 enum IncludeAllSeasonsAndSpecials
37 bool OnAction(
const CAction &action)
override;
40 void OnItemInfo(
const CFileItem& fileItem, ADDON::ScraperPtr &info)
override;
58 bool GetFilteredItems(
const std::string &filter,
CFileItemList &items)
override;
60 void OnItemLoaded(
CFileItem* pItem)
override {};
63 bool Update(
const std::string &strDirectory,
bool updateFilterPath =
true)
override;
67 virtual void PlayItem(
int iItem);
68 void OnDeleteItem(
const CFileItemPtr& pItem)
override;
69 void GetContextButtons(
int itemNumber,
CContextButtons &buttons)
override;
70 bool OnContextButton(
int itemNumber, CONTEXT_BUTTON button)
override;
71 bool OnAddMediaSource()
override;
72 bool OnClick(
int iItem,
const std::string &player =
"")
override;
78 virtual SelectFirstUnwatchedItem GetSettingSelectFirstUnwatchedItem();
79 virtual IncludeAllSeasonsAndSpecials GetSettingIncludeAllSeasonsAndSpecials();
80 virtual int GetFirstUnwatchedItemIndex(
bool includeAllSeasons,
bool includeSpecials);
81 void SelectFirstUnwatched();
std::string GetStartFolder(const std::string &dir) override
Translate the folder to start in from the given quick path.
Definition: GUIWindowVideoNav.cpp:1172
bool Update(const std::string &strDirectory, bool updateFilterPath=true) override
Retrieves the items from the given path and updates the list.
Definition: GUIWindowVideoNav.cpp:322
Represents a list of files.
Definition: FileItem.h:713
Definition: VideoDatabase.h:393
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:353
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:719
Definition: GUIWindowVideoBase.h:28
Definition: GUIMessage.h:365
static void LoadVideoInfo(CFileItemList &items, CVideoDatabase &database, bool allowReplaceLabels=true)
Load video information from the database for these items (public static version) Useful for grabbing ...
Definition: GUIWindowVideoNav.cpp:552
Definition: GUIDialogContextMenu.h:95
void UpdateButtons() override
Updates the states.
Definition: GUIWindowVideoNav.cpp:647
Represents a file on a share.
Definition: FileItem.h:102
bool OnClick(int iItem, const std::string &player="") override
On click.
Definition: GUIWindowVideoNav.cpp:1094