11 #include "ContextMenuItem.h" 12 #include "threads/CriticalSection.h" 26 struct PVRContextMenuEvent;
29 using ContextMenuView = std::vector<std::shared_ptr<const IContextMenuItem>>;
82 void ReloadAddonItems();
89 mutable CCriticalSection m_criticalSection;
90 std::vector<CContextMenuItem> m_addonItems;
91 std::vector<std::shared_ptr<IContextMenuItem>> m_items;
101 bool HasAnyMenuItemsFor(
const std::shared_ptr<CFileItem>& fileItem,
const CContextMenuItem& root);
108 bool ShowFor(
const std::shared_ptr<CFileItem>& fileItem,
const CContextMenuItem& root);
115 bool LoopFrom(
const IContextMenuItem& menu,
const std::shared_ptr<CFileItem>& fileItem);
Class - CAddonMgr Holds references to all addons, enabled or otherwise.
Definition: AddonManager.h:79
Definition: ContextMenuManager.h:24
Definition: AddonEvents.h:18
Represents a file on a share.
Definition: FileItem.h:102