diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-03-26 00:58:03 -0700 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-03-26 00:58:03 -0700 |
commit | 1640f3525f830df5382edb96f6e6f6a71993787c (patch) | |
tree | e69912e9934bf1400d8d49f03cfa4b6f71749d48 /src/objc/imap/MCOIMAPFetchMessagesOperation.h | |
parent | 1353cb0ee96d92192f05e1feb1518e1534ba8cbe (diff) |
IMAP ObjC async operations implemented
Diffstat (limited to 'src/objc/imap/MCOIMAPFetchMessagesOperation.h')
-rw-r--r-- | src/objc/imap/MCOIMAPFetchMessagesOperation.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/objc/imap/MCOIMAPFetchMessagesOperation.h b/src/objc/imap/MCOIMAPFetchMessagesOperation.h new file mode 100644 index 00000000..dec5f7b2 --- /dev/null +++ b/src/objc/imap/MCOIMAPFetchMessagesOperation.h @@ -0,0 +1,25 @@ +// +// MCOIMAPFetchMessagesOperation.h +// mailcore2 +// +// Created by DINH Viêt Hoà on 3/25/13. +// Copyright (c) 2013 MailCore. All rights reserved. +// + +#import <mailcore/MCOOperation.h> +#import <mailcore/MCOConstants.h> + +@class MCOIndexSet; + +@interface MCOIMAPFetchMessagesOperation : MCOOperation + +/* +@property (nonatomic, assign, getter=isFetchByUidEnabled) BOOL fetchByUidEnabled; +@property (nonatomic, strong) MCOIndexSet * indexes; +@property (nonatomic, assign) uint64_t modSequenceValue; +@property (nonatomic, assign) MCOIMAPMessagesRequestKind kind; +*/ + +- (void)start:(void (^)(NSError *error, NSArray * messages, MCOIndexSet * vanishedMessages))completionBlock; + +@end |