summaryrefslogtreecommitdiff
path: root/notificationconn.h
diff options
context:
space:
mode:
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: