Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
No Matches
CONTEXTMENU::CMusicInfo Struct Reference

#include <ContextMenus.h>

Inheritance diagram for CONTEXTMENU::CMusicInfo:
CStaticContextMenuAction IContextMenuItem CONTEXTMENU::CAlbumInfo CONTEXTMENU::CArtistInfo CONTEXTMENU::CSongInfo

Public Member Functions

 CMusicInfo (MediaType mediaType)
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

Constructor & Destructor Documentation

◆ CMusicInfo()

CMusicInfo::CMusicInfo ( MediaType mediaType)

Member Function Documentation

◆ Execute()

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

Implements IContextMenuItem.

◆ IsVisible()

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

Implements IContextMenuItem.

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