summaryrefslogtreecommitdiff
path: root/testnotification/testweathernotification.h
diff options
context:
space:
mode:
Diffstat (limited to 'testnotification/testweathernotification.h')
-rw-r--r--testnotification/testweathernotification.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/testnotification/testweathernotification.h b/testnotification/testweathernotification.h
new file mode 100644
index 0000000..1236f31
--- /dev/null
+++ b/testnotification/testweathernotification.h
@@ -0,0 +1,34 @@
+#ifndef TESTWEATHERNOTIFICATION_H
+#define TESTWEATHERNOTIFICATION_H
+
+#include <sowatch.h>
+
+namespace sowatch
+{
+
+class TestWeatherNotification : public WeatherNotification
+{
+ Q_OBJECT
+
+public:
+ explicit TestWeatherNotification(QObject *parent = 0);
+
+ Type type() const;
+ uint count() const;
+ QDateTime dateTime() const;
+ QString title() const;
+ QString body() const;
+
+ WeatherType forecast() const;
+ int temperature() const;
+ Unit temperatureUnits() const;
+
+ void activate();
+ void dismiss();
+};
+
+}
+
+QML_DECLARE_TYPE(sowatch::TestWeatherNotification)
+
+#endif // TESTWEATHERNOTIFICATION_H