/* $Id$ */

/*
 *  Papadimitriou Spiros <spapadim+@cs.cmu.edu>
 *
 *  This code released under the GNU GPL.
 *  Read the file COPYING for more information.
 *
 *  Preferences dialog
 *
 */

#ifndef __MATEWEATHER_PREF_H_
#define __MATEWEATHER_PREF_H_

#include <gtk/gtk.h>

#define MATEWEATHER_I_KNOW_THIS_IS_UNSTABLE

#include "mateweather.h"

G_BEGIN_DECLS

#define MATEWEATHER_TYPE_PREF		(mateweather_pref_get_type ())
#define MATEWEATHER_PREF(obj)		(G_TYPE_CHECK_INSTANCE_CAST ((obj), MATEWEATHER_TYPE_PREF, MateWeatherPref))
#define MATEWEATHER_PREF_CLASS(klass)	(G_TYPE_CHECK_CLASS_CAST ((klass), MATEWEATHER_TYPE_PREF, MateWeatherPrefClass))
#define MATEWEATHER_IS_PREF(obj)		(G_TYPE_CHECK_INSTANCE_TYPE ((obj), MATEWEATHER_TYPE_PREF))
#define MATEWEATHER_IS_PREF_CLASS(klass)	(G_TYPE_CHECK_CLASS_TYPE ((klass), MATEWEATHER_TYPE_PREF))
#define MATEWEATHER_PREF_GET_CLASS(obj)	(G_TYPE_INSTANCE_GET_CLASS ((obj), MATEWEATHER_TYPE_PREF, MateWeatherPrefClass))

typedef struct _MateWeatherPref MateWeatherPref;
typedef struct _MateWeatherPrefPrivate MateWeatherPrefPrivate;
typedef struct _MateWeatherPrefClass MateWeatherPrefClass;

struct _MateWeatherPref
{
	GtkDialog parent;

	/* private */
	MateWeatherPrefPrivate *priv;
};


struct _MateWeatherPrefClass
{
	GtkDialogClass parent_class;
};

GType		 mateweather_pref_get_type	(void);
GtkWidget	*mateweather_pref_new	(MateWeatherApplet *applet);


void set_access_namedesc (GtkWidget *widget, const gchar *name, const gchar *desc);


G_END_DECLS

#endif /* __MATEWEATHER_PREF_H */