Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
CContextMenuManager Class Reference

#include <ContextMenuManager.h>

Public Member Functions

 CContextMenuManager (ADDON::CAddonMgr &addonMgr)
 
 ~CContextMenuManager ()
 
void Init ()
 
void Deinit ()
 
ContextMenuView GetItems (const CFileItem &item, const CContextMenuItem &root=MAIN) const
 
ContextMenuView GetAddonItems (const CFileItem &item, const CContextMenuItem &root=MAIN) const
 

Static Public Attributes

static const CContextMenuItem MAIN = CContextMenuItem::CreateGroup("", "", "kodi.core.main", "")
 
static const CContextMenuItem MANAGE = CContextMenuItem::CreateGroup("", "", "kodi.core.manage", "")
 

Constructor & Destructor Documentation

§ CContextMenuManager()

CContextMenuManager::CContextMenuManager ( ADDON::CAddonMgr addonMgr)
explicit

§ ~CContextMenuManager()

CContextMenuManager::~CContextMenuManager ( )

Member Function Documentation

§ Deinit()

void CContextMenuManager::Deinit ( )

§ GetAddonItems()

ContextMenuView CContextMenuManager::GetAddonItems ( const CFileItem item,
const CContextMenuItem root = MAIN 
) const

§ GetItems()

ContextMenuView CContextMenuManager::GetItems ( const CFileItem item,
const CContextMenuItem root = MAIN 
) const
Todo:
implement group support

§ Init()

void CContextMenuManager::Init ( )

Member Data Documentation

§ MAIN

const CContextMenuItem CContextMenuManager::MAIN = CContextMenuItem::CreateGroup("", "", "kodi.core.main", "")
static

§ MANAGE

const CContextMenuItem CContextMenuManager::MANAGE = CContextMenuItem::CreateGroup("", "", "kodi.core.manage", "")
static

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