Add a Notification constructor that also sets client

This commit is contained in:
Andrew Johnson
2021-01-03 20:25:56 -06:00
committed by mdavidsaver
parent e00ccbeb9c
commit e0c2496e52

View File

@ -36,7 +36,9 @@ public:
class Notification
{
public:
Notification() : queued(false) {}
Notification(void) : queued(false) {}
explicit Notification(NotifierClientPtr const &c) :
client(c), queued(false) {}
void setClient(NotifierClientPtr const &client) {
this->client = client;
}