|
libkazv
|
A class to handle a notification. More...
#include <notification-handler.hpp>
Classes | |
| struct | Private |
Public Member Functions | |
| NotificationHandler (lager::reader< ClientModel > client) | |
| KAZV_DECLARE_COPYABLE (NotificationHandler) | |
| ~NotificationHandler () | |
| PushAction | handleNotification (const Event &e) const |
| Handle a notification and get the actions to be taken. More... | |
A class to handle a notification.
| Kazv::NotificationHandler::NotificationHandler | ( | lager::reader< ClientModel > | client | ) |
|
default |
| PushAction Kazv::NotificationHandler::handleNotification | ( | const Event & | e | ) | const |
Handle a notification and get the actions to be taken.
Only push rules are taken into consideration. Your own event will not be ruled out if there is no corresponding push rule.
| e | The event to process. |
| Kazv::NotificationHandler::KAZV_DECLARE_COPYABLE | ( | NotificationHandler | ) |