summaryrefslogtreecommitdiff
path: root/harmaccuweather/harmaccuplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'harmaccuweather/harmaccuplugin.cpp')
-rw-r--r--harmaccuweather/harmaccuplugin.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/harmaccuweather/harmaccuplugin.cpp b/harmaccuweather/harmaccuplugin.cpp
index 7414187..ff7b6cf 100644
--- a/harmaccuweather/harmaccuplugin.cpp
+++ b/harmaccuweather/harmaccuplugin.cpp
@@ -19,6 +19,14 @@ QStringList HarmAccuPlugin::providers()
return providers;
}
+NotificationPluginInterface::NotificationProviderInfo HarmAccuPlugin::describeProvider(const QString &driver)
+{
+ NotificationProviderInfo info;
+ if (driver != "harmaccu") return info;
+ info.name = "Accuweather";
+ return info;
+}
+
NotificationProvider* HarmAccuPlugin::getProvider(const QString& id, ConfigKey *settings, QObject *parent)
{
Q_UNUSED(settings);