11 #include "events/EventLog.h" 12 #include "utils/Job.h" 26 const std::string& label,
27 const std::string& msg,
28 const std::string& icon);
31 const char*
GetType()
const override {
return "pvr-eventlog-job"; }
33 void AddEvent(
bool bNotifyUser,
35 const std::string& label,
36 const std::string& msg,
37 const std::string& icon);
45 EventLevel m_eLevel{EventLevel::Information};
50 Event(
bool bNotifyUser,
52 const std::string& label,
53 const std::string& msg,
54 const std::string& icon)
55 : m_bNotifyUser(bNotifyUser), m_eLevel(elevel), m_label(label), m_msg(msg), m_icon(icon)
60 std::vector<Event> m_events;
Definition: PVREventLogJob.h:19
Base class for jobs that are executed asynchronously.
Definition: Job.h:109
Definition: ContextMenuManager.h:24
bool DoWork() override
Main workhorse function of CJob instances.
Definition: PVREventLogJob.cpp:37
const char * GetType() const override
Function that returns the type of job.
Definition: PVREventLogJob.h:31