diff options
Diffstat (limited to 'src/objc/nntp/MCONNTPSession.mm')
-rw-r--r-- | src/objc/nntp/MCONNTPSession.mm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/objc/nntp/MCONNTPSession.mm b/src/objc/nntp/MCONNTPSession.mm index 4a6e0c9a..f873cff9 100644 --- a/src/objc/nntp/MCONNTPSession.mm +++ b/src/objc/nntp/MCONNTPSession.mm @@ -14,7 +14,7 @@ #import "MCONNTPOperation.h" #import "MCOOperation+Private.h" #import "MCONNTPFetchAllArticlesOperation.h" -#import "MCONNTPSendOperation.h" +#import "MCONNTPPostOperation.h" #import "MCONNTPOperation+Private.h" #include "MCOperationQueueCallback.h" @@ -206,14 +206,14 @@ MCO_OBJC_SYNTHESIZE_SCALAR(dispatch_queue_t, dispatch_queue_t, setDispatchQueue, return MCO_TO_OBJC_OP(coreOp); } -- (MCONNTPSendOperation *) sendOperationWithData:(NSData *)messageData { - mailcore::NNTPSendOperation * coreOp = MCO_NATIVE_INSTANCE->sendMessageOperation(MCO_FROM_OBJC(mailcore::Data, messageData)); +- (MCONNTPPostOperation *) postOperationWithData:(NSData *)messageData { + mailcore::NNTPPostOperation * coreOp = MCO_NATIVE_INSTANCE->postMessageOperation(MCO_FROM_OBJC(mailcore::Data, messageData)); return MCO_TO_OBJC_OP(coreOp); } -- (MCONNTPSendOperation *) sendOperationWithContentsOfFile:(NSString *)path +- (MCONNTPPostOperation *) postOperationWithContentsOfFile:(NSString *)path { - mailcore::NNTPSendOperation * coreOp = MCO_NATIVE_INSTANCE->sendMessageOperation(MCO_FROM_OBJC(mailcore::String, path)); + mailcore::NNTPPostOperation * coreOp = MCO_NATIVE_INSTANCE->postMessageOperation(MCO_FROM_OBJC(mailcore::String, path)); return MCO_TO_OBJC_OP(coreOp); } |