aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/weather.h
blob: f94dd645381921e6979ee37b86ee0545231f4105 (plain) (blame)
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
35
36
37
38
39
40
41
/*
 * weather.h
 *
 * Copyright (C) 2001,  Ximian, Inc
 *
 * Authors: Iain Holmes  <iain@ximian.com>
 */

#ifndef __WEATHER_H__
#define __WEATHER_H__

#include "e-summary-weather.h"

#include <libgnomevfs/gnome-vfs.h>

typedef struct _Weather {
    char *location;
    char *html;
    GnomeVFSAsyncHandle *handle;
    GString *string;
    char *buffer;

    ESummary *summary;

    gboolean valid;
    ESummaryWeatherLocation *loc;
    ESummaryWeatherUnits units;
    ESummaryWeatherUpdate update;
    ESummaryWeatherSky sky;
    ESummaryWeatherConditions cond;
    ESummaryWeatherTemperature temp;
    ESummaryWeatherTemperature dew;
    ESummaryWeatherHumidity humidity;
    ESummaryWeatherWindDir wind;
    ESummaryWeatherWindSpeed windspeed;
    ESummaryWeatherPressure pressure;
    ESummaryWeatherVisibility visibility;
    char *forecast;
} Weather;

#endif