11 #include "dialogs/GUIDialogContextMenu.h" 12 #include "pvr/dialogs/GUIDialogPVRGuideSearch.h" 13 #include "pvr/windows/GUIWindowPVRBase.h" 22 class CPVREpgSearchFilter;
30 bool OnAction(
const CAction& action)
override;
32 void GetContextButtons(
int itemNumber,
CContextButtons& buttons)
override;
33 bool OnContextButton(
int itemNumber, CONTEXT_BUTTON button)
override;
34 bool Update(
const std::string& strDirectory,
bool updateFilterPath =
true)
override;
54 bool OnContextButtonClear(
CFileItem* item, CONTEXT_BUTTON button);
57 const std::shared_ptr<CPVREpgSearchFilter>& searchFilter);
61 void SetSearchFilter(
const std::shared_ptr<CPVREpgSearchFilter>& searchFilter);
63 bool m_bSearchConfirmed =
false;
64 std::shared_ptr<CPVREpgSearchFilter> m_searchfilter;
73 std::string GetRootPath()
const override;
75 std::string GetDirectoryPath()
override;
86 std::string GetRootPath()
const override;
88 std::string GetDirectoryPath()
override;
Definition: GUIWindowPVRBase.h:54
Definition: ContextMenuManager.h:24
Definition: GUIWindowPVRSearch.h:78
Represents a list of files.
Definition: FileItem.h:702
void OnPrepareFileItems(CFileItemList &items) override
On prepare file items.
Definition: GUIWindowPVRSearch.cpp:155
Definition: GUIWindowPVRSearch.h:24
Class encapsulating information regarding a particular user action to be sent to windows and controls...
Definition: Action.h:21
void UpdateButtons() override
Updates the states.
Definition: GUIWindowPVRSearch.cpp:358
Definition: GUIMessage.h:365
bool Update(const std::string &strDirectory, bool updateFilterPath=true) override
Retrieves the items from the given path and updates the list.
Definition: GUIWindowPVRSearch.cpp:335
Definition: GUIDialogContextMenu.h:93
Definition: GUIWindowPVRSearch.h:67
CGUIDialogPVRGuideSearch::Result OpenDialogSearch(const CFileItem &item)
Open the search dialog for the given search filter item.
Definition: GUIWindowPVRSearch.cpp:407
Represents a file on a share.
Definition: FileItem.h:102
void SetItemToSearch(const CFileItem &item)
set the item to search similar events for.
Definition: GUIWindowPVRSearch.cpp:132