mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Only use the delegate now for communication via this protocol. This cleans up some inconsistency.
23 lines
641 B
Objective-C
23 lines
641 B
Objective-C
//
|
|
// SUUpdateDownloaderProtocol.h
|
|
// UpdateDownloader
|
|
//
|
|
// Created by Mayur Pawashe on 4/1/16.
|
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
// The protocol that this service will vend as its API. This header file will also need to be visible to the process hosting the service.
|
|
@protocol SUUpdateDownloaderProtocol
|
|
|
|
- (void)startDownloadWithRequest:(NSURLRequest *)request bundleIdentifier:(NSString *)bundleIdentifier desiredFilename:(NSString *)desiredFilename;
|
|
|
|
- (void)cleanupWithCompletion:(void (^)(void))completionBlock;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|