aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/imap
diff options
context:
space:
mode:
Diffstat (limited to 'src/objc/imap')
-rw-r--r--src/objc/imap/MCOIMAPAppendMessageOperation.h6
-rw-r--r--src/objc/imap/MCOIMAPBaseOperation.h4
-rw-r--r--src/objc/imap/MCOIMAPCapabilityOperation.h4
-rw-r--r--src/objc/imap/MCOIMAPFetchContentOperation.h6
-rw-r--r--src/objc/imap/MCOIMAPFetchMessagesOperation.h6
-rw-r--r--src/objc/imap/MCOIMAPFetchNamespaceOperation.h4
-rw-r--r--src/objc/imap/MCOIMAPFolder.h6
-rw-r--r--src/objc/imap/MCOIMAPFolderInfo.h4
-rw-r--r--src/objc/imap/MCOIMAPFolderInfoOperation.h4
-rw-r--r--src/objc/imap/MCOIMAPIdentityOperation.h4
-rw-r--r--src/objc/imap/MCOIMAPIdleOperation.h4
-rw-r--r--src/objc/imap/MCOIMAPMessage.h6
-rw-r--r--src/objc/imap/MCOIMAPMessagePart.h4
-rw-r--r--src/objc/imap/MCOIMAPMultipart.h4
-rw-r--r--src/objc/imap/MCOIMAPNamespace.h4
-rw-r--r--src/objc/imap/MCOIMAPNamespaceItem.h4
-rw-r--r--src/objc/imap/MCOIMAPOperation.h4
-rw-r--r--src/objc/imap/MCOIMAPPart.h8
-rw-r--r--src/objc/imap/MCOIMAPSearchExpression.h6
-rw-r--r--src/objc/imap/MCOIMAPSearchOperation.h4
20 files changed, 48 insertions, 48 deletions
diff --git a/src/objc/imap/MCOIMAPAppendMessageOperation.h b/src/objc/imap/MCOIMAPAppendMessageOperation.h
index 1f988acd..0377d797 100644
--- a/src/objc/imap/MCOIMAPAppendMessageOperation.h
+++ b/src/objc/imap/MCOIMAPAppendMessageOperation.h
@@ -6,13 +6,13 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <MailCore/MCOIMAPBaseOperation.h>
-#import <MailCore/MCOConstants.h>
-
#ifndef __MAILCORE_MCOIMAPAPPENDMESSAGEOPERATION_H_
#define __MAILCORE_MCOIMAPAPPENDMESSAGEOPERATION_H_
+#import <MailCore/MCOIMAPBaseOperation.h>
+#import <MailCore/MCOConstants.h>
+
@interface MCOIMAPAppendMessageOperation : MCOIMAPBaseOperation
@property (nonatomic, copy) MCOIMAPBaseOperationProgressBlock progress;
diff --git a/src/objc/imap/MCOIMAPBaseOperation.h b/src/objc/imap/MCOIMAPBaseOperation.h
index be0aaf70..226f0ed7 100644
--- a/src/objc/imap/MCOIMAPBaseOperation.h
+++ b/src/objc/imap/MCOIMAPBaseOperation.h
@@ -6,12 +6,12 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <MailCore/MCOOperation.h>
-
#ifndef __MAILCORE_MCOIMAPBASEOPERATION_H_
#define __MAILCORE_MCOIMAPBASEOPERATION_H_
+#import <MailCore/MCOOperation.h>
+
typedef void (^MCOIMAPBaseOperationProgressBlock)(unsigned int current, unsigned int maximum);
typedef void (^MCOIMAPBaseOperationItemProgressBlock)(unsigned int current);
diff --git a/src/objc/imap/MCOIMAPCapabilityOperation.h b/src/objc/imap/MCOIMAPCapabilityOperation.h
index 446b8cfe..f1e662a8 100644
--- a/src/objc/imap/MCOIMAPCapabilityOperation.h
+++ b/src/objc/imap/MCOIMAPCapabilityOperation.h
@@ -6,12 +6,12 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <MailCore/MCOIMAPBaseOperation.h>
-
#ifndef __MAILCORE_MCOIMAPCAPABILITYOPERATION_H_
#define __MAILCORE_MCOIMAPCAPBILITYOPERATION_H_
+#import <MailCore/MCOIMAPBaseOperation.h>
+
@class MCOIndexSet;
@interface MCOIMAPCapabilityOperation : MCOIMAPBaseOperation
diff --git a/src/objc/imap/MCOIMAPFetchContentOperation.h b/src/objc/imap/MCOIMAPFetchContentOperation.h
index 6873860b..e1869d66 100644
--- a/src/objc/imap/MCOIMAPFetchContentOperation.h
+++ b/src/objc/imap/MCOIMAPFetchContentOperation.h
@@ -6,13 +6,13 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <MailCore/MCOIMAPBaseOperation.h>
-#import <MailCore/MCOConstants.h>
-
#ifndef __MAILCORE_MCOIMAPFETCHCONTENTOPERATION_H_
#define __MAILCORE_MCOIMAPFETCHCONTENTOPERATION_H_
+#import <MailCore/MCOIMAPBaseOperation.h>
+#import <MailCore/MCOConstants.h>
+
@interface MCOIMAPFetchContentOperation : MCOIMAPBaseOperation
@property (nonatomic, copy) MCOIMAPBaseOperationProgressBlock progress;
diff --git a/src/objc/imap/MCOIMAPFetchMessagesOperation.h b/src/objc/imap/MCOIMAPFetchMessagesOperation.h
index b8c97c56..adde2dbd 100644
--- a/src/objc/imap/MCOIMAPFetchMessagesOperation.h
+++ b/src/objc/imap/MCOIMAPFetchMessagesOperation.h
@@ -6,13 +6,13 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <MailCore/MCOIMAPBaseOperation.h>
-#import <MailCore/MCOConstants.h>
-
#ifndef __MAILCORE_MCOIMAPFETCHMESSAGESOPERATION_H_
#define __MAILCORE_MCOIMAPFETCHMESSAGESOPERATION_H_
+#import <MailCore/MCOIMAPBaseOperation.h>
+#import <MailCore/MCOConstants.h>
+
@class MCOIndexSet;
@interface MCOIMAPFetchMessagesOperation : MCOIMAPBaseOperation
diff --git a/src/objc/imap/MCOIMAPFetchNamespaceOperation.h b/src/objc/imap/MCOIMAPFetchNamespaceOperation.h
index 0c20e90a..90702e85 100644
--- a/src/objc/imap/MCOIMAPFetchNamespaceOperation.h
+++ b/src/objc/imap/MCOIMAPFetchNamespaceOperation.h
@@ -6,12 +6,12 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <MailCore/MCOIMAPBaseOperation.h>
-
#ifndef __MAILCORE_MCOIMAPFETCHNAMESPACEOPERATION_H_
#define __MAILCORE_MCOIMAPFETCHNAMESPACEOPERATION_H_
+#import <MailCore/MCOIMAPBaseOperation.h>
+
@interface MCOIMAPFetchNamespaceOperation : MCOIMAPBaseOperation
- (void)start:(void (^)(NSError *error, NSDictionary * namespaces))completionBlock;
diff --git a/src/objc/imap/MCOIMAPFolder.h b/src/objc/imap/MCOIMAPFolder.h
index 2771bc0f..813303e2 100644
--- a/src/objc/imap/MCOIMAPFolder.h
+++ b/src/objc/imap/MCOIMAPFolder.h
@@ -6,13 +6,13 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <Foundation/Foundation.h>
-#import <MailCore/MCOConstants.h>
-
#ifndef __MAILCORE_MCOIMAPFOLDER_H_
#define __MAILCORE_MCOIMAPFOLDER_H_
+#import <Foundation/Foundation.h>
+#import <MailCore/MCOConstants.h>
+
@interface MCOIMAPFolder : NSObject <NSCopying>
@property (nonatomic, copy) NSString * path;
diff --git a/src/objc/imap/MCOIMAPFolderInfo.h b/src/objc/imap/MCOIMAPFolderInfo.h
index ad564fdc..8b058deb 100644
--- a/src/objc/imap/MCOIMAPFolderInfo.h
+++ b/src/objc/imap/MCOIMAPFolderInfo.h
@@ -6,12 +6,12 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <Foundation/Foundation.h>
-
#ifndef __MAILCORE_MCOIMAPFOLDERINFO_H_
#define __MAILCORE_MCOIMAPFOLDERINFO_H_
+#import <Foundation/Foundation.h>
+
@interface MCOIMAPFolderInfo : NSObject
+ (MCOIMAPFolderInfo *) info;
diff --git a/src/objc/imap/MCOIMAPFolderInfoOperation.h b/src/objc/imap/MCOIMAPFolderInfoOperation.h
index a41d43c7..feb9ea39 100644
--- a/src/objc/imap/MCOIMAPFolderInfoOperation.h
+++ b/src/objc/imap/MCOIMAPFolderInfoOperation.h
@@ -6,12 +6,12 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <MailCore/MCOIMAPBaseOperation.h>
-
#ifndef __MAILCORE_MCOIMAPFOLDERINFOOPERATION_H_
#define __MAILCORE_MCOIMAPFOLDERINFOOPERATION_H_
+#import <MailCore/MCOIMAPBaseOperation.h>
+
@class MCOIMAPFolderInfo;
@interface MCOIMAPFolderInfoOperation : MCOIMAPBaseOperation
diff --git a/src/objc/imap/MCOIMAPIdentityOperation.h b/src/objc/imap/MCOIMAPIdentityOperation.h
index 42be05a7..60d040e3 100644
--- a/src/objc/imap/MCOIMAPIdentityOperation.h
+++ b/src/objc/imap/MCOIMAPIdentityOperation.h
@@ -6,12 +6,12 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <MailCore/MCOIMAPBaseOperation.h>
-
#ifndef __MAILCORE_MCOIMAPIDENTITYOPERATION_H_
#define __MAILCORE_MCOIMAPIDENTITYOPERATION_H_
+#import <MailCore/MCOIMAPBaseOperation.h>
+
@interface MCOIMAPIdentityOperation : MCOIMAPBaseOperation
- (void)start:(void (^)(NSError *error, NSDictionary * serverIdentity))completionBlock;
diff --git a/src/objc/imap/MCOIMAPIdleOperation.h b/src/objc/imap/MCOIMAPIdleOperation.h
index aabe2fbd..365457d9 100644
--- a/src/objc/imap/MCOIMAPIdleOperation.h
+++ b/src/objc/imap/MCOIMAPIdleOperation.h
@@ -6,12 +6,12 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <MailCore/MCOIMAPBaseOperation.h>
-
#ifndef __MAILCORE_MCOIMAPIDLEOPERATION_H_
#define __MAILCORE_MCOIMAPIDLEOPERATION_H_
+#import <MailCore/MCOIMAPBaseOperation.h>
+
@interface MCOIMAPIdleOperation : MCOIMAPBaseOperation
- (void) interruptIdle;
diff --git a/src/objc/imap/MCOIMAPMessage.h b/src/objc/imap/MCOIMAPMessage.h
index 5a5276ef..c6196103 100644
--- a/src/objc/imap/MCOIMAPMessage.h
+++ b/src/objc/imap/MCOIMAPMessage.h
@@ -6,13 +6,13 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <MailCore/MCOAbstractMessage.h>
-#import <MailCore/MCOConstants.h>
-
#ifndef __MAILCORE_MCOIMAPMESSAGE_H_
#define __MAILCORE_MCOIMAPMESSAGE_H_
+#import <MailCore/MCOAbstractMessage.h>
+#import <MailCore/MCOConstants.h>
+
@protocol MCOHTMLRendererIMAPDelegate;
@interface MCOIMAPMessage : MCOAbstractMessage <NSCopying>
diff --git a/src/objc/imap/MCOIMAPMessagePart.h b/src/objc/imap/MCOIMAPMessagePart.h
index bb0e7578..bda7d5be 100644
--- a/src/objc/imap/MCOIMAPMessagePart.h
+++ b/src/objc/imap/MCOIMAPMessagePart.h
@@ -6,12 +6,12 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <MailCore/MCOAbstractMessagePart.h>
-
#ifndef __MAILCORE_MCOIMAPMESSAGEPART_H_
#define __MAILCORE_MCOIMAPMESSAGEPART_H_
+#import <MailCore/MCOAbstractMessagePart.h>
+
@interface MCOIMAPMessagePart : MCOAbstractMessagePart <NSCopying>
@property (nonatomic, copy) NSString * partID;
diff --git a/src/objc/imap/MCOIMAPMultipart.h b/src/objc/imap/MCOIMAPMultipart.h
index 96ab11f6..950be8de 100644
--- a/src/objc/imap/MCOIMAPMultipart.h
+++ b/src/objc/imap/MCOIMAPMultipart.h
@@ -6,12 +6,12 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <MailCore/MCOAbstractMultipart.h>
-
#ifndef __MAILCORE_MCOIMAPMULTIPART_H_
#define __MAILCORE_MCOIMAPMULTIPART_H_
+#import <MailCore/MCOAbstractMultipart.h>
+
@interface MCOIMAPMultipart : MCOAbstractMultipart <NSCopying>
@property (nonatomic, copy) NSString * partID;
diff --git a/src/objc/imap/MCOIMAPNamespace.h b/src/objc/imap/MCOIMAPNamespace.h
index 9c807bef..b1dc15a0 100644
--- a/src/objc/imap/MCOIMAPNamespace.h
+++ b/src/objc/imap/MCOIMAPNamespace.h
@@ -6,12 +6,12 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <Foundation/Foundation.h>
-
#ifndef __MAILCORE_MCOIMAPNAMESPACE_H_
#define __MAILCORE_MCOIMAPNAMESPACE_H_
+#import <Foundation/Foundation.h>
+
@class MCOIMAPNamespace;
@interface MCOIMAPNamespace : NSObject <NSCopying>
diff --git a/src/objc/imap/MCOIMAPNamespaceItem.h b/src/objc/imap/MCOIMAPNamespaceItem.h
index 20e7173e..376434ff 100644
--- a/src/objc/imap/MCOIMAPNamespaceItem.h
+++ b/src/objc/imap/MCOIMAPNamespaceItem.h
@@ -6,12 +6,12 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <Foundation/Foundation.h>
-
#ifndef __MAILCORE_MCOIMAPNAMESPACEITEM_H_
#define __MAILCORE_MCOIMAPNAMESPACEITEM_H_
+#import <Foundation/Foundation.h>
+
@interface MCOIMAPNamespaceItem : NSObject <NSCopying>
@property (nonatomic, copy) NSString * prefix;
diff --git a/src/objc/imap/MCOIMAPOperation.h b/src/objc/imap/MCOIMAPOperation.h
index 50a6d3dc..1954f00b 100644
--- a/src/objc/imap/MCOIMAPOperation.h
+++ b/src/objc/imap/MCOIMAPOperation.h
@@ -6,12 +6,12 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <MailCore/MCOOperation.h>
-
#ifndef __MAILCORE_MCOIMAPOPERATION_H_
#define __MAILCORE_MCOIMAPOPERATION_H_
+#import <MailCore/MCOOperation.h>
+
@interface MCOIMAPOperation : MCOOperation
- (void)start:(void (^)(NSError *error))completionBlock;
diff --git a/src/objc/imap/MCOIMAPPart.h b/src/objc/imap/MCOIMAPPart.h
index 18e5b367..588abe10 100644
--- a/src/objc/imap/MCOIMAPPart.h
+++ b/src/objc/imap/MCOIMAPPart.h
@@ -6,14 +6,14 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <MailCore/MCOAbstractPart.h>
-
-#import <MailCore/MCOConstants.h>
-
#ifndef __MAILCORE_MCOIMAPABSTRACTPART_H_
#define __MAILCORE_MCOIMAPABSTRACTPART_H_
+#import <MailCore/MCOAbstractPart.h>
+
+#import <MailCore/MCOConstants.h>
+
@interface MCOIMAPPart : MCOAbstractPart <NSCopying>
@property (nonatomic, copy) NSString * partID;
diff --git a/src/objc/imap/MCOIMAPSearchExpression.h b/src/objc/imap/MCOIMAPSearchExpression.h
index 9bd518ed..36020d7c 100644
--- a/src/objc/imap/MCOIMAPSearchExpression.h
+++ b/src/objc/imap/MCOIMAPSearchExpression.h
@@ -6,13 +6,13 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <Foundation/Foundation.h>
-#import <MailCore/MCOConstants.h>
-
#ifndef __MAILCORE_MCOIMAPSEARCHEXPRESSION_H_
#define __MAILCORE_MCOIMAPSEARCHEXPRESSION_H_
+#import <Foundation/Foundation.h>
+#import <MailCore/MCOConstants.h>
+
@interface MCOIMAPSearchExpression : NSObject
+ (MCOIMAPSearchExpression *) searchFrom:(NSString *)value;
diff --git a/src/objc/imap/MCOIMAPSearchOperation.h b/src/objc/imap/MCOIMAPSearchOperation.h
index 2d85043e..79d1c26d 100644
--- a/src/objc/imap/MCOIMAPSearchOperation.h
+++ b/src/objc/imap/MCOIMAPSearchOperation.h
@@ -6,12 +6,12 @@
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import <MailCore/MCOIMAPBaseOperation.h>
-
#ifndef __MAILCORE_MCOSEARCHOPERATION_H_
#define __MAILCORE_MCOSEARCHOPERATION_H_
+#import <MailCore/MCOIMAPBaseOperation.h>
+
@class MCOIndexSet;
@interface MCOIMAPSearchOperation : MCOIMAPBaseOperation