aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/abstract/MCOAbstractPart.h
diff options
context:
space:
mode:
authorGravatar Hoa V. Dinh <dinh.viet.hoa@gmail.com>2015-09-08 16:53:20 -0700
committerGravatar Hoa V. Dinh <dinh.viet.hoa@gmail.com>2015-09-08 16:53:20 -0700
commit5be4a51db5a247d8a1ca25e0bc7b4782491e6425 (patch)
tree5376c3445f068ce4677bf7f4e194f216d099502e /src/objc/abstract/MCOAbstractPart.h
parent18b80e588a52607f2eaa76683de5904c7d56119c (diff)
Fixed build. Fixed warning properly.
Diffstat (limited to 'src/objc/abstract/MCOAbstractPart.h')
-rw-r--r--src/objc/abstract/MCOAbstractPart.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/objc/abstract/MCOAbstractPart.h b/src/objc/abstract/MCOAbstractPart.h
index 72383f9a..e9febdc0 100644
--- a/src/objc/abstract/MCOAbstractPart.h
+++ b/src/objc/abstract/MCOAbstractPart.h
@@ -41,8 +41,18 @@ typedef NS_ENUM(NSInteger, MCOPartType) {
MCOPartTypeMultipartSigned,
};
+#ifdef __cplusplus
+namespace mailcore {
+ class AbstractPart;
+}
+#endif
+
@interface MCOAbstractPart : NSObject <NSCopying>
+#ifdef __cplusplus
+- (id) initWithMCPart:(mailcore::AbstractPart *)part NS_DESIGNATED_INITIALIZER;
+#endif
+
/** Returns type of the part (single / message part / multipart/mixed,
multipart/related, multipart/alternative). See MCOPartType.*/
@property (nonatomic, assign) MCOPartType partType;