weather: Allow to set a fix location.

This commit is contained in:
Florian Brosch
2017-12-11 21:23:19 -02:00
committed by Georges Basile Stavracas Neto
parent 83bec27ad5
commit 17af30b19c
2 changed files with 101 additions and 61 deletions
+3 -1
View File
@@ -19,6 +19,7 @@
#ifndef GCAL_WEATHER_SERVICE_H
#define GCAL_WEATHER_SERVICE_H
#include <libgweather/gweather.h>
#include <glib-object.h>
#include <glib.h>
@@ -32,7 +33,8 @@ G_DECLARE_FINAL_TYPE (GcalWeatherService, gcal_weather_service, GCAL, WEATHER_SE
GcalWeatherService* gcal_weather_service_new (guint max_days,
guint check_interval);
void gcal_weather_service_run (GcalWeatherService *self);
void gcal_weather_service_run (GcalWeatherService *self,
GWeatherLocation *location);
void gcal_weather_service_stop (GcalWeatherService *self);