summaryrefslogtreecommitdiff
path: root/mateweather/src/mateweather-pref.h
diff options
context:
space:
mode:
Diffstat (limited to 'mateweather/src/mateweather-pref.h')
-rw-r--r--mateweather/src/mateweather-pref.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/mateweather/src/mateweather-pref.h b/mateweather/src/mateweather-pref.h
new file mode 100644
index 00000000..f3cc901b
--- /dev/null
+++ b/mateweather/src/mateweather-pref.h
@@ -0,0 +1,59 @@
+/* $Id$ */
+
+/*
+ * Papadimitriou Spiros <[email protected]>
+ *
+ * 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 */
+