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

#include <ContextMenuItem.h>

Inheritance diagram for CStaticContextMenuAction:
IContextMenuItem CONTEXTMENU::CAddonInfo CONTEXTMENU::CAddonSettings CONTEXTMENU::CCheckForUpdates CONTEXTMENU::CDisableAddon CONTEXTMENU::CEjectDisk CONTEXTMENU::CEjectDrive CONTEXTMENU::CEnableAddon CONTEXTMENU::CFavouriteContextMenuAction CONTEXTMENU::CFavouritesTargetBrowse CONTEXTMENU::CFavouritesTargetContextMenu CONTEXTMENU::CFavouritesTargetInfo CONTEXTMENU::CMusicBrowse CONTEXTMENU::CMusicInfo CONTEXTMENU::CMusicPlay CONTEXTMENU::CMusicPlayNext CONTEXTMENU::CMusicPlayUsing CONTEXTMENU::CMusicQueue CONTEXTMENU::CVideoBrowse CONTEXTMENU::CVideoChooseVersion CONTEXTMENU::CVideoInfo CONTEXTMENU::CVideoMarkUnWatched CONTEXTMENU::CVideoMarkWatched CONTEXTMENU::CVideoPlayNext CONTEXTMENU::CVideoPlayUsing CONTEXTMENU::CVideoPlayVersionUsing CONTEXTMENU::CVideoQueue CONTEXTMENU::CVideoRemoveResumePoint

Public Member Functions

 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 IsVisible (const CFileItem &item) const =0
 
virtual bool Execute (const std::shared_ptr< CFileItem > &item) const =0
 
virtual bool HasParent () const
 

Constructor & Destructor Documentation

◆ CStaticContextMenuAction()

CStaticContextMenuAction::CStaticContextMenuAction ( uint32_t label)
inlineexplicit

Member Function Documentation

◆ GetLabel()

std::string CStaticContextMenuAction::GetLabel ( const CFileItem & item) const
finalvirtual

Implements IContextMenuItem.

◆ IsGroup()

bool CStaticContextMenuAction::IsGroup ( ) const
inlinefinalvirtual

Reimplemented from IContextMenuItem.


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