diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2011-09-19 01:51:04 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2011-09-19 01:51:04 +0200 |
commit | 77a98ac21c2520d9fb4bb9c8f70967a8e36dc872 (patch) | |
tree | 687d1cc8820296d56e06c8fab3eaf9ef935cba23 /meegohandsetnotification/meegohandsetplugin.cpp | |
parent | 03af539d69d903dfb5df19b447707a35ebaa4a54 (diff) | |
download | sowatch-77a98ac21c2520d9fb4bb9c8f70967a8e36dc872.tar.gz sowatch-77a98ac21c2520d9fb4bb9c8f70967a8e36dc872.zip |
adding notification provider plugins, idle screen
Diffstat (limited to 'meegohandsetnotification/meegohandsetplugin.cpp')
-rw-r--r-- | meegohandsetnotification/meegohandsetplugin.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meegohandsetnotification/meegohandsetplugin.cpp b/meegohandsetnotification/meegohandsetplugin.cpp new file mode 100644 index 0000000..bac41aa --- /dev/null +++ b/meegohandsetnotification/meegohandsetplugin.cpp @@ -0,0 +1,28 @@ +#include "meegohandsetplugin.h" +#include "meegohandsetnotificationprovider.h" + +using namespace sowatch; + +MeegoHandsetPlugin::MeegoHandsetPlugin() +{ +} + +MeegoHandsetPlugin::~MeegoHandsetPlugin() +{ +} + +QStringList MeegoHandsetPlugin::providers() +{ + QStringList providers; + providers << "meegohandset"; + return providers; +} + +NotificationProvider* MeegoHandsetPlugin::getProvider(const QString& driver, QSettings& settings, QObject *parent) +{ + Q_UNUSED(driver); + Q_UNUSED(settings); + return new MeegoHandsetNotificationProvider(parent); +} + +Q_EXPORT_PLUGIN2(meegohandsetnotification, MeegoHandsetPlugin) |