aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc
diff options
context:
space:
mode:
Diffstat (limited to 'src/objc')
-rwxr-xr-xsrc/objc/imap/MCOIMAP.h2
-rw-r--r--src/objc/imap/MCOIMAPQuotaOperation.h (renamed from src/objc/imap/MCOIMAPGetQuotaOperation.h)4
-rw-r--r--src/objc/imap/MCOIMAPQuotaOperation.mm (renamed from src/objc/imap/MCOIMAPGetQuotaOperation.mm)8
-rwxr-xr-xsrc/objc/imap/MCOIMAPSession.h4
-rwxr-xr-xsrc/objc/imap/MCOIMAPSession.mm4
5 files changed, 11 insertions, 11 deletions
diff --git a/src/objc/imap/MCOIMAP.h b/src/objc/imap/MCOIMAP.h
index 9e4cf6c0..e2036291 100755
--- a/src/objc/imap/MCOIMAP.h
+++ b/src/objc/imap/MCOIMAP.h
@@ -36,7 +36,7 @@
#import <MailCore/MCOIMAPFetchNamespaceOperation.h>
#import <MailCore/MCOIMAPIdentityOperation.h>
#import <MailCore/MCOIMAPCapabilityOperation.h>
-#import <MailCore/MCOIMAPGetQuotaOperation.h>
+#import <MailCore/MCOIMAPQuotaOperation.h>
#import <MailCore/MCOIMAPSearchExpression.h>
#import <MailCore/MCOIMAPMessageRenderingOperation.h>
diff --git a/src/objc/imap/MCOIMAPGetQuotaOperation.h b/src/objc/imap/MCOIMAPQuotaOperation.h
index 401b5aaa..c0463bb0 100644
--- a/src/objc/imap/MCOIMAPGetQuotaOperation.h
+++ b/src/objc/imap/MCOIMAPQuotaOperation.h
@@ -1,5 +1,5 @@
//
-// MCOIMAPGetQuotaOperation.h
+// MCOIMAPQuotaOperation.h
// mailcore2
//
// Created by Petro Korenev on 8/2/13.
@@ -8,7 +8,7 @@
#import "MCOIMAPBaseOperation.h"
-@interface MCOIMAPGetQuotaOperation : MCOIMAPBaseOperation
+@interface MCOIMAPQuotaOperation : MCOIMAPBaseOperation
- (void) start:(void (^)(NSError * error, NSUInteger usage, NSUInteger limit))completionBlock;
diff --git a/src/objc/imap/MCOIMAPGetQuotaOperation.mm b/src/objc/imap/MCOIMAPQuotaOperation.mm
index 25a6dc98..5be2571f 100644
--- a/src/objc/imap/MCOIMAPGetQuotaOperation.mm
+++ b/src/objc/imap/MCOIMAPQuotaOperation.mm
@@ -1,12 +1,12 @@
//
-// MCOIMAPGetQuotaOperation.m
+// MCOIMAPQuotaOperation.m
// mailcore2
//
// Created by Petro Korenev on 8/2/13.
// Copyright (c) 2013 MailCore. All rights reserved.
//
-#import "MCOIMAPGetQuotaOperation.h"
+#import "MCOIMAPQuotaOperation.h"
#include "MCAsyncIMAP.h"
@@ -15,11 +15,11 @@
typedef void (^CompletionType)(NSError *error, NSUInteger usage, NSUInteger limit);
-@implementation MCOIMAPGetQuotaOperation {
+@implementation MCOIMAPQuotaOperation {
CompletionType _completionBlock;
}
-#define nativeType mailcore::IMAPGetQuotaOperation
+#define nativeType mailcore::IMAPQuotaOperation
+ (void) load
{
diff --git a/src/objc/imap/MCOIMAPSession.h b/src/objc/imap/MCOIMAPSession.h
index 9776ab11..ea920114 100755
--- a/src/objc/imap/MCOIMAPSession.h
+++ b/src/objc/imap/MCOIMAPSession.h
@@ -29,7 +29,7 @@
@class MCOIMAPSearchExpression;
@class MCOIMAPIdentityOperation;
@class MCOIMAPCapabilityOperation;
-@class MCOIMAPGetQuotaOperation;
+@class MCOIMAPQuotaOperation;
@class MCOIMAPMessageRenderingOperation;
@class MCOIMAPMessage;
@@ -508,7 +508,7 @@
*/
- (MCOIMAPCapabilityOperation *) capabilityOperation;
-- (MCOIMAPGetQuotaOperation *) getQuotaOperation;
+- (MCOIMAPQuotaOperation *) quotaOperation;
/** @name Search Operations */
diff --git a/src/objc/imap/MCOIMAPSession.mm b/src/objc/imap/MCOIMAPSession.mm
index 62899b37..a9bbeb5c 100755
--- a/src/objc/imap/MCOIMAPSession.mm
+++ b/src/objc/imap/MCOIMAPSession.mm
@@ -362,9 +362,9 @@ MCO_OBJC_SYNTHESIZE_SCALAR(unsigned int, unsigned int, setMaximumConnections, ma
return MCO_TO_OBJC_OP(coreOp);
}
-- (MCOIMAPGetQuotaOperation *) getQuotaOperation
+- (MCOIMAPQuotaOperation *) quotaOperation
{
- IMAPGetQuotaOperation * coreOp = MCO_NATIVE_INSTANCE->getQuotaOperation();
+ IMAPQuotaOperation * coreOp = MCO_NATIVE_INSTANCE->quotaOperation();
return MCO_TO_OBJC_OP((IMAPOperation*)coreOp);
}