blob: 74141875fbf72c65809c6aa6e6a4b4300f73f345 (
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, ConfigKey *settings, QObject *parent)
{
Q_UNUSED(settings);
if (id != "harmaccu") return 0;
return new HarmAccuProvider(parent);
}
Q_EXPORT_PLUGIN2(harmaccuweather, HarmAccuPlugin)
|