Revision: 28196
          http://sourceforge.net/p/bibdesk/svn/28196
Author:   hofman
Date:     2023-03-28 17:33:29 +0000 (Tue, 28 Mar 2023)
Log Message:
-----------
soap binding operation does not need to be a subclass of NSOperation

Modified Paths:
--------------
    trunk/bibdesk/BDSKSoapBinding.h
    trunk/bibdesk/BDSKSoapBinding.m

Modified: trunk/bibdesk/BDSKSoapBinding.h
===================================================================
--- trunk/bibdesk/BDSKSoapBinding.h     2023-03-28 17:24:21 UTC (rev 28195)
+++ trunk/bibdesk/BDSKSoapBinding.h     2023-03-28 17:33:29 UTC (rev 28196)
@@ -42,7 +42,7 @@
 - (BDSKSoapBindingOperation 
*)performAsynchronousOperationWithParameters:(BDSKSoapBindingRequest 
*)parameters delegate:(id<BDSKSoapBindingOperationDelegate>)delegate;
 @end
 
-@interface BDSKSoapBindingOperation : NSOperation {
+@interface BDSKSoapBindingOperation : NSObject {
        BDSKSoapBinding *binding;
        NSDictionary *bodyElements;
        NSDictionary *responseClasses;
@@ -60,6 +60,8 @@
 @property (nonatomic, retain) BDSKDownload *download;
 - (id)initWithBinding:(BDSKSoapBinding *)aBinding 
delegate:(id<BDSKSoapBindingOperationDelegate>)aDelegate soapAction:(NSString 
*)aSoapAction bodyElements:(NSDictionary *)aBodyElements 
responseClasses:(NSDictionary *)aResponseClasses;
 - (id)initWithBinding:(BDSKSoapBinding *)aBinding 
delegate:(id<BDSKSoapBindingOperationDelegate>)aDelegate 
bodyElements:(NSDictionary *)aBodyElements responseClasses:(NSDictionary 
*)aResponseClasses;
+- (void)start;
+- (void)cancel;
 @end
 
 @interface BDSKSoapBindingResponse : NSObject {

Modified: trunk/bibdesk/BDSKSoapBinding.m
===================================================================
--- trunk/bibdesk/BDSKSoapBinding.m     2023-03-28 17:24:21 UTC (rev 28195)
+++ trunk/bibdesk/BDSKSoapBinding.m     2023-03-28 17:33:29 UTC (rev 28196)
@@ -202,7 +202,7 @@
 {
        return [self initWithBinding:aBinding delegate:aDelegate soapAction:@"" 
bodyElements:aBodyElements responseClasses:aResponseClasses];
 }
-- (void)main
+- (void)start
 {
        [response autorelease];
        response = [BDSKSoapBindingResponse new];
@@ -217,8 +217,6 @@
 }
 - (void)cancel
 {
-    [super cancel];
-    
     [self.download cancel];
 }
 - (void)downloader:(BDSKDownloader *)downloader download:(BDSKDownload 
*)aDownload didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge 
completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition, 
NSURLCredential *))completionHandler

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to