Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ContextMenuManager.h File Reference
#include "ContextMenuItem.h"
#include "threads/CriticalSection.h"
#include <memory>
#include <utility>
#include <vector>

Classes

class  CContextMenuManager
 

Namespaces

namespace  ADDON
 
namespace  PVR
 
namespace  CONTEXTMENU
 

Typedefs

using ContextMenuView = std::vector<std::shared_ptr<const IContextMenuItem>>
 

Functions

bool CONTEXTMENU::HasAnyMenuItemsFor (const std::shared_ptr< CFileItem > &fileItem, const CContextMenuItem &root)
 Checks whether any context menu items are available for a file item.
 
bool CONTEXTMENU::ShowFor (const std::shared_ptr< CFileItem > &fileItem, const CContextMenuItem &root)
 Starts the context menu loop for a file 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.
 

Typedef Documentation

◆ ContextMenuView

using ContextMenuView = std::vector<std::shared_ptr<const IContextMenuItem>>