summaryrefslogtreecommitdiff
path: root/qmafwwatchlet/qmafwwatchletplugin.cpp
blob: 09984b4756c31d6ed1a9f999ca71ed8af79f79d5 (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
#include "qmafwwatchlet.h"
#include "qmafwwatchletplugin.h"

using namespace sowatch;

QMafwWatchletPlugin::QMafwWatchletPlugin(QObject *parent) :
    QObject(parent)
{
}

QMafwWatchletPlugin::~QMafwWatchletPlugin()
{
}

QStringList QMafwWatchletPlugin::watchlets()
{
	QStringList l;
	l << "com.javispedro.sowatch.qmafw";
	return l;
}

Watchlet* QMafwWatchletPlugin::getWatchlet(const QString& driver, QSettings& settings, WatchServer *server)
{
	Q_UNUSED(driver);
	Q_UNUSED(settings);
	return new QMafwWatchlet(server);
}

Q_EXPORT_PLUGIN2(qmafwwatchlet, QMafwWatchletPlugin)