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/meegohandsetnotification.h | |
parent | cba26597f1c09764d37be0d13863ec5d5c340da0 (diff) | |
download | sowatch-a1ec50943454ba4674c8c5e5d5dadcdbd414b111.tar.gz sowatch-a1ec50943454ba4674c8c5e5d5dadcdbd414b111.zip |
Incoming phone calls working!
Diffstat (limited to 'meegohandsetnotification/meegohandsetnotification.h')
-rw-r--r-- | meegohandsetnotification/meegohandsetnotification.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meegohandsetnotification/meegohandsetnotification.h b/meegohandsetnotification/meegohandsetnotification.h new file mode 100644 index 0000000..fc9d50f --- /dev/null +++ b/meegohandsetnotification/meegohandsetnotification.h @@ -0,0 +1,37 @@ +#ifndef MEEGOHANDSETNOTIFICATION_H +#define MEEGOHANDSETNOTIFICATION_H + +#include <sowatch.h> +#include <notificationsystem/notification.h> +#include <notificationsystem/notificationparameters.h> + +class WatchNotificationSink; + +class MeegoHandsetNotification : public sowatch::Notification +{ + Q_OBJECT +public: + explicit MeegoHandsetNotification(const ::Notification& n, QObject *parent = 0); + + Type type() const; + uint count() const; + QDateTime dateTime() const; + QString title() const; + QString body() const; + void activate(); + void clear(); + +signals: + void changed(); + void cleared(); + +protected: + void changeTo(const ::Notification& notification); + +protected: + ::Notification _n; + +friend class WatchNotificationSink; +}; + +#endif // MEEGOHANDSETNOTIFICATION_H |