aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-part-attachment.h
diff options
context:
space:
mode:
Diffstat (limited to 'em-format/e-mail-part-attachment.h')
-rw-r--r--em-format/e-mail-part-attachment.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/em-format/e-mail-part-attachment.h b/em-format/e-mail-part-attachment.h
index cd07e3634b..d44c599e4c 100644
--- a/em-format/e-mail-part-attachment.h
+++ b/em-format/e-mail-part-attachment.h
@@ -1,4 +1,6 @@
/*
+ * e-mail-part-attachment.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,13 +19,15 @@
#ifndef E_MAIL_PART_ATTACHMENT_H
#define E_MAIL_PART_ATTACHMENT_H
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#include <em-format/e-mail-part.h>
-#define E_MAIL_PART_ATTACHMENT(p) ((EMailPartAttachment *) p)
+#define E_MAIL_PART_ATTACHMENT(part) \
+ ((EMailPartAttachment *) part)
+#define E_IS_MAIL_PART_ATTACHMENT(part) \
+ (E_MAIL_PART_IS (part, EMailPartAttachment))
+
+#define E_MAIL_PART_ATTACHMENT_MIME_TYPE \
+ "application/vnd.evolution.attachment"
G_BEGIN_DECLS