summaryrefslogtreecommitdiff
path: root/meegohandsetnotification/meegohandsetnotification.h
diff options
context:
space:
mode:
Diffstat (limited to 'meegohandsetnotification/meegohandsetnotification.h')
-rw-r--r--meegohandsetnotification/meegohandsetnotification.h37
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