blob: fe835ef20f57afcb22be00e504198e45f65d3bd2 (
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
|
#ifndef SOWATCH_NOTIFICATIONPROVIDER_H
#define SOWATCH_NOTIFICATIONPROVIDER_H
#include <QtCore/QObject>
#include "notification.h"
namespace sowatch
{
class NotificationProvider : public QObject
{
Q_OBJECT
protected:
explicit NotificationProvider(QObject *parent = 0);
virtual ~NotificationProvider();
public:
virtual int getCount(Notification::Type type) = 0;
signals:
void notification(const Notification& n);
void unreadCountChanged(Notification::Type type);
void weatherUpdate();
void incomingCall(const QString& displayName);
void endIncomingCall();
};
}
#endif // SOWATCH_NOTIFICATIONPROVIDER_H
|