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   void OnDeleteItem(
const CFileItemPtr& pItem) 
override;
    52   void GetContextButtons(
int itemNumber, 
CContextButtons &buttons) 
override;
    53   bool OnPopupMenu(
int iItem) 
override;
    54   bool OnContextButton(
int itemNumber, CONTEXT_BUTTON button) 
override;
    55   bool OnAddMediaSource() 
override;
    56   bool OnClick(
int iItem, 
const std::string &player = 
"") 
override;
    62   virtual SelectFirstUnwatchedItem GetSettingSelectFirstUnwatchedItem();
    63   virtual IncludeAllSeasonsAndSpecials GetSettingIncludeAllSeasonsAndSpecials();
    64   virtual int GetFirstUnwatchedItemIndex(
bool includeAllSeasons, 
bool includeSpecials);
    65   void SelectFirstUnwatched();
 std::string GetStartFolder(const std::string &dir) override
Translate the folder to start in from the given quick path. 
Definition: GUIWindowVideoNav.cpp:1024
bool Update(const std::string &strDirectory, bool updateFilterPath=true) override
Retrieves the items from the given path and updates the list. 
Definition: GUIWindowVideoNav.cpp:321
Represents a list of files. 
Definition: FileItem.h:702
Class encapsulating information regarding a particular user action to be sent to windows and controls...
Definition: Action.h:21
bool GetDirectory(const std::string &strDirectory, CFileItemList &items) override
Overwrite to fill fileitems from a source. 
Definition: GUIWindowVideoNav.cpp:352
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:583
Definition: GUIWindowVideoBase.h:23
Definition: GUIMessage.h:365
Definition: GUIDialogContextMenu.h:93
void UpdateButtons() override
Updates the states. 
Definition: GUIWindowVideoNav.cpp:511
Represents a file on a share. 
Definition: FileItem.h:102
bool OnClick(int iItem, const std::string &player="") override
On click. 
Definition: GUIWindowVideoNav.cpp:968