2 * e-mail-config-lookup-page.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_LOOKUP_PAGE_H
19 #define E_MAIL_CONFIG_LOOKUP_PAGE_H
23 #include <mail/e-mail-config-identity-page.h>
25 /* Standard GObject macros */
26 #define E_TYPE_MAIL_CONFIG_LOOKUP_PAGE \
27 (e_mail_config_lookup_page_get_type ())
28 #define E_MAIL_CONFIG_LOOKUP_PAGE(obj) \
29 (G_TYPE_CHECK_INSTANCE_CAST \
30 ((obj), E_TYPE_MAIL_CONFIG_LOOKUP_PAGE, EMailConfigLookupPage))
31 #define E_MAIL_CONFIG_LOOKUP_PAGE_CLASS(cls) \
32 (G_TYPE_CHECK_CLASS_CAST \
33 ((cls), E_TYPE_MAIL_CONFIG_LOOKUP_PAGE, EMailConfigLookupPageClass))
34 #define E_IS_MAIL_CONFIG_LOOKUP_PAGE(obj) \
35 (G_TYPE_CHECK_INSTANCE_TYPE \
36 ((obj), E_TYPE_MAIL_CONFIG_LOOKUP_PAGE))
37 #define E_IS_MAIL_CONFIG_LOOKUP_PAGE_CLASS(cls) \
38 (G_TYPE_CHECK_CLASS_TYPE \
39 ((cls), E_TYPE_MAIL_CONFIG_LOOKUP_PAGE))
40 #define E_MAIL_CONFIG_LOOKUP_GET_CLASS(obj) \
41 (G_TYPE_INSTANCE_GET_CLASS \
42 ((obj), E_TYPE_MAIL_CONFIG_LOOKUP_PAGE, EMailConfigLookupPageClass))
44 /* Since this is a transient page we define the sort order
45 * as the previous page's sort order plus a small offset. */
46 #define E_MAIL_CONFIG_LOOKUP_PAGE_SORT_ORDER \
47 (E_MAIL_CONFIG_IDENTITY_PAGE_SORT_ORDER + 10)
51 typedef struct _EMailConfigLookupPage EMailConfigLookupPage
;
52 typedef struct _EMailConfigLookupPageClass EMailConfigLookupPageClass
;
53 typedef struct _EMailConfigLookupPagePrivate EMailConfigLookupPagePrivate
;
55 struct _EMailConfigLookupPage
{
56 GtkScrolledWindow parent
;
57 EMailConfigLookupPagePrivate
*priv
;
60 struct _EMailConfigLookupPageClass
{
61 GtkScrolledWindowClass parent_class
;
64 GType e_mail_config_lookup_page_get_type
67 e_mail_config_lookup_page_new (void);
71 #endif /* E_MAIL_CONFIG_LOOKUP_PAGE_H */