1 /*
2  * e-mail-config-welcome-page.h
3  *
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.
7  *
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.
12  *
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/>.
15  *
16  */
17 
18 #ifndef E_MAIL_CONFIG_WELCOME_PAGE_H
19 #define E_MAIL_CONFIG_WELCOME_PAGE_H
20 
21 #include <gtk/gtk.h>
22 
23 #include <mail/e-mail-config-page.h>
24 
25 /* Standard GObject macros */
26 #define E_TYPE_MAIL_CONFIG_WELCOME_PAGE \
27 	(e_mail_config_welcome_page_get_type ())
28 #define E_MAIL_CONFIG_WELCOME_PAGE(obj) \
29 	(G_TYPE_CHECK_INSTANCE_CAST \
30 	((obj), E_TYPE_MAIL_CONFIG_WELCOME_PAGE, EMailConfigWelcomePage))
31 #define E_MAIL_CONFIG_WELCOME_PAGE_CLASS(cls) \
32 	(G_TYPE_CHECK_CLASS_CAST \
33 	((cls), E_TYPE_MAIL_CONFIG_WELCOME_PAGE, EMailConfigWelcomePageClass))
34 #define E_IS_MAIL_CONFIG_WELCOME_PAGE(obj) \
35 	(G_TYPE_CHECK_INSTANCE_TYPE \
36 	((obj), E_TYPE_MAIL_CONFIG_WELCOME_PAGE))
37 #define E_IS_MAIL_CONFIG_WELCOME_PAGE_CLASS(cls) \
38 	(G_TYPE_CHECK_CLASS_TYPE \
39 	((cls), E_TYPE_MAIL_CONFIG_WELCOME_PAGE))
40 #define E_MAIL_CONFIG_WELCOME_PAGE_GET_CLASS(obj) \
41 	(G_TYPE_INSTANCE_GET_CLASS \
42 	((obj), E_TYPE_MAIL_CONFIG_WELCOME_PAGE, EMailConfigWelcomePageClass))
43 
44 #define E_MAIL_CONFIG_WELCOME_PAGE_SORT_ORDER (0)
45 
46 G_BEGIN_DECLS
47 
48 typedef struct _EMailConfigWelcomePage EMailConfigWelcomePage;
49 typedef struct _EMailConfigWelcomePageClass EMailConfigWelcomePageClass;
50 typedef struct _EMailConfigWelcomePagePrivate EMailConfigWelcomePagePrivate;
51 
52 struct _EMailConfigWelcomePage {
53 	GtkScrolledWindow parent;
54 	EMailConfigWelcomePagePrivate *priv;
55 };
56 
57 struct _EMailConfigWelcomePageClass {
58 	GtkScrolledWindowClass parent_class;
59 };
60 
61 GType		e_mail_config_welcome_page_get_type
62 						(void) G_GNUC_CONST;
63 EMailConfigPage *
64 		e_mail_config_welcome_page_new	(void);
65 const gchar *	e_mail_config_welcome_page_get_text
66 						(EMailConfigWelcomePage *page);
67 void		e_mail_config_welcome_page_set_text
68 						(EMailConfigWelcomePage *page,
69 						 const gchar *text);
70 GtkBox *	e_mail_config_welcome_page_get_main_box
71 						(EMailConfigWelcomePage *page);
72 
73 G_END_DECLS
74 
75 #endif /* E_MAIL_CONFIG_WELCOME_PAGE_H */
76 
77