summaryrefslogtreecommitdiff
path: root/notificationconn.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2015-04-26 00:33:05 +0200
committerJavier <dev.git@javispedro.com>2015-04-26 00:33:05 +0200
commitf45294559f976258831821ada062c73965201150 (patch)
treeea10d825a119a7c00b50a48193f23b87147a1a01 /notificationconn.h
parent9949c02b0f814ad94a27864a5c39689f090299b6 (diff)
downloadsapd-f45294559f976258831821ada062c73965201150.tar.gz
sapd-f45294559f976258831821ada062c73965201150.zip
update to use new watchfish library for sailfish
Diffstat (limited to 'notificationconn.h')
-rw-r--r--notificationconn.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/notificationconn.h b/notificationconn.h
index da3e3c3..69f2244 100644
--- a/notificationconn.h
+++ b/notificationconn.h
@@ -6,6 +6,14 @@
#include "sapconnection.h"
#include "sapsocket.h"
+#if SAILFISH
+namespace watchfish
+{
+class Notification;
+class NotificationMonitor;
+}
+#endif
+
class NotificationConn : public QObject
{
Q_OBJECT
@@ -59,7 +67,11 @@ protected:
private slots:
void handleConnected();
void handleMessageReceived();
- void handleIncomingNotification(const QString &sender, const QIcon &icon, const QString &summary, int count, const QString &body, const QDateTime &dateTime);
+
+#if SAILFISH
+ void handleNotification(watchfish::Notification *n);
+#endif
+
void performTest();
private: