aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/imap/MCOIMAPFetchMessagesOperation.h
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-03-26 22:20:21 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-03-26 22:20:21 -0700
commit26495360bb02102ab1a99734223ba634a2c7efaf (patch)
tree0dc0e9cd750b64f314949b7c86c1257a41b07aef /src/objc/imap/MCOIMAPFetchMessagesOperation.h
parent1640f3525f830df5382edb96f6e6f6a71993787c (diff)
Progress for ObjC IMAP operations
Diffstat (limited to 'src/objc/imap/MCOIMAPFetchMessagesOperation.h')
-rw-r--r--src/objc/imap/MCOIMAPFetchMessagesOperation.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/objc/imap/MCOIMAPFetchMessagesOperation.h b/src/objc/imap/MCOIMAPFetchMessagesOperation.h
index dec5f7b2..cdf98eeb 100644
--- a/src/objc/imap/MCOIMAPFetchMessagesOperation.h
+++ b/src/objc/imap/MCOIMAPFetchMessagesOperation.h
@@ -6,20 +6,21 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <mailcore/MCOOperation.h>
+#import <mailcore/MCOIMAPBaseOperation.h>
#import <mailcore/MCOConstants.h>
+#ifndef __MAILCORE_MCOIMAPFETCHMESSAGESOPERATION_H_
+
+#define __MAILCORE_MCOIMAPFETCHMESSAGESOPERATION_H_
+
@class MCOIndexSet;
-@interface MCOIMAPFetchMessagesOperation : MCOOperation
+@interface MCOIMAPFetchMessagesOperation : MCOIMAPBaseOperation
-/*
-@property (nonatomic, assign, getter=isFetchByUidEnabled) BOOL fetchByUidEnabled;
-@property (nonatomic, strong) MCOIndexSet * indexes;
-@property (nonatomic, assign) uint64_t modSequenceValue;
-@property (nonatomic, assign) MCOIMAPMessagesRequestKind kind;
-*/
+@property (nonatomic, copy) MCOIMAPBaseOperationItemProgressBlock progress;
- (void)start:(void (^)(NSError *error, NSArray * messages, MCOIndexSet * vanishedMessages))completionBlock;
@end
+
+#endif