summaryrefslogtreecommitdiff
path: root/sysinfowatchlet/sysinfoplugin.h
blob: 8b37a1c6611bf6ab5d9e6466d7a76a924d1e41f3 (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 CKITCALLPLUGIN_H
#define CKITCALLPLUGIN_H

#include <sowatch.h>

namespace sowatch
{

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

public:
	SysInfoPlugin(QObject *parent = 0);
	~SysInfoPlugin();

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

}

#endif // CKITCALLPLUGIN_H