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

#include <AddonEvent.h>

Inheritance diagram for CAddonEvent:
CUniqueEvent CBaseEvent IEvent ISortable CAddonManagementEvent

Public Member Functions

 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
 
const char * GetType () const override
 
- 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
 
virtual bool Execute () const =0
 
- Public Member Functions inherited from ISortable

Protected Attributes

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
 

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
 

Constructor & Destructor Documentation

◆ CAddonEvent() [1/6]

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

◆ CAddonEvent() [2/6]

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

◆ CAddonEvent() [3/6]

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

◆ CAddonEvent() [4/6]

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

◆ CAddonEvent() [5/6]

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

◆ CAddonEvent() [6/6]

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

◆ ~CAddonEvent()

CAddonEvent::~CAddonEvent ( )
overridedefault

Member Function Documentation

◆ GetType()

const char * CAddonEvent::GetType ( ) const
inlineoverridevirtual

Implements IEvent.

Reimplemented in CAddonManagementEvent.

Member Data Documentation

◆ m_addon

ADDON::AddonPtr CAddonEvent::m_addon
protected

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