diff options
author | 2013-09-24 21:57:10 -0600 | |
---|---|---|
committer | 2013-09-24 21:57:10 -0600 | |
commit | 63f2b3e29d92077a30f198ccfb6fe4cb7f262f87 (patch) | |
tree | be52bfb77f420798480748adb79a9373cd6fce0b /src/objc/imap/MCOIMAPSession.h | |
parent | aae824111ba707346e1b90a0f9c778d9618d6c91 (diff) |
Implement Objective-C Interface
Diffstat (limited to 'src/objc/imap/MCOIMAPSession.h')
-rwxr-xr-x | src/objc/imap/MCOIMAPSession.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/objc/imap/MCOIMAPSession.h b/src/objc/imap/MCOIMAPSession.h index 0759f714..82963f90 100755 --- a/src/objc/imap/MCOIMAPSession.h +++ b/src/objc/imap/MCOIMAPSession.h @@ -503,6 +503,16 @@ - (MCOIMAPOperation *)connectOperation; /** + Returns an operation that will perform a No-Op operation on the given IMAP server. + + MCOIMAPOperation * op = [session noopOperation]; + [op start:^(NSError * error) { + ... + }]; + */ +- (MCOIMAPOperation *) noopOperation; + +/** Returns an operation that will check whether the IMAP account is valid. MCOIMAPOperation * op = [session checkAccountOperation]; |