Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
IContextMenuItem Class Referenceabstract

#include <ContextMenuItem.h>

Inheritance diagram for IContextMenuItem:
CContextMenuItem CONTEXTMENU::CAddRemoveFavourite CONTEXTMENU::CFavouritesTargetPlay CONTEXTMENU::CFavouritesTargetResume CONTEXTMENU::CVideoPlay CONTEXTMENU::CVideoPlayAndQueue CONTEXTMENU::CVideoResume CStaticContextMenuAction PVR::CONTEXTMENUITEM::PVRClientMenuHook

Public Member Functions

virtual ~IContextMenuItem ()=default
 
virtual bool IsVisible (const CFileItem &item) const =0
 
virtual bool Execute (const std::shared_ptr< CFileItem > &item) const =0
 
virtual std::string GetLabel (const CFileItem &item) const =0
 
virtual bool IsGroup () const
 
virtual bool HasParent () const
 

Constructor & Destructor Documentation

◆ ~IContextMenuItem()

virtual IContextMenuItem::~IContextMenuItem ( )
virtualdefault

Member Function Documentation

◆ Execute()

◆ GetLabel()

◆ HasParent()

virtual bool IContextMenuItem::HasParent ( ) const
inlinevirtual

Reimplemented in CContextMenuItem.

◆ IsGroup()

virtual bool IContextMenuItem::IsGroup ( ) const
inlinevirtual

◆ IsVisible()


The documentation for this class was generated from the following file: