diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2011-09-24 20:52:17 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2011-09-24 20:52:17 +0200 |
commit | a1ec50943454ba4674c8c5e5d5dadcdbd414b111 (patch) | |
tree | 163aed51758c98fa6feec35a344aa8b5095c32e5 /meegohandsetnotification/watchnotificationsink.h | |
parent | cba26597f1c09764d37be0d13863ec5d5c340da0 (diff) | |
download | sowatch-a1ec50943454ba4674c8c5e5d5dadcdbd414b111.tar.gz sowatch-a1ec50943454ba4674c8c5e5d5dadcdbd414b111.zip |
Incoming phone calls working!
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 |