weather: Properly extract and translate weather information.

Completes commit 98cc78d6de66fc3a79abd9148ba03e9b21f89fb1.
This commit is contained in:
Florian Brosch
2017-12-11 21:23:19 -02:00
committed by Georges Basile Stavracas Neto
parent d7c9e70c31
commit 13342ac82e
2 changed files with 286 additions and 28 deletions
+9 -2
View File
@@ -23,6 +23,8 @@
#include <glib-object.h>
#include <glib.h>
#include "gcal-weather-info.h"
G_BEGIN_DECLS
#define GCAL_TYPE_WEATHER_SERVICE (gcal_weather_service_get_type())
@@ -30,8 +32,13 @@ G_BEGIN_DECLS
G_DECLARE_FINAL_TYPE (GcalWeatherService, gcal_weather_service, GCAL, WEATHER_SERVICE, GObject)
GcalWeatherService* gcal_weather_service_new (guint max_days,
guint check_interval);
GcalWeatherService* gcal_weather_service_new (guint max_days,
guint check_interval);
GTimeZone* gcal_weather_service_get_time_zone (GcalWeatherService *self);
void gcal_weather_service_set_time_zone (GcalWeatherService *self,
GTimeZone *value);
void gcal_weather_service_run (GcalWeatherService *self,
GWeatherLocation *location);