summaryrefslogtreecommitdiff
path: root/notificationswatchlet/notificationswatchletplugin.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2011-10-02 16:39:40 +0200
committerJavier S. Pedro <maemo@javispedro.com>2011-10-02 16:39:40 +0200
commit0a656b75f3fc80f13424db0e7ec403dff28a366e (patch)
tree23f72a2fde3f718048b49d9806ded3d315d50a80 /notificationswatchlet/notificationswatchletplugin.h
parentd9f132f3d5bf41ee4f30e7ea2bd1b61120fa29b7 (diff)
downloadsowatch-0a656b75f3fc80f13424db0e7ec403dff28a366e.tar.gz
sowatch-0a656b75f3fc80f13424db0e7ec403dff28a366e.zip
new notifications list, time syncing
Diffstat (limited to 'notificationswatchlet/notificationswatchletplugin.h')
-rw-r--r--notificationswatchlet/notificationswatchletplugin.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/notificationswatchlet/notificationswatchletplugin.h b/notificationswatchlet/notificationswatchletplugin.h
new file mode 100644
index 0000000..e417aea
--- /dev/null
+++ b/notificationswatchlet/notificationswatchletplugin.h
@@ -0,0 +1,24 @@
+#ifndef NOTIFICATIONSWATCHLETPLUGIN_H
+#define NOTIFICATIONSWATCHLETPLUGIN_H
+
+#include <sowatch.h>
+
+namespace sowatch
+{
+
+class NotificationsWatchletPlugin : public QObject, public WatchletPluginInterface
+{
+ Q_OBJECT
+ Q_INTERFACES(sowatch::WatchletPluginInterface)
+
+public:
+ explicit NotificationsWatchletPlugin(QObject *parent = 0);
+ ~NotificationsWatchletPlugin();
+
+ QStringList watchlets();
+ Watchlet* getWatchlet(const QString& driver, QSettings& settings, WatchServer* server);
+};
+
+}
+
+#endif // NOTIFICATIONSWATCHLETPLUGIN_H