1 /*
2  * e-mail-config-receiving-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_RECEIVING_PAGE_H
19 #define E_MAIL_CONFIG_RECEIVING_PAGE_H
20 
21 #include <mail/e-mail-config-page.h>
22 #include <mail/e-mail-config-service-page.h>
23 
24 /* Standard GObject macros */
25 #define E_TYPE_MAIL_CONFIG_RECEIVING_PAGE \
26 	(e_mail_config_receiving_page_get_type ())
27 #define E_MAIL_CONFIG_RECEIVING_PAGE(obj) \
28 	(G_TYPE_CHECK_INSTANCE_CAST \
29 	((obj), E_TYPE_MAIL_CONFIG_RECEIVING_PAGE, EMailConfigReceivingPage))
30 #define E_MAIL_CONFIG_RECEIVING_PAGE_CLASS(cls) \
31 	(G_TYPE_CHECK_CLASS_CAST \
32 	((cls), E_TYPE_MAIL_CONFIG_RECEIVING_PAGE, EMailConfigReceivingPageClass))
33 #define E_IS_MAIL_CONFIG_RECEIVING_PAGE(obj) \
34 	(G_TYPE_CHECK_INSTANCE_TYPE \
35 	((obj), E_TYPE_MAIL_CONFIG_RECEIVING_PAGE))
36 #define E_IS_MAIL_CONFIG_RECEIVING_PAGE_CLASS(cls) \
37 	(G_TYPE_CHECK_CLASS_TYPE \
38 	((cls), E_TYPE_MAIL_CONFIG_RECEIVING_PAGE))
39 #define E_MAIL_CONFIG_RECEIVING_PAGE_GET_CLASS(obj) \
40 	(G_TYPE_INSTANCE_GET_CLASS \
41 	((obj), E_TYPE_MAIL_CONFIG_RECEIVING_PAGE, EMailConfigReceivingPageClass))
42 
43 #define E_MAIL_CONFIG_RECEIVING_PAGE_SORT_ORDER (200)
44 
45 G_BEGIN_DECLS
46 
47 typedef struct _EMailConfigReceivingPage EMailConfigReceivingPage;
48 typedef struct _EMailConfigReceivingPageClass EMailConfigReceivingPageClass;
49 typedef struct _EMailConfigReceivingPagePrivate EMailConfigReceivingPagePrivate;
50 
51 struct _EMailConfigReceivingPage {
52 	EMailConfigServicePage parent;
53 };
54 
55 struct _EMailConfigReceivingPageClass {
56 	EMailConfigServicePageClass parent_class;
57 };
58 
59 GType		e_mail_config_receiving_page_get_type
60 						(void) G_GNUC_CONST;
61 EMailConfigPage *
62 		e_mail_config_receiving_page_new
63 						(ESourceRegistry *registry);
64 
65 G_END_DECLS
66 
67 #endif /* E_MAIL_CONFIG_RECEIVING_PAGE_H */
68 
69