From a1ec50943454ba4674c8c5e5d5dadcdbd414b111 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sat, 24 Sep 2011 20:52:17 +0200 Subject: Incoming phone calls working! --- meegohandsetnotification/watchnotificationsink.h | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'meegohandsetnotification/watchnotificationsink.h') diff --git a/meegohandsetnotification/watchnotificationsink.h b/meegohandsetnotification/watchnotificationsink.h index dc586a2..9500994 100644 --- a/meegohandsetnotification/watchnotificationsink.h +++ b/meegohandsetnotification/watchnotificationsink.h @@ -3,9 +3,8 @@ #include #include -#include +#include "meegohandsetnotification.h" #include -#include namespace sowatch { class MeegoHandsetNotificationProvider; @@ -23,19 +22,11 @@ public: void addGroup(uint groupId, const NotificationParameters ¶meters); void removeGroup(uint groupId); - int getCount(sowatch::Notification::Type type); - signals: - void incomingNotification(const sowatch::Notification& notification); - void countsChanged(sowatch::Notification::Type type); + void incomingNotification(sowatch::Notification* notification); protected: - static const uint maxTypes = sowatch::Notification::TypeCount; - static sowatch::Notification::Type notificationTypeFromEventType(const QString& eventType); - - sowatch::MeegoHandsetNotificationProvider* _parent; - QMap _trackedNotifications; - uint _counts[maxTypes]; + QMap _trackedNotifications; }; #endif // WATCHNOTIFICATIONSINK_H -- cgit v1.2.3