blob: 25821c4b9736d2617691c6f8c84c6ce35912364f (
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 "harmaccuprovider.h"
#include "harmaccuplugin.h"
using namespace sowatch;
HarmAccuPlugin::HarmAccuPlugin(QObject *parent) :
QObject(parent)
{
}
HarmAccuPlugin::~HarmAccuPlugin()
{
}
QStringList HarmAccuPlugin::providers()
{
QStringList providers;
providers << "harmaccu";
return providers;
}
NotificationProvider* HarmAccuPlugin::getProvider(const QString& id, QSettings& settings, QObject *parent)
{
Q_UNUSED(settings);
if (id != "harmaccu") return 0;
return new HarmAccuProvider(parent);
}
Q_EXPORT_PLUGIN2(harmaccuweather, HarmAccuPlugin)
|