diff options
Diffstat (limited to 'src/objc/pop/MCOPOPSession.mm')
-rw-r--r-- | src/objc/pop/MCOPOPSession.mm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/objc/pop/MCOPOPSession.mm b/src/objc/pop/MCOPOPSession.mm index cb060784..10806937 100644 --- a/src/objc/pop/MCOPOPSession.mm +++ b/src/objc/pop/MCOPOPSession.mm @@ -80,6 +80,12 @@ MCO_OBJC_SYNTHESIZE_BOOL(setCheckCertificateEnabled, isCheckCertificateEnabled) return [[[MCOPOPOperation alloc] initWithMCOperation:coreOp] autorelease]; } +- (MCOPOPOperation *) disconnectOperation +{ + mailcore::POPOperation * coreOp = MCO_NATIVE_INSTANCE->disconnectOperation(); + return [[[MCOPOPOperation alloc] initWithMCOperation:coreOp] autorelease]; +} + - (MCOPOPOperation *) checkAccountOperation { mailcore::POPOperation * coreOp = MCO_NATIVE_INSTANCE->checkAccountOperation(); |