From 4da9bced6a27b92d49b9fc9392946510b8519d82 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sun, 16 Oct 2011 04:42:30 +0200 Subject: Initial implementation of weather --- libsowatch/watch.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libsowatch/watch.h') 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 #include #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; -- cgit v1.2.3