diff options
Diffstat (limited to 'meegohandsetnotification/watchnotificationsink.h')
-rw-r--r-- | meegohandsetnotification/watchnotificationsink.h | 15 |
1 files changed, 3 insertions, 12 deletions
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 <QtCore/QMap> #include <sowatch.h> -#include <notificationsystem/notification.h> +#include "meegohandsetnotification.h" #include <notificationsystem/notificationsink.h> -#include <notificationsystem/notificationparameters.h> 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<uint, Notification> _trackedNotifications; - uint _counts[maxTypes]; + QMap<uint, MeegoHandsetNotification*> _trackedNotifications; }; #endif // WATCHNOTIFICATIONSINK_H |