Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <EventLog.h>
Public Member Functions | |
CEventLog ()=default | |
CEventLog (const CEventLog &)=delete | |
CEventLog & | operator= (CEventLog const &)=delete |
~CEventLog ()=default | |
const Events & | Get () const |
Events | Get (EventLevel level, bool includeHigherLevels=false) const |
EventPtr | Get (const std::string &eventIdentifier) const |
void | Add (const EventPtr &event) |
void | Add (const EventPtr &event, bool withNotification, bool withSound=true) |
void | AddWithNotification (const EventPtr &event, unsigned int displayTime=NOTIFICATION_DISPLAY_TIME, unsigned int messageTime=NOTIFICATION_MESSAGE_TIME, bool withSound=true) |
void | AddWithNotification (const EventPtr &event, bool withSound) |
void | Remove (const EventPtr &event) |
void | Remove (const std::string &eventIdentifier) |
void | Clear () |
void | Clear (EventLevel level, bool includeHigherLevels=false) |
bool | Execute (const std::string &eventIdentifier) |
void | ShowFullEventLog (EventLevel level=EventLevel::Basic, bool includeHigherLevels=true) |
Static Public Member Functions | |
static std::string | EventLevelToString (EventLevel level) |
static EventLevel | EventLevelFromString (const std::string &level) |
|
default |
|
delete |
|
default |
void CEventLog::AddWithNotification | ( | const EventPtr & | event, |
unsigned int | displayTime = NOTIFICATION_DISPLAY_TIME, | ||
unsigned int | messageTime = NOTIFICATION_MESSAGE_TIME, | ||
bool | withSound = true ) |
void CEventLog::Clear | ( | ) |
void CEventLog::Clear | ( | EventLevel | level, |
bool | includeHigherLevels = false ) |
|
static |
|
static |
bool CEventLog::Execute | ( | const std::string & | eventIdentifier | ) |
const Events & CEventLog::Get | ( | ) | const |
EventPtr CEventLog::Get | ( | const std::string & | eventIdentifier | ) | const |
Events CEventLog::Get | ( | EventLevel | level, |
bool | includeHigherLevels = false ) const |
void CEventLog::Remove | ( | const std::string & | eventIdentifier | ) |
void CEventLog::ShowFullEventLog | ( | EventLevel | level = EventLevel::Basic, |
bool | includeHigherLevels = true ) |