Updated Hungarian translation
[evolution.git] / mail / e-mail-config-window.h
blobb4b197e416915e26036f42e9025caa4c1df00052
1 /*
2 * e-mail-config-window.h
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/>.
18 #ifndef E_MAIL_CONFIG_WINDOW_H
19 #define E_MAIL_CONFIG_WINDOW_H
21 #include <gtk/gtk.h>
22 #include <libemail-engine/libemail-engine.h>
24 /* Standard GObject macros */
25 #define E_TYPE_MAIL_CONFIG_WINDOW \
26 (e_mail_config_window_get_type ())
27 #define E_MAIL_CONFIG_WINDOW(obj) \
28 (G_TYPE_CHECK_INSTANCE_CAST \
29 ((obj), E_TYPE_MAIL_CONFIG_WINDOW, EMailConfigWindow))
30 #define E_MAIL_CONFIG_WINDOW_CLASS(cls) \
31 (G_TYPE_CHECK_CLASS_CAST \
32 ((cls), E_TYPE_MAIL_CONFIG_WINDOW, EMailConfigWindowClass))
33 #define E_IS_MAIL_CONFIG_WINDOW(obj) \
34 (G_TYPE_CHECK_INSTANCE_TYPE \
35 ((obj), E_TYPE_MAIL_CONFIG_WINDOW))
36 #define E_IS_MAIL_CONFIG_WINDOW_CLASS(cls) \
37 (G_TYPE_CHECK_CLASS_TYPE \
38 ((cls), E_TYPE_MAIL_CONFIG_WINDOW))
39 #define E_MAIL_CONFIG_WINDOW_GET_CLASS(obj) \
40 (G_TYPE_INSTANCE_GET_CLASS \
41 ((obj), E_TYPE_MAIL_CONFIG_WINDOW, EMailConfigWindowClass))
43 G_BEGIN_DECLS
45 typedef struct _EMailConfigWindow EMailConfigWindow;
46 typedef struct _EMailConfigWindowClass EMailConfigWindowClass;
47 typedef struct _EMailConfigWindowPrivate EMailConfigWindowPrivate;
49 struct _EMailConfigWindow {
50 GtkDialog parent;
51 EMailConfigWindowPrivate *priv;
54 struct _EMailConfigWindowClass {
55 GtkDialogClass parent_class;
57 /* Signals */
58 void (*changes_committed) (EMailConfigWindow *window);
61 GType e_mail_config_window_get_type (void) G_GNUC_CONST;
62 GtkWidget * e_mail_config_window_new (EMailSession *session,
63 ESource *original_source);
64 EMailSession * e_mail_config_window_get_session
65 (EMailConfigWindow *window);
66 ESource * e_mail_config_window_get_original_source
67 (EMailConfigWindow *window);
69 G_END_DECLS
71 #endif /* E_MAIL_CONFIG_WINDOW_H */