diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2011-10-02 16:39:40 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2011-10-02 16:39:40 +0200 |
commit | 0a656b75f3fc80f13424db0e7ec403dff28a366e (patch) | |
tree | 23f72a2fde3f718048b49d9806ded3d315d50a80 /notificationswatchlet/notificationswatchletplugin.cpp | |
parent | d9f132f3d5bf41ee4f30e7ea2bd1b61120fa29b7 (diff) | |
download | sowatch-0a656b75f3fc80f13424db0e7ec403dff28a366e.tar.gz sowatch-0a656b75f3fc80f13424db0e7ec403dff28a366e.zip |
new notifications list, time syncing
Diffstat (limited to 'notificationswatchlet/notificationswatchletplugin.cpp')
-rw-r--r-- | notificationswatchlet/notificationswatchletplugin.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/notificationswatchlet/notificationswatchletplugin.cpp b/notificationswatchlet/notificationswatchletplugin.cpp new file mode 100644 index 0000000..a3ebbd7 --- /dev/null +++ b/notificationswatchlet/notificationswatchletplugin.cpp @@ -0,0 +1,29 @@ +#include "notificationswatchlet.h" +#include "notificationswatchletplugin.h" + +using namespace sowatch; + +NotificationsWatchletPlugin::NotificationsWatchletPlugin(QObject *parent) : + QObject(parent) +{ +} + +NotificationsWatchletPlugin::~NotificationsWatchletPlugin() +{ +} + +QStringList NotificationsWatchletPlugin::watchlets() +{ + QStringList l; + l << "com.javispedro.sowatch.notifications"; + return l; +} + +Watchlet* NotificationsWatchletPlugin::getWatchlet(const QString& driver, QSettings& settings, WatchServer *server) +{ + Q_UNUSED(driver); + Q_UNUSED(settings); + return new NotificationsWatchlet(server); +} + +Q_EXPORT_PLUGIN2(notificationswatchlet, NotificationsWatchletPlugin) |