diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2011-10-16 04:42:30 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2011-10-16 04:42:30 +0200 |
commit | 4da9bced6a27b92d49b9fc9392946510b8519d82 (patch) | |
tree | 7a2417a932a6463e3e6f6ec4d3799e24de917306 /libsowatch/watch.h | |
parent | bde4bde8ec9d6d09874d5ae9e0ba6dc9431859b6 (diff) | |
download | sowatch-4da9bced6a27b92d49b9fc9392946510b8519d82.tar.gz sowatch-4da9bced6a27b92d49b9fc9392946510b8519d82.zip |
Initial implementation of weather
Diffstat (limited to 'libsowatch/watch.h')
-rw-r--r-- | libsowatch/watch.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libsowatch/watch.h b/libsowatch/watch.h index 9147f9a..eb572eb 100644 --- a/libsowatch/watch.h +++ b/libsowatch/watch.h @@ -7,6 +7,7 @@ #include <QtGui/QPaintDevice> #include <QtGui/QImage> #include "notification.h" +#include "weathernotification.h" #include "sowatch_global.h" namespace sowatch @@ -62,6 +63,9 @@ public: /** Tells the watch to update the unread notifications count, if visible. */ virtual void updateNotificationCount(Notification::Type type, int count) = 0; + /** Tells the watch to update the current weather forecast, if visible. */ + virtual void updateWeather(WeatherNotification* weather) = 0; + public slots: /** Go back to the idle screen. */ virtual void displayIdleScreen() = 0; |