summaryrefslogtreecommitdiff
path: root/testnotification/testnotificationplugin.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/testnotificationplugin.h
parentf0564ad9d210cc68bfb1bfc6e56b86fa941ad830 (diff)
downloadsowatch-51701e30d710ad016ddf2d306cdd7be122ddf25b.tar.gz
sowatch-51701e30d710ad016ddf2d306cdd7be122ddf25b.zip
adding test notification backend
Diffstat (limited to 'testnotification/testnotificationplugin.h')
-rw-r--r--testnotification/testnotificationplugin.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/testnotification/testnotificationplugin.h b/testnotification/testnotificationplugin.h
new file mode 100644
index 0000000..03ebb30
--- /dev/null
+++ b/testnotification/testnotificationplugin.h
@@ -0,0 +1,25 @@
+#ifndef TESTNOTIFICATIONPLUGIN_H
+#define TESTNOTIFICATIONPLUGIN_H
+
+#include <sowatch.h>
+
+namespace sowatch
+{
+
+class TestNotificationPlugin : public QObject, public NotificationPluginInterface
+{
+ Q_OBJECT
+ Q_INTERFACES(sowatch::NotificationPluginInterface)
+
+public:
+ TestNotificationPlugin(QObject *parent = 0);
+ ~TestNotificationPlugin();
+
+ QStringList providers();
+ NotificationProviderInfo describeProvider(const QString &driver);
+ NotificationProvider* getProvider(const QString& driver, ConfigKey *settings, QObject *parent = 0);
+};
+
+}
+
+#endif // TESTNOTIFICATIONPLUGIN_H