summaryrefslogtreecommitdiff
path: root/ckitcallnotification
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-10 14:02:07 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-10 14:02:07 +0200
commitb9082fda48bb026fc4e6148efeba9aabf608373a (patch)
treef4f2c498adc8009d082aecc7df2458c2bcf99c15 /ckitcallnotification
parent3ca0764c683f8c6498b80f8d8410eca96cc9a793 (diff)
downloadsowatch-b9082fda48bb026fc4e6148efeba9aabf608373a.tar.gz
sowatch-b9082fda48bb026fc4e6148efeba9aabf608373a.zip
NotificationProviders UI
Diffstat (limited to 'ckitcallnotification')
-rw-r--r--ckitcallnotification/ckitcallplugin.cpp8
-rw-r--r--ckitcallnotification/ckitcallplugin.h1
2 files changed, 9 insertions, 0 deletions
diff --git a/ckitcallnotification/ckitcallplugin.cpp b/ckitcallnotification/ckitcallplugin.cpp
index b63c1b6..cda8f58 100644
--- a/ckitcallnotification/ckitcallplugin.cpp
+++ b/ckitcallnotification/ckitcallplugin.cpp
@@ -19,6 +19,14 @@ QStringList CKitCallPlugin::providers()
return providers;
}
+NotificationPluginInterface::NotificationProviderInfo CKitCallPlugin::describeProvider(const QString &driver)
+{
+ Q_UNUSED(driver);
+ NotificationProviderInfo info;
+ info.name = "MeeGo Incoming calls";
+ return info;
+}
+
NotificationProvider* CKitCallPlugin::getProvider(const QString& driver, ConfigKey *settings, QObject *parent)
{
Q_UNUSED(driver);
diff --git a/ckitcallnotification/ckitcallplugin.h b/ckitcallnotification/ckitcallplugin.h
index b55f178..6484115 100644
--- a/ckitcallnotification/ckitcallplugin.h
+++ b/ckitcallnotification/ckitcallplugin.h
@@ -16,6 +16,7 @@ public:
~CKitCallPlugin();
QStringList providers();
+ NotificationProviderInfo describeProvider(const QString &driver);
NotificationProvider* getProvider(const QString& driver, ConfigKey *settings, QObject *parent = 0);
};