summaryrefslogtreecommitdiff
path: root/ckitcallnotification/ckitcallplugin.cpp
blob: cda8f58b8b97716badc79cd253ff902b42b0d86e (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
30
31
32
33
34
35
36
37
#include "ckitcallprovider.h"
#include "ckitcallplugin.h"

using namespace sowatch;

CKitCallPlugin::CKitCallPlugin(QObject *parent) :
    QObject(parent)
{
}

CKitCallPlugin::~CKitCallPlugin()
{
}

QStringList CKitCallPlugin::providers()
{
	QStringList providers;
	providers << "ckitcall";
	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);
	Q_UNUSED(settings);
	return new CKitCallProvider(parent);
}

Q_EXPORT_PLUGIN2(ckitcallnotification, CKitCallPlugin)