aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/nntp/MCONNTPDisconnectOperation.mm
blob: 2c8290e37391fa7588df5ca198d3e28390599039 (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
//
//  MCONNTPDisconnectOperation.m
//  mailcore2
//
//  Created by Robert Widmann on 8/13/14.
//  Copyright (c) 2014 MailCore. All rights reserved.
//

#import "MCONNTPDisconnectOperation.h"

#import "MCOOperation+Private.h"
#import "MCOUtils.h"

#include "MCNNTPDisconnectOperation.h"

@implementation MCONNTPDisconnectOperation

#define nativeType mailcore::NNTPDisconnectOperation

+ (void) load
{
    MCORegisterClass(self, &typeid(nativeType));
}

+ (NSObject *) mco_objectWithMCObject:(mailcore::Object *)object
{
    nativeType * op = (nativeType *) object;
    return [[[self alloc] initWithMCOperation:op] autorelease];
}

@end