diff options
Diffstat (limited to 'testnotification/testnotificationplugin.h')
-rw-r--r-- | testnotification/testnotificationplugin.h | 25 |
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 |