From 51701e30d710ad016ddf2d306cdd7be122ddf25b Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sat, 11 Aug 2012 15:30:38 +0200 Subject: adding test notification backend --- testnotification/testnotificationplugin.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 testnotification/testnotificationplugin.h (limited to 'testnotification/testnotificationplugin.h') 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 + +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 -- cgit v1.2.3