blob: 65e091dd0c3b08c44391d1e5c9feb4e942265d65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
//
// MessagePart.m
// mailcore2
//
// Created by DINH Viêt Hoà on 3/22/13.
// Copyright (c) 2013 MailCore. All rights reserved.
//
#import "MCOMessagePart.h"
#include "MCRFC822.h"
#import "NSObject+MCO.h"
#import "MCOAbstractPart+Private.h"
@implementation MCOMessagePart
#define nativeType mailcore::MessagePart
+ (void) initialize
{
MCORegisterClass(self, &typeid(nativeType));
}
+ (id) mco_objectWithMCObject:(mailcore::Object *)object
{
mailcore::MessagePart * part = (mailcore::MessagePart *) object;
return [[[self alloc] initWithMCPart:part] autorelease];
}
@end
|