From 627cd1cfbde93e2edda6ffe5f37226ea278b0019 Mon Sep 17 00:00:00 2001 From: Daryle Walker Date: Thu, 25 Feb 2016 11:45:49 -0500 Subject: Move a common type to a common header. --- src/objc/nntp/MCONNTPFetchArticleOperation.h | 4 ---- src/objc/nntp/MCONNTPOperation.h | 4 ++++ src/objc/nntp/MCONNTPSendOperation.h | 4 ---- 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 #import -/** 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 #import +/** 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 #import -/** Send a message from NNTP3 */ - -typedef void (^MCONNTPOperationProgressBlock)(unsigned int current, unsigned int maximum); - NS_ASSUME_NONNULL_BEGIN @interface MCONNTPSendOperation : MCONNTPOperation -- cgit v1.2.3