aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/pop/MCOPOPSession.mm
diff options
context:
space:
mode:
authorGravatar CodaFi <devteam.codafi@gmail.com>2013-06-22 13:23:13 -0600
committerGravatar CodaFi <devteam.codafi@gmail.com>2013-06-22 13:23:13 -0600
commit59408009d5cd0c002b138881f2bb67d274da91bb (patch)
treecab94313952236b3f92ae9f801272b9e61d183bd /src/objc/pop/MCOPOPSession.mm
parent2d95f7124bb9f106e2c0972c4f822593e7461d7b (diff)
parentbd1261b30b44bd624157068c2ac659a649f599c3 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/objc/pop/MCOPOPSession.mm')
-rw-r--r--src/objc/pop/MCOPOPSession.mm6
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();