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
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
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))
45 typedef struct _EMailConfigWindow EMailConfigWindow
;
46 typedef struct _EMailConfigWindowClass EMailConfigWindowClass
;
47 typedef struct _EMailConfigWindowPrivate EMailConfigWindowPrivate
;
49 struct _EMailConfigWindow
{
51 EMailConfigWindowPrivate
*priv
;
54 struct _EMailConfigWindowClass
{
55 GtkDialogClass parent_class
;
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
);
71 #endif /* E_MAIL_CONFIG_WINDOW_H */