summaryrefslogtreecommitdiff
path: root/saltoqd/notificationmanager.h
blob: cd5a258942d20ae2f66887b7663d2d5ba8e7a8e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef NOTIFICATIONMANAGER_H
#define NOTIFICATIONMANAGER_H

#include "cardmanager.h"

namespace watchfish
{
class Notification;
class NotificationMonitor;
}

class NotificationManager : public QObject
{
	Q_OBJECT

public:
	explicit NotificationManager(CardManager *card, ToqManager *toq);

private slots:
	void handleNotification(watchfish::Notification *n);
	void handleNotificationBodyChanged();
	void handleClosedNotification();

private:
	ToqManager *_toq;
	CardManager *_card;
	CardDeck *_deck;
	QMap<uint, Card*> _cards;
};

#endif // NOTIFICATIONMANAGER_H