blob: 1a312a1224e842ebf6302211bb09399de8e6815a (
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
|
#ifndef NOTIFICATIONPLUGININTERFACE_H
#define NOTIFICATIONPLUGININTERFACE_H
#include <QtPlugin>
#include "sowatch_global.h"
#include "notification.h"
namespace sowatch
{
class Notification;
class SOWATCH_EXPORT NotificationPluginInterface
{
public:
virtual ~NotificationPluginInterface();
int getCount(Notification::Type type);
signals:
void incomingNotification(const Notification& n);
void unreadCountChanged(Notification::Type type);
};
}
Q_DECLARE_INTERFACE(sowatch::NotificationPluginInterface, "com.javispedro.sowatch.NotificationPluginInterface")
#endif // NOTIFICATIONPLUGININTERFACE_H
|