From f45294559f976258831821ada062c73965201150 Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 26 Apr 2015 00:33:05 +0200 Subject: update to use new watchfish library for sailfish --- notificationconn.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'notificationconn.h') 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: -- cgit v1.2.3