11 #include "ContextMenuItem.h" 12 #include "threads/CriticalSection.h" 26 struct PVRContextMenuEvent;
29 using ContextMenuView = std::vector<std::shared_ptr<const IContextMenuItem>>;
56 void ReloadAddonItems();
63 mutable CCriticalSection m_criticalSection;
64 std::vector<CContextMenuItem> m_addonItems;
65 std::vector<std::shared_ptr<IContextMenuItem>> m_items;
73 bool ShowFor(
const std::shared_ptr<CFileItem>& fileItem,
79 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