summaryrefslogtreecommitdiff
path: root/qmsgwatchlet/qmsgwatchletplugin.cpp
blob: 64a4157670e47e49dcea2125ae5b96933db3da2d (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 "qmsgwatchlet.h"
#include "qmsgwatchletplugin.h"

using namespace sowatch;

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

QMsgWatchletPlugin::~QMsgWatchletPlugin()
{
}

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

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

Q_EXPORT_PLUGIN2(qmsgwatchlet, QMsgWatchletPlugin)