From 312ba610a1e98fc656fb58178227d7d45a64494e Mon Sep 17 00:00:00 2001 From: Perberos Date: Mon, 14 Nov 2011 18:24:48 -0300 Subject: initial --- mateweather/mateweather-dialog.h | 56 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 mateweather/mateweather-dialog.h (limited to 'mateweather/mateweather-dialog.h') diff --git a/mateweather/mateweather-dialog.h b/mateweather/mateweather-dialog.h new file mode 100644 index 00000000..69aa734d --- /dev/null +++ b/mateweather/mateweather-dialog.h @@ -0,0 +1,56 @@ +#ifndef __MATEWEATHER_DIALOG_H_ +#define __MATEWEATHER_DIALOG_H_ + +/* $Id$ */ + +/* + * Papadimitriou Spiros + * + * This code released under the GNU GPL. + * Read the file COPYING for more information. + * + * Main status dialog + * + */ + +#include + +#define MATEWEATHER_I_KNOW_THIS_IS_UNSTABLE + +#include "mateweather.h" + +G_BEGIN_DECLS + +#define MATEWEATHER_TYPE_DIALOG (mateweather_dialog_get_type ()) +#define MATEWEATHER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MATEWEATHER_TYPE_DIALOG, MateWeatherDialog)) +#define MATEWEATHER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MATEWEATHER_TYPE_DIALOG, MateWeatherDialogClass)) +#define MATEWEATHER_IS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MATEWEATHER_TYPE_DIALOG)) +#define MATEWEATHER_IS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MATEWEATHER_TYPE_DIALOG)) +#define MATEWEATHER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MATEWEATHER_TYPE_DIALOG, MateWeatherDialogClass)) + +typedef struct _MateWeatherDialog MateWeatherDialog; +typedef struct _MateWeatherDialogPrivate MateWeatherDialogPrivate; +typedef struct _MateWeatherDialogClass MateWeatherDialogClass; + +struct _MateWeatherDialog +{ + GtkDialog parent; + + /* private */ + MateWeatherDialogPrivate *priv; +}; + + +struct _MateWeatherDialogClass +{ + GtkDialogClass parent_class; +}; + +GType mateweather_dialog_get_type (void); +GtkWidget *mateweather_dialog_new (MateWeatherApplet *applet); +void mateweather_dialog_update (MateWeatherDialog *dialog); + +G_END_DECLS + +#endif /* __MATEWEATHER_DIALOG_H_ */ + -- cgit v1.2.1