summaryrefslogtreecommitdiff
path: root/testnotification/testnotificationprovider.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-11 15:30:38 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-11 15:30:38 +0200
commit51701e30d710ad016ddf2d306cdd7be122ddf25b (patch)
treed4a85bd4926c3f94411d3f6fa572e1a99be6bbb4 /testnotification/testnotificationprovider.h
parentf0564ad9d210cc68bfb1bfc6e56b86fa941ad830 (diff)
downloadsowatch-51701e30d710ad016ddf2d306cdd7be122ddf25b.tar.gz
sowatch-51701e30d710ad016ddf2d306cdd7be122ddf25b.zip
adding test notification backend
Diffstat (limited to 'testnotification/testnotificationprovider.h')
-rw-r--r--testnotification/testnotificationprovider.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/testnotification/testnotificationprovider.h b/testnotification/testnotificationprovider.h
new file mode 100644
index 0000000..9931ea0
--- /dev/null
+++ b/testnotification/testnotificationprovider.h
@@ -0,0 +1,29 @@
+#ifndef TESTNOTIFICATIONPROVIDER_H
+#define TESTNOTIFICATIONPROVIDER_H
+
+#include <sowatch.h>
+
+namespace sowatch
+{
+
+class TestNotification;
+
+class TestNotificationProvider : public NotificationProvider
+{
+ Q_OBJECT
+
+public:
+ explicit TestNotificationProvider(QObject *parent = 0);
+ ~TestNotificationProvider();
+
+private slots:
+ void generateInitialNotification();
+ void generateNotification();
+
+private:
+ QTimer *_timer;
+};
+
+}
+
+#endif // TESTNOTIFICATIONPROVIDER_H