Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
PVRContextMenus.cpp File Reference

Classes

class  PVR::CONTEXTMENUITEM::PVRClientMenuHook
 

Namespaces

namespace  PVR
 
namespace  PVR::CONTEXTMENUITEM
 

Macros

#define DECL_STATICCONTEXTMENUITEM(clazz)
 
#define DECL_CONTEXTMENUITEM(clazz)
 

Functions

 PVR::CONTEXTMENUITEM::DECL_STATICCONTEXTMENUITEM (PlayEpgTag)
 
 PVR::CONTEXTMENUITEM::DECL_CONTEXTMENUITEM (PlayEpgTagFromHere)
 
 PVR::CONTEXTMENUITEM::DECL_STATICCONTEXTMENUITEM (PlayRecording)
 
 PVR::CONTEXTMENUITEM::DECL_CONTEXTMENUITEM (ShowInformation)
 
 PVR::CONTEXTMENUITEM::DECL_STATICCONTEXTMENUITEM (ShowChannelGuide)
 
 PVR::CONTEXTMENUITEM::DECL_STATICCONTEXTMENUITEM (FindSimilar)
 
 PVR::CONTEXTMENUITEM::DECL_STATICCONTEXTMENUITEM (StartRecording)
 
 PVR::CONTEXTMENUITEM::DECL_STATICCONTEXTMENUITEM (StopRecording)
 
 PVR::CONTEXTMENUITEM::DECL_STATICCONTEXTMENUITEM (AddTimerRule)
 
 PVR::CONTEXTMENUITEM::DECL_CONTEXTMENUITEM (EditTimerRule)
 
 PVR::CONTEXTMENUITEM::DECL_STATICCONTEXTMENUITEM (DeleteTimerRule)
 
 PVR::CONTEXTMENUITEM::DECL_CONTEXTMENUITEM (EditTimer)
 
 PVR::CONTEXTMENUITEM::DECL_CONTEXTMENUITEM (DeleteTimer)
 
 PVR::CONTEXTMENUITEM::DECL_STATICCONTEXTMENUITEM (EditRecording)
 
 PVR::CONTEXTMENUITEM::DECL_CONTEXTMENUITEM (DeleteRecording)
 
 PVR::CONTEXTMENUITEM::DECL_STATICCONTEXTMENUITEM (UndeleteRecording)
 
 PVR::CONTEXTMENUITEM::DECL_STATICCONTEXTMENUITEM (DeleteWatchedRecordings)
 
 PVR::CONTEXTMENUITEM::DECL_CONTEXTMENUITEM (ToggleTimerState)
 
 PVR::CONTEXTMENUITEM::DECL_STATICCONTEXTMENUITEM (AddReminder)
 
 PVR::CONTEXTMENUITEM::DECL_STATICCONTEXTMENUITEM (ExecuteSearch)
 
 PVR::CONTEXTMENUITEM::DECL_STATICCONTEXTMENUITEM (EditSearch)
 
 PVR::CONTEXTMENUITEM::DECL_STATICCONTEXTMENUITEM (RenameSearch)
 
 PVR::CONTEXTMENUITEM::DECL_STATICCONTEXTMENUITEM (ChooseIconForSearch)
 
 PVR::CONTEXTMENUITEM::DECL_STATICCONTEXTMENUITEM (DuplicateSearch)
 
 PVR::CONTEXTMENUITEM::DECL_STATICCONTEXTMENUITEM (DeleteSearch)
 
std::shared_ptr< CPVRTimerInfoTagPVR::CONTEXTMENUITEM::GetTimerInfoTagFromItem (const CFileItem &item)
 

Macro Definition Documentation

◆ DECL_CONTEXTMENUITEM

#define DECL_CONTEXTMENUITEM ( clazz)
Value:
class clazz : public IContextMenuItem \
{ \
public: \
std::string GetLabel(const CFileItem& item) const override; \
bool IsVisible(const CFileItem& item) const override; \
bool Execute(const CFileItemPtr& item) const override; \
};
std::shared_ptr< CFileItem > CFileItemPtr
Definition BackgroundInfoLoader.h:18
Represents a file on a share.
Definition FileItem.h:103
Definition ContextMenuItem.h:30
virtual bool IsVisible(const CFileItem &item) const =0
virtual std::string GetLabel(const CFileItem &item) const =0
virtual bool Execute(const std::shared_ptr< CFileItem > &item) const =0

◆ DECL_STATICCONTEXTMENUITEM

#define DECL_STATICCONTEXTMENUITEM ( clazz)
Value:
class clazz : public CStaticContextMenuAction \
{ \
public: \
explicit clazz(uint32_t label) : CStaticContextMenuAction(label) {} \
bool IsVisible(const CFileItem& item) const override; \
bool Execute(const CFileItemPtr& item) const override; \
};
Definition ContextMenuItem.h:42
label
Definition modules_cpp_peripheral_lifetime_diagram_1.dox:147