diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-04-06 23:51:04 -0700 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-04-06 23:51:04 -0700 |
commit | 7db9464d7c53e2529de0005771408f0fac4120f3 (patch) | |
tree | 4612748d66df9f2c83b92a91c3158c5dbb9d140d /src/objc/pop/MCOPOPSession.mm | |
parent | 86707e3713ecfebdc518406ea0f67767432922c6 (diff) |
Implemented checkAccount operation for POP
Diffstat (limited to 'src/objc/pop/MCOPOPSession.mm')
-rw-r--r-- | src/objc/pop/MCOPOPSession.mm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/objc/pop/MCOPOPSession.mm b/src/objc/pop/MCOPOPSession.mm index b82c1f23..cb060784 100644 --- a/src/objc/pop/MCOPOPSession.mm +++ b/src/objc/pop/MCOPOPSession.mm @@ -77,7 +77,13 @@ MCO_OBJC_SYNTHESIZE_BOOL(setCheckCertificateEnabled, isCheckCertificateEnabled) - (MCOPOPOperation *) deleteMessagesOperationWithIndexes:(MCOIndexSet *)indexes { mailcore::POPOperation * coreOp = MCO_NATIVE_INSTANCE->deleteMessagesOperation(MCO_FROM_OBJC(mailcore::IndexSet, indexes)); - return [[[MCOPOPOperation alloc] initWithMCOperation:coreOp] autorelease]; + return [[[MCOPOPOperation alloc] initWithMCOperation:coreOp] autorelease]; +} + +- (MCOPOPOperation *) checkAccountOperation +{ + mailcore::POPOperation * coreOp = MCO_NATIVE_INSTANCE->checkAccountOperation(); + return [[[MCOPOPOperation alloc] initWithMCOperation:coreOp] autorelease]; } @end |