diff options
Diffstat (limited to 'em-format/e-mail-part-attachment-bar.h')
-rw-r--r-- | em-format/e-mail-part-attachment-bar.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/em-format/e-mail-part-attachment-bar.h b/em-format/e-mail-part-attachment-bar.h index 87b6311b5d..38e644f801 100644 --- a/em-format/e-mail-part-attachment-bar.h +++ b/em-format/e-mail-part-attachment-bar.h @@ -1,4 +1,6 @@ /* + * e-mail-part-attachment-bar.h + * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either @@ -17,12 +19,16 @@ #ifndef E_MAIL_PART_ATTACHMENT_BAR_H #define E_MAIL_PART_ATTACHMENT_BAR_H -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <em-format/e-mail-part.h> +#define E_MAIL_PART_ATTACHMENT_BAR(part) \ + ((EMailPartAttachmentBar *) part) +#define E_IS_MAIL_PART_ATTACHMENT_BAR(part) \ + (E_MAIL_PART_IS (part, EMailPartAttachmentBar)) + +#define E_MAIL_PART_ATTACHMENT_BAR_MIME_TYPE \ + "application/vnd.evolution.widget.attachment-bar" + typedef struct _EMailPartAttachmentBar { EMailPart parent; |