Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
No Matches
CONTEXTMENU::CFavouriteContextMenuAction Class Referenceabstract

#include <ContextMenus.h>

Inheritance diagram for CONTEXTMENU::CFavouriteContextMenuAction:
CStaticContextMenuAction IContextMenuItem CONTEXTMENU::CChooseThumbnailForFavourite CONTEXTMENU::CMoveDownFavourite CONTEXTMENU::CMoveUpFavourite CONTEXTMENU::CRemoveFavourite CONTEXTMENU::CRenameFavourite

Public Member Functions

 CFavouriteContextMenuAction (uint32_t label)
bool IsVisible (const CFileItem &item) const override
bool Execute (const std::shared_ptr< CFileItem > &item) const override
- Public Member Functions inherited from CStaticContextMenuAction
 CStaticContextMenuAction (uint32_t label)
std::string GetLabel (const CFileItem &item) const final
bool IsGroup () const final
- Public Member Functions inherited from IContextMenuItem
virtual ~IContextMenuItem ()=default
virtual bool HasParent () const

Protected Member Functions

 ~CFavouriteContextMenuAction () override=default
virtual bool DoExecute (CFileItemList &items, const std::shared_ptr< CFileItem > &item) const =0

Constructor & Destructor Documentation

◆ CFavouriteContextMenuAction()

CONTEXTMENU::CFavouriteContextMenuAction::CFavouriteContextMenuAction ( uint32_t label)

◆ ~CFavouriteContextMenuAction()

CONTEXTMENU::CFavouriteContextMenuAction::~CFavouriteContextMenuAction ( )

Member Function Documentation

◆ DoExecute()

virtual bool CONTEXTMENU::CFavouriteContextMenuAction::DoExecute ( CFileItemList & items,
const std::shared_ptr< CFileItem > & item ) const
protectedpure virtual

◆ Execute()

bool CFavouriteContextMenuAction::Execute ( const std::shared_ptr< CFileItem > & item) const

Implements IContextMenuItem.

◆ IsVisible()

bool CFavouriteContextMenuAction::IsVisible ( const CFileItem & item) const

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