diff options
author | rbuj <[email protected]> | 2020-12-02 10:19:16 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-12-13 16:20:04 +0100 |
commit | 1f964c265a0f45c064d312dcd51f985e877cbc55 (patch) | |
tree | e7520456bc97ba82c19fdbbd9f5fd69807919069 /mateweather/src/mateweather.h | |
parent | fbca7353191c20b3ce70fe2390491305ba3968fa (diff) | |
download | mate-applets-1f964c265a0f45c064d312dcd51f985e877cbc55.tar.bz2 mate-applets-1f964c265a0f45c064d312dcd51f985e877cbc55.tar.xz |
mateweather: Use common subdirs - src, data
Diffstat (limited to 'mateweather/src/mateweather.h')
-rw-r--r-- | mateweather/src/mateweather.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/mateweather/src/mateweather.h b/mateweather/src/mateweather.h new file mode 100644 index 00000000..fa492849 --- /dev/null +++ b/mateweather/src/mateweather.h @@ -0,0 +1,53 @@ +#ifndef __MATEWEATHER_H__ +#define __MATEWEATHER_H__ + +/* + * todd kulesza <[email protected]> + * + * 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 |