Upgrade to Sparkle 1.21.3.
[macgdbp.git] / Sparkle.framework / Versions / A / Headers / SPUDownloaderProtocol.h
1 //
2 // SPUDownloaderProtocol.h
3 // PersistentDownloader
4 //
5 // Created by Mayur Pawashe on 4/1/16.
6 // Copyright © 2016 Sparkle Project. All rights reserved.
7 //
8
9 #if __has_feature(modules)
10 @import Foundation;
11 #else
12 #import <Foundation/Foundation.h>
13 #endif
14
15 NS_ASSUME_NONNULL_BEGIN
16
17 @class SPUURLRequest;
18
19 // 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.
20 @protocol SPUDownloaderProtocol
21
22 - (void)startPersistentDownloadWithRequest:(SPUURLRequest *)request bundleIdentifier:(NSString *)bundleIdentifier desiredFilename:(NSString *)desiredFilename;
23
24 - (void)startTemporaryDownloadWithRequest:(SPUURLRequest *)request;
25
26 - (void)downloadDidFinish;
27
28 - (void)cleanup;
29
30 - (void)cancel;
31
32 @end
33
34 NS_ASSUME_NONNULL_END