summaryrefslogtreecommitdiff
path: root/testnotification/testweathernotification.h
blob: 1236f3161d25842eb05ae474f8ca349adf4b14a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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