summaryrefslogtreecommitdiff
path: root/qmafwwatchlet/qmafwwatchletplugin.h
blob: b24dcff24638d787d0eac4a81403cb68d7b72392 (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 QMAFWPLUGIN_H
#define QMAFWPLUGIN_H

#include <QtDBus/QDBusConnection>
#include <sowatch.h>

namespace sowatch
{

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

public:
	explicit QMafwWatchletPlugin(QObject *parent = 0);

	QStringList watchlets();
	WatchletInfo describeWatchlet(const QString &id, const QString &watchModel);
	Watchlet* getWatchlet(const QString &id, ConfigKey *config, WatchServer *server);
};

}

#endif // QMAFWPLUGIN_H