summaryrefslogtreecommitdiff
path: root/notificationswatchlet/notificationswatchletplugin.h
blob: a52e6382d8bc9a774269cbb590123dba30f4b738 (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
#ifndef NOTIFICATIONSWATCHLETPLUGIN_H
#define NOTIFICATIONSWATCHLETPLUGIN_H

#include <sowatch.h>

namespace sowatch
{

class NotificationsWatchletPlugin : public QObject, public WatchletPluginInterface
{
	Q_OBJECT
	Q_INTERFACES(sowatch::WatchletPluginInterface)

public:
	explicit NotificationsWatchletPlugin(QObject *parent = 0);
	~NotificationsWatchletPlugin();

	QStringList watchlets();
	WatchletInfo describeWatchlet(const QString &id, const QString &watchModel);
	Watchlet* getWatchlet(const QString& id, ConfigKey *settings, Watch* watch);
};

}

#endif // NOTIFICATIONSWATCHLETPLUGIN_H