Files
Sparkle/PersistentDownloader/SUPersistentDownloaderProtocol.h
T

25 lines
675 B
Objective-C

//
// SUPersistentDownloaderProtocol.h
// PersistentDownloader
//
// Created by Mayur Pawashe on 4/1/16.
// Copyright © 2016 Sparkle Project. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@class SUURLRequest;
// 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 SUPersistentDownloaderProtocol
- (void)startDownloadWithRequest:(SUURLRequest *)request bundleIdentifier:(NSString *)bundleIdentifier desiredFilename:(NSString *)desiredFilename;
- (void)cleanupWithCompletion:(void (^)(void))completionBlock;
@end
NS_ASSUME_NONNULL_END