summaryrefslogtreecommitdiff
path: root/saltoqd/notificationmanager.h
blob: 2e8398a811113935aa3fd44f120ad909ab260754 (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
#ifndef NOTIFICATIONMANAGER_H
#define NOTIFICATIONMANAGER_H

#include "cardmanager.h"

class MonitoredNotification;
class NotificationMonitor;

class NotificationManager : public QObject
{
	Q_OBJECT

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

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

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

#endif // NOTIFICATIONMANAGER_H