aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/java/native/com_libmailcore_AbstractMessagePart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/native/com_libmailcore_AbstractMessagePart.cpp')
-rw-r--r--src/java/native/com_libmailcore_AbstractMessagePart.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/java/native/com_libmailcore_AbstractMessagePart.cpp b/src/java/native/com_libmailcore_AbstractMessagePart.cpp
new file mode 100644
index 00000000..346a76f8
--- /dev/null
+++ b/src/java/native/com_libmailcore_AbstractMessagePart.cpp
@@ -0,0 +1,14 @@
+#include "com_libmailcore_AbstractMessagePart.h"
+
+#include "TypesUtils.h"
+#include "JavaHandle.h"
+#include "MCMessageHeader.h"
+#include "MCAbstractMessagePart.h"
+
+using namespace mailcore;
+
+#define nativeType AbstractMessagePart
+#define javaType nativeType
+
+MC_JAVA_SYNTHESIZE(MessageHeader, setHeader, header)
+MC_JAVA_SYNTHESIZE(AbstractPart, setMainPart, mainPart)