blob: fa4928499eb2e8b54bd64db31909a318a882d262 (
plain)
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
42
43
44
45
46
47
48
49
50
51
52
53
|
#ifndef __MATEWEATHER_H__
#define __MATEWEATHER_H__
/*
* todd kulesza <fflewddur@dropline.net>
*
* This code released under the GNU GPL.
* Read the file COPYING for more information.
*
* main header file
*
*/
#include <glib/gi18n.h>
#include <gio/gio.h>
#include <mate-panel-applet.h>
#include <libmateweather/mateweather-prefs.h>
/* Radar map on by default. */
#define RADARMAP
G_BEGIN_DECLS
typedef struct _MateWeatherApplet {
MatePanelApplet* applet;
WeatherInfo* mateweather_info;
GSettings* settings;
GtkWidget* container;
GtkWidget* box;
GtkWidget* label;
GtkWidget* image;
MatePanelAppletOrient orient;
gint size;
gint timeout_tag;
gint suncalc_timeout_tag;
/* preferences */
MateWeatherPrefs mateweather_pref;
GtkWidget* pref_dialog;
/* dialog stuff */
GtkWidget* details_dialog;
} MateWeatherApplet;
G_END_DECLS
#endif
|