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

#include <NotificationEvent.h>

Inheritance diagram for CNotificationEvent:
CUniqueEvent CBaseEvent IEvent ISortable

Public Member Functions

 CNotificationEvent (const CVariant &label, const CVariant &description, EventLevel level=EventLevel::Information)
 
 CNotificationEvent (const CVariant &label, const CVariant &description, const std::string &icon, EventLevel level=EventLevel::Information)
 
 CNotificationEvent (const CVariant &label, const CVariant &description, const std::string &icon, const CVariant &details, EventLevel level=EventLevel::Information)
 
 CNotificationEvent (const CVariant &label, const CVariant &description, const std::string &icon, const CVariant &details, const CVariant &executionLabel, EventLevel level=EventLevel::Information)
 
 ~CNotificationEvent () override=default
 
const char * GetType () const override
 
bool CanExecute () const override
 
bool Execute () 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
 
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 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

◆ CNotificationEvent() [1/4]

CNotificationEvent::CNotificationEvent ( const CVariant & label,
const CVariant & description,
EventLevel level = EventLevel::Information )
inline

◆ CNotificationEvent() [2/4]

CNotificationEvent::CNotificationEvent ( const CVariant & label,
const CVariant & description,
const std::string & icon,
EventLevel level = EventLevel::Information )
inline

◆ CNotificationEvent() [3/4]

CNotificationEvent::CNotificationEvent ( const CVariant & label,
const CVariant & description,
const std::string & icon,
const CVariant & details,
EventLevel level = EventLevel::Information )
inline

◆ CNotificationEvent() [4/4]

CNotificationEvent::CNotificationEvent ( const CVariant & label,
const CVariant & description,
const std::string & icon,
const CVariant & details,
const CVariant & executionLabel,
EventLevel level = EventLevel::Information )
inline

◆ ~CNotificationEvent()

CNotificationEvent::~CNotificationEvent ( )
overridedefault

Member Function Documentation

◆ CanExecute()

bool CNotificationEvent::CanExecute ( ) const
inlineoverridevirtual

Reimplemented from CBaseEvent.

◆ Execute()

bool CNotificationEvent::Execute ( ) const
inlineoverridevirtual

Implements IEvent.

◆ GetType()

const char * CNotificationEvent::GetType ( ) const
inlineoverridevirtual

Implements IEvent.


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