#include <ContextMenuItem.h>
|
static CContextMenuItem | CreateGroup (const std::string &label, const std::string &parent, const std::string &groupId, const std::string &addonId) |
|
static CContextMenuItem | CreateItem (const std::string &label, const std::string &parent, const std::string &library, const std::string &condition, const std::string &addonId, const std::vector< std::string > &args=std::vector< std::string >()) |
|
◆ CContextMenuItem()
CContextMenuItem::CContextMenuItem |
( |
| ) |
|
|
default |
◆ CreateGroup()
CContextMenuItem CContextMenuItem::CreateGroup |
( |
const std::string & | label, |
|
|
const std::string & | parent, |
|
|
const std::string & | groupId, |
|
|
const std::string & | addonId ) |
|
static |
◆ CreateItem()
CContextMenuItem CContextMenuItem::CreateItem |
( |
const std::string & | label, |
|
|
const std::string & | parent, |
|
|
const std::string & | library, |
|
|
const std::string & | condition, |
|
|
const std::string & | addonId, |
|
|
const std::vector< std::string > & | args = std::vector<std::string>() ) |
|
static |
◆ Execute()
bool CContextMenuItem::Execute |
( |
const std::shared_ptr< CFileItem > & | item | ) |
const |
|
overridevirtual |
◆ GetLabel()
std::string CContextMenuItem::GetLabel |
( |
const CFileItem & | item | ) |
const |
|
inlineoverridevirtual |
◆ HasParent()
bool CContextMenuItem::HasParent |
( |
| ) |
const |
|
overridevirtual |
◆ IsGroup()
bool CContextMenuItem::IsGroup |
( |
| ) |
const |
|
overridevirtual |
◆ IsParentOf()
◆ IsVisible()
◆ operator==()
◆ ToString()
std::string CContextMenuItem::ToString |
( |
| ) |
const |
◆ ADDON::CContextMenuAddon
The documentation for this class was generated from the following files: