diff options
author | 2013-04-06 11:01:14 -0700 | |
---|---|---|
committer | 2013-04-06 11:01:14 -0700 | |
commit | abc2b119c709a3fcea92ea1750f208b2bf47c9d5 (patch) | |
tree | 93bbf712bb9b0ff2e568b7bf951507a17b0d814d /src/objc/imap/MCOIMAPFolderInfoOperation.h | |
parent | ed6ba5a558bccf6024c1a5ab3db2b89d4c6a1420 (diff) |
Work in progress on IMAP documentation.
Diffstat (limited to 'src/objc/imap/MCOIMAPFolderInfoOperation.h')
-rw-r--r-- | src/objc/imap/MCOIMAPFolderInfoOperation.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/objc/imap/MCOIMAPFolderInfoOperation.h b/src/objc/imap/MCOIMAPFolderInfoOperation.h index feb9ea39..d05da566 100644 --- a/src/objc/imap/MCOIMAPFolderInfoOperation.h +++ b/src/objc/imap/MCOIMAPFolderInfoOperation.h @@ -12,10 +12,19 @@ #import <MailCore/MCOIMAPBaseOperation.h> +// This class implements the operation that will fetch some folder information +// (uidNext uidValidity, modSequenceValue, messageCount). + @class MCOIMAPFolderInfo; @interface MCOIMAPFolderInfoOperation : MCOIMAPBaseOperation -- (void)start:(void (^)(NSError *error, MCOIMAPFolderInfo *info))completionBlock; + +// Starts the asynchronous operation. +// On success, the completion block will be called with nil as error. info contains the folder information. +// On failure, error will be set with MCOErrorDomain as domain and an error code available in MCOConstants.h. +// info will be nil. +- (void) start:(void (^)(NSError * error, MCOIMAPFolderInfo *info))completionBlock; + @end #endif |