aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Daryle Walker <dwalker07@yahoo.com>2016-02-25 11:45:49 -0500
committerGravatar Daryle Walker <dwalker07@yahoo.com>2016-02-25 11:45:49 -0500
commit627cd1cfbde93e2edda6ffe5f37226ea278b0019 (patch)
treeeeb9318a20996712e7929133434f68a9536b33d7
parent7da1616b8560febbb93e9f718c9795d305415c75 (diff)
Move a common type to a common header.
-rw-r--r--src/objc/nntp/MCONNTPFetchArticleOperation.h4
-rw-r--r--src/objc/nntp/MCONNTPOperation.h4
-rw-r--r--src/objc/nntp/MCONNTPSendOperation.h4
3 files changed, 4 insertions, 8 deletions
diff --git a/src/objc/nntp/MCONNTPFetchArticleOperation.h b/src/objc/nntp/MCONNTPFetchArticleOperation.h
index 170f594b..78a974f4 100644
--- a/src/objc/nntp/MCONNTPFetchArticleOperation.h
+++ b/src/objc/nntp/MCONNTPFetchArticleOperation.h
@@ -13,10 +13,6 @@
#import <Foundation/Foundation.h>
#import <MailCore/MCONNTPOperation.h>
-/** Fetch a message from NNTP3 */
-
-typedef void (^MCONNTPOperationProgressBlock)(unsigned int current, unsigned int maximum);
-
NS_ASSUME_NONNULL_BEGIN
@interface MCONNTPFetchArticleOperation : MCONNTPOperation
diff --git a/src/objc/nntp/MCONNTPOperation.h b/src/objc/nntp/MCONNTPOperation.h
index bed8874e..0c35970f 100644
--- a/src/objc/nntp/MCONNTPOperation.h
+++ b/src/objc/nntp/MCONNTPOperation.h
@@ -13,6 +13,10 @@
#import <Foundation/Foundation.h>
#import <MailCore/MCOOperation.h>
+/** Transmit a message using NNTP3 */
+
+typedef void (^MCONNTPOperationProgressBlock)(unsigned int current, unsigned int maximum);
+
/**
This is a generic asynchronous NNTP3 operation.
@see MCONNTPSession
diff --git a/src/objc/nntp/MCONNTPSendOperation.h b/src/objc/nntp/MCONNTPSendOperation.h
index b59c6e80..711e44a5 100644
--- a/src/objc/nntp/MCONNTPSendOperation.h
+++ b/src/objc/nntp/MCONNTPSendOperation.h
@@ -13,10 +13,6 @@
#import <Foundation/Foundation.h>
#import <MailCore/MCONNTPOperation.h>
-/** Send a message from NNTP3 */
-
-typedef void (^MCONNTPOperationProgressBlock)(unsigned int current, unsigned int maximum);
-
NS_ASSUME_NONNULL_BEGIN
@interface MCONNTPSendOperation : MCONNTPOperation