#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)