diff options
author | Romain Pouclet <romain.pouclet@gmail.com> | 2016-10-13 20:02:32 -0400 |
---|---|---|
committer | HoĆ V. DINH <dinh.viet.hoa@gmail.com> | 2016-10-13 17:02:32 -0700 |
commit | efce413258a838818a39a12f0f86d563c8488468 (patch) | |
tree | 891827ec620cc305730a78c1e5c9526608cf3633 /src/objc/imap/MCOIMAPFetchFoldersOperation.h | |
parent | abedd87bb02f975b0b1ee9c4cf2f0e6adde31366 (diff) |
Add type annotations to some operations and MCPIMAPSession (#1531)
* Add type annotations to MCOIMAPSession
* Add type annotations to some operations
Diffstat (limited to 'src/objc/imap/MCOIMAPFetchFoldersOperation.h')
-rw-r--r-- | src/objc/imap/MCOIMAPFetchFoldersOperation.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/objc/imap/MCOIMAPFetchFoldersOperation.h b/src/objc/imap/MCOIMAPFetchFoldersOperation.h index a2954d29..b69a24fe 100644 --- a/src/objc/imap/MCOIMAPFetchFoldersOperation.h +++ b/src/objc/imap/MCOIMAPFetchFoldersOperation.h @@ -13,6 +13,7 @@ /** This class implements an operation to fetch a list of folders. */ #import <MailCore/MCOIMAPBaseOperation.h> +@class MCOIMAPFolder; NS_ASSUME_NONNULL_BEGIN @interface MCOIMAPFetchFoldersOperation : MCOIMAPBaseOperation @@ -27,7 +28,7 @@ NS_ASSUME_NONNULL_BEGIN - On failure, `error` will be set with `MCOErrorDomain` as domain and an error code available in `MCOConstants.h`, `folders` will be nil */ -- (void) start:(void (^)(NSError * __nullable error, NSArray * /* MCOIMAPFolder */ __nullable folders))completionBlock; +- (void) start:(void (^)(NSError * __nullable error, NSArray<MCOIMAPFolder *> * __nullable folders))completionBlock; @end NS_ASSUME_NONNULL_END |