blob: 06cacf96ae1f04a369459bf084d549fd48a4e280 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#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 dismiss();
protected:
void changeTo(const ::Notification& notification);
void remove();
protected:
::Notification _n;
friend class WatchNotificationSink;
};
#endif // MEEGOHANDSETNOTIFICATION_H
|