diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2011-09-24 00:31:46 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2011-09-24 00:31:46 +0200 |
commit | cba26597f1c09764d37be0d13863ec5d5c340da0 (patch) | |
tree | 5559b1274c228673e2bd519135de8de596c7e91b /ckitcallnotification/ckitcallplugin.cpp | |
parent | b414dbdb28d839c9755b1832f27f61d1ec9e7863 (diff) | |
download | sowatch-cba26597f1c09764d37be0d13863ec5d5c340da0.tar.gz sowatch-cba26597f1c09764d37be0d13863ec5d5c340da0.zip |
new partially working incoming call plugin
Diffstat (limited to 'ckitcallnotification/ckitcallplugin.cpp')
-rw-r--r-- | ckitcallnotification/ckitcallplugin.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ckitcallnotification/ckitcallplugin.cpp b/ckitcallnotification/ckitcallplugin.cpp new file mode 100644 index 0000000..aea82c2 --- /dev/null +++ b/ckitcallnotification/ckitcallplugin.cpp @@ -0,0 +1,29 @@ +#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; +} + +NotificationProvider* CKitCallPlugin::getProvider(const QString& driver, QSettings& settings, QObject *parent) +{ + Q_UNUSED(driver); + Q_UNUSED(settings); + return new CKitCallProvider(parent); +} + +Q_EXPORT_PLUGIN2(ckitcallnotification, CKitCallPlugin) |