2 * e-mail-shell-content.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/>.
17 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
21 #ifndef E_MAIL_SHELL_CONTENT_H
22 #define E_MAIL_SHELL_CONTENT_H
24 #include <shell/e-shell-content.h>
25 #include <shell/e-shell-searchbar.h>
26 #include <shell/e-shell-view.h>
27 #include <mail/e-mail-view.h>
29 /* Standard GObject macros */
30 #define E_TYPE_MAIL_SHELL_CONTENT \
31 (e_mail_shell_content_get_type ())
32 #define E_MAIL_SHELL_CONTENT(obj) \
33 (G_TYPE_CHECK_INSTANCE_CAST \
34 ((obj), E_TYPE_MAIL_SHELL_CONTENT, EMailShellContent))
35 #define E_MAIL_SHELL_CONTENT_CLASS(cls) \
36 (G_TYPE_CHECK_CLASS_CAST \
37 ((cls), E_TYPE_MAIL_SHELL_CONTENT, EMailShellContentClass))
38 #define E_IS_MAIL_SHELL_CONTENT(obj) \
39 (G_TYPE_CHECK_INSTANCE_TYPE \
40 ((obj), E_TYPE_MAIL_SHELL_CONTENT))
41 #define E_IS_MAIL_SHELL_CONTENT_CLASS(cls) \
42 (G_TYPE_CHECK_CLASS_TYPE \
43 ((cls), E_TYPE_MAIL_SHELL_CONTENT))
44 #define E_MAIL_SHELL_CONTENT_GET_CLASS(obj) \
45 (G_TYPE_INSTANCE_GET_CLASS \
46 ((obj), E_TYPE_MAIL_SHELL_CONTENT, EMailShellContentClass))
50 typedef struct _EMailShellContent EMailShellContent
;
51 typedef struct _EMailShellContentClass EMailShellContentClass
;
52 typedef struct _EMailShellContentPrivate EMailShellContentPrivate
;
54 struct _EMailShellContent
{
56 EMailShellContentPrivate
*priv
;
59 struct _EMailShellContentClass
{
60 EShellContentClass parent_class
;
63 GType
e_mail_shell_content_get_type (void);
64 void e_mail_shell_content_type_register
65 (GTypeModule
*type_module
);
66 GtkWidget
* e_mail_shell_content_new
67 (EShellView
*shell_view
);
68 EMailView
* e_mail_shell_content_get_mail_view
69 (EMailShellContent
*mail_shell_content
);
71 e_mail_shell_content_get_searchbar
72 (EMailShellContent
*mail_shell_content
);
73 GtkWidget
* e_mail_shell_content_get_to_do_pane
74 (EMailShellContent
*mail_shell_content
);
78 #endif /* E_MAIL_SHELL_CONTENT_H */