summaryrefslogtreecommitdiff
path: root/saltoqd/notificationmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'saltoqd/notificationmanager.h')
-rw-r--r--saltoqd/notificationmanager.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/saltoqd/notificationmanager.h b/saltoqd/notificationmanager.h
index 78c32ed..ab6ccad 100644
--- a/saltoqd/notificationmanager.h
+++ b/saltoqd/notificationmanager.h
@@ -1,19 +1,28 @@
#ifndef NOTIFICATIONMANAGER_H
#define NOTIFICATIONMANAGER_H
-#include "toqmanager.h"
+#include "cardmanager.h"
+class MonitoredNotification;
class NotificationMonitor;
class NotificationManager : public QObject
{
Q_OBJECT
+
public:
- explicit NotificationManager(ToqManager *toq);
+ explicit NotificationManager(CardManager *card, ToqManager *toq);
+
+private slots:
+ void handleNotification(MonitoredNotification *n);
+ void handleClosedNotification();
private:
ToqManager *_toq;
NotificationMonitor *_monitor;
+ CardManager *_card;
+ CardDeck *_deck;
+ QMap<MonitoredNotification*, Card*> _cards;
};
#endif // NOTIFICATIONMANAGER_H