Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CAddonManagementEvent Class Reference

#include <AddonManagementEvent.h>

Inheritance diagram for CAddonManagementEvent:
CAddonEvent CUniqueEvent CBaseEvent IEvent ISortable

Public Member Functions

 CAddonManagementEvent (const ADDON::AddonPtr &addon, const CVariant &description)
 
 CAddonManagementEvent (const ADDON::AddonPtr &addon, const CVariant &description, const CVariant &details)
 
 CAddonManagementEvent (const ADDON::AddonPtr &addon, const CVariant &description, const CVariant &details, const CVariant &executionLabel)
 
 CAddonManagementEvent (const ADDON::AddonPtr &addon, EventLevel level, const CVariant &description)
 
 CAddonManagementEvent (const ADDON::AddonPtr &addon, EventLevel level, const CVariant &description, const CVariant &details)
 
 CAddonManagementEvent (const ADDON::AddonPtr &addon, EventLevel level, const CVariant &description, const CVariant &details, const CVariant &executionLabel)
 
 ~CAddonManagementEvent () override=default
 
const char * GetType () const override
 
std::string GetExecutionLabel () const override
 
bool CanExecute () const override
 
bool Execute () const override
 
- Public Member Functions inherited from CAddonEvent
 CAddonEvent (const ADDON::AddonPtr &addon, const CVariant &description)
 
 CAddonEvent (const ADDON::AddonPtr &addon, const CVariant &description, const CVariant &details)
 
 CAddonEvent (const ADDON::AddonPtr &addon, const CVariant &description, const CVariant &details, const CVariant &executionLabel)
 
 CAddonEvent (const ADDON::AddonPtr &addon, EventLevel level, const CVariant &description)
 
 CAddonEvent (const ADDON::AddonPtr &addon, EventLevel level, const CVariant &description, const CVariant &details)
 
 CAddonEvent (const ADDON::AddonPtr &addon, EventLevel level, const CVariant &description, const CVariant &details, const CVariant &executionLabel)
 
 ~CAddonEvent () override=default
 
- Public Member Functions inherited from CUniqueEvent
 ~CUniqueEvent () override=default
 
- Public Member Functions inherited from CBaseEvent
 ~CBaseEvent () override=default
 
std::string GetIdentifier () const override
 
EventLevel GetLevel () const override
 
std::string GetLabel () const override
 
std::string GetIcon () const override
 
std::string GetDescription () const override
 
std::string GetDetails () const override
 
std::string GetExecutionLabel () const override
 
CDateTime GetDateTime () const override
 
bool CanExecute () const override
 
void ToSortable (SortItem &sortable, Field field) const override
 
- Public Member Functions inherited from IEvent
virtual ~IEvent ()=default
 
- Public Member Functions inherited from ISortable

Additional Inherited Members

- Protected Member Functions inherited from CUniqueEvent
 CUniqueEvent (const CVariant &label, const CVariant &description, EventLevel level=EventLevel::Information)
 
 CUniqueEvent (const CVariant &label, const CVariant &description, const std::string &icon, EventLevel level=EventLevel::Information)
 
 CUniqueEvent (const CVariant &label, const CVariant &description, const std::string &icon, const CVariant &details, EventLevel level=EventLevel::Information)
 
 CUniqueEvent (const CVariant &label, const CVariant &description, const std::string &icon, const CVariant &details, const CVariant &executionLabel, EventLevel level=EventLevel::Information)
 
- Protected Member Functions inherited from CBaseEvent
 CBaseEvent (const std::string &identifier, const CVariant &label, const CVariant &description, EventLevel level=EventLevel::Information)
 
 CBaseEvent (const std::string &identifier, const CVariant &label, const CVariant &description, const std::string &icon, EventLevel level=EventLevel::Information)
 
 CBaseEvent (const std::string &identifier, const CVariant &label, const CVariant &description, const std::string &icon, const CVariant &details, EventLevel level=EventLevel::Information)
 
 CBaseEvent (const std::string &identifier, const CVariant &label, const CVariant &description, const std::string &icon, const CVariant &details, const CVariant &executionLabel, EventLevel level=EventLevel::Information)
 
- Protected Member Functions inherited from ISortable
 ~ISortable ()=default
 
- Protected Attributes inherited from CAddonEvent
ADDON::AddonPtr m_addon
 
- Protected Attributes inherited from CBaseEvent
EventLevel m_level
 
std::string m_identifier
 
std::string m_icon
 
CVariant m_label
 
CVariant m_description
 
CVariant m_details
 
CVariant m_executionLabel
 

Constructor & Destructor Documentation

◆ CAddonManagementEvent() [1/6]

CAddonManagementEvent::CAddonManagementEvent ( const ADDON::AddonPtr & addon,
const CVariant & description )

◆ CAddonManagementEvent() [2/6]

CAddonManagementEvent::CAddonManagementEvent ( const ADDON::AddonPtr & addon,
const CVariant & description,
const CVariant & details )

◆ CAddonManagementEvent() [3/6]

CAddonManagementEvent::CAddonManagementEvent ( const ADDON::AddonPtr & addon,
const CVariant & description,
const CVariant & details,
const CVariant & executionLabel )

◆ CAddonManagementEvent() [4/6]

CAddonManagementEvent::CAddonManagementEvent ( const ADDON::AddonPtr & addon,
EventLevel level,
const CVariant & description )

◆ CAddonManagementEvent() [5/6]

CAddonManagementEvent::CAddonManagementEvent ( const ADDON::AddonPtr & addon,
EventLevel level,
const CVariant & description,
const CVariant & details )

◆ CAddonManagementEvent() [6/6]

CAddonManagementEvent::CAddonManagementEvent ( const ADDON::AddonPtr & addon,
EventLevel level,
const CVariant & description,
const CVariant & details,
const CVariant & executionLabel )

◆ ~CAddonManagementEvent()

CAddonManagementEvent::~CAddonManagementEvent ( )
overridedefault

Member Function Documentation

◆ CanExecute()

bool CAddonManagementEvent::CanExecute ( ) const
inlineoverridevirtual

Implements IEvent.

◆ Execute()

bool CAddonManagementEvent::Execute ( ) const
overridevirtual

Implements IEvent.

◆ GetExecutionLabel()

std::string CAddonManagementEvent::GetExecutionLabel ( ) const
overridevirtual

Implements IEvent.

◆ GetType()

const char * CAddonManagementEvent::GetType ( ) const
inlineoverridevirtual

Reimplemented from CAddonEvent.


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