2 * e-mail-attachment-handler.h
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) version 3.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with the program; if not, see <http://www.gnu.org/licenses/>
18 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
22 #ifndef E_MAIL_ATTACHMENT_HANDLER_H
23 #define E_MAIL_ATTACHMENT_HANDLER_H
25 #include <widgets/misc/e-attachment-handler.h>
27 /* Standard GObject macros */
28 #define E_TYPE_MAIL_ATTACHMENT_HANDLER \
29 (e_mail_attachment_handler_get_type ())
30 #define E_MAIL_ATTACHMENT_HANDLER(obj) \
31 (G_TYPE_CHECK_INSTANCE_CAST \
32 ((obj), E_TYPE_MAIL_ATTACHMENT_HANDLER, EMailAttachmentHandler))
33 #define E_MAIL_ATTACHMENT_HANDLER_CLASS(cls) \
34 (G_TYPE_CHECK_CLASS_CAST \
35 ((cls), E_TYPE_MAIL_ATTACHMENT_HANDLER, EMailAttachmentHandlerClass))
36 #define E_IS_MAIL_ATTACHMENT_HANDLER(obj) \
37 (G_TYPE_CHECK_INSTANCE_TYPE \
38 ((obj), E_TYPE_MAIL_ATTACHMENT_HANDLER))
39 #define E_IS_MAIL_ATTACHMENT_HANDLER_CLASS(cls) \
40 (G_TYPE_CHECK_CLASS_TYPE \
41 ((cls), E_TYPE_MAIL_ATTACHMENT_HANDLER))
42 #define E_MAIL_ATTACHMENT_HANDLER_GET_CLASS(obj) \
43 (G_TYPE_INSTANCE_GET_CLASS \
44 ((obj), E_TYPE_MAIL_ATTACHMENT_HANDLER, EMailAttachmentHandlerClass))
48 typedef struct _EMailAttachmentHandler EMailAttachmentHandler
;
49 typedef struct _EMailAttachmentHandlerClass EMailAttachmentHandlerClass
;
50 typedef struct _EMailAttachmentHandlerPrivate EMailAttachmentHandlerPrivate
;
52 struct _EMailAttachmentHandler
{
53 EAttachmentHandler parent
;
54 EMailAttachmentHandlerPrivate
*priv
;
57 struct _EMailAttachmentHandlerClass
{
58 EAttachmentHandlerClass parent_class
;
61 GType
e_mail_attachment_handler_get_type (void);
62 void e_mail_attachment_handler_register_type
63 (GTypeModule
*type_module
);
67 #endif /* E_MAIL_ATTACHMENT_HANDLER_H */