Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Functions | |
bool | HasAnyMenuItemsFor (const std::shared_ptr< CFileItem > &fileItem, const CContextMenuItem &root) |
Checks whether any context menu items are available for a file item. | |
bool | ShowFor (const std::shared_ptr< CFileItem > &fileItem, const CContextMenuItem &root) |
Starts the context menu loop for a file item. | |
bool | LoopFrom (const IContextMenuItem &menu, const std::shared_ptr< CFileItem > &fileItem) |
Shortcut for continuing the context menu loop from an existing menu item. | |
bool CONTEXTMENU::HasAnyMenuItemsFor | ( | const std::shared_ptr< CFileItem > & | fileItem, |
const CContextMenuItem & | root ) |
Checks whether any context menu items are available for a file item.
fileItem | the file item |
root | the root context menu item |
bool CONTEXTMENU::LoopFrom | ( | const IContextMenuItem & | menu, |
const std::shared_ptr< CFileItem > & | fileItem ) |
Shortcut for continuing the context menu loop from an existing menu item.
menu | the menu item |
fileItem | the file item |
bool CONTEXTMENU::ShowFor | ( | const std::shared_ptr< CFileItem > & | fileItem, |
const CContextMenuItem & | root ) |
Starts the context menu loop for a file item.
fileItem | the file item |
root | the root context menu item |