Use new snore api and a bug fix
[quassel.git] / src / qtui / snorenotificationbackend.h
index ec193cb..fa57adc 100644 (file)
 
 #include "ui_snorentificationconfigwidget.h"
 
-namespace Snore{
-class SnoreCore;
-class Icon;
-}
-class SystrayNotificationBackend;
-
+#include <snore/core/snore.h>
 #include <snore/core/notification/notification.h>
 
+class SystrayNotificationBackend;
+
 class SnoreNotificationBackend : public AbstractNotificationBackend {
     Q_OBJECT
 public:
@@ -64,6 +61,8 @@ private:
     Snore::SnoreCore *m_snore;
     QHash<uint, uint> m_notificationIds;
     Snore::Icon m_icon;
+    Snore::Application m_application;
+    Snore::Alert m_alert;
     int m_timeout;
 };