Updated Hungarian translation
[evolution.git] / e-util / e-timezone-dialog.h
blob0be885b1e5af0175cf210f03d96ef6b62a97e1cb
1 /*
2 * Evolution calendar - Timezone selector dialog
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
11 * for more details.
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program; if not, see <http://www.gnu.org/licenses/>.
17 * Authors:
18 * Damon Chaplin <damon@ximian.com>
20 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
24 #if !defined (__E_UTIL_H_INSIDE__) && !defined (LIBEUTIL_COMPILATION)
25 #error "Only <e-util/e-util.h> should be included directly."
26 #endif
28 #ifndef E_TIMEZONE_DIALOG_H
29 #define E_TIMEZONE_DIALOG_H
31 #include <gtk/gtk.h>
32 #include <libical/ical.h>
34 /* Standard GObject macros */
35 #define E_TYPE_TIMEZONE_DIALOG \
36 (e_timezone_dialog_get_type ())
37 #define E_TIMEZONE_DIALOG(obj) \
38 (G_TYPE_CHECK_INSTANCE_CAST \
39 ((obj), E_TYPE_TIMEZONE_DIALOG, ETimezoneDialog))
40 #define E_TIMEZONE_DIALOG_CLASS(cls) \
41 (G_TYPE_CHECK_CLASS_CAST \
42 ((cls), E_TYPE_TIMEZONE_DIALOG, ETimezoneDialogClass))
43 #define E_IS_TIMEZONE_DIALOG(obj) \
44 (G_TYPE_CHECK_INSTANCE_TYPE \
45 ((obj), E_TYPE_TIMEZONE_DIALOG))
46 #define E_IS_TIMEZONE_DIALOG_CLASS(cls) \
47 (G_TYPE_CHECK_CLASS_TYPE \
48 ((cls), E_TYPE_TIMEZONE_DIALOG))
49 #define E_TIMEZONE_DIALOG_GET_CLASS(obj) \
50 (G_TYPE_INSTANCE_GET_CLASS \
51 ((obj), E_TYPE_TIMEZONE_DIALOG, ETimezoneDialogClass))
53 typedef struct _ETimezoneDialog ETimezoneDialog;
54 typedef struct _ETimezoneDialogClass ETimezoneDialogClass;
55 typedef struct _ETimezoneDialogPrivate ETimezoneDialogPrivate;
57 struct _ETimezoneDialog {
58 GObject object;
59 ETimezoneDialogPrivate *priv;
62 struct _ETimezoneDialogClass {
63 GObjectClass parent_class;
66 GType e_timezone_dialog_get_type (void) G_GNUC_CONST;
67 ETimezoneDialog *
68 e_timezone_dialog_construct (ETimezoneDialog *etd);
69 ETimezoneDialog *
70 e_timezone_dialog_new (void);
71 icaltimezone * e_timezone_dialog_get_timezone (ETimezoneDialog *etd);
72 void e_timezone_dialog_set_timezone (ETimezoneDialog *etd,
73 icaltimezone *zone);
74 GtkWidget * e_timezone_dialog_get_toplevel (ETimezoneDialog *etd);
76 #endif /* E_TIMEZONE_DIALOG_H */