mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
28 lines
660 B
Objective-C
28 lines
660 B
Objective-C
//
|
|
// SUPersistentDownloaderDelegate.h
|
|
// Sparkle
|
|
//
|
|
// Created by Mayur Pawashe on 4/1/16.
|
|
// Copyright © 2016 Sparkle Project. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@protocol SUPersistentDownloaderDelegate <NSObject>
|
|
|
|
- (void)downloaderDidSetDestinationName:(NSString *)destinationName temporaryDirectory:(NSString *)temporaryDirectory;
|
|
|
|
- (void)downloaderDidReceiveExpectedContentLength:(int64_t)expectedContentLength;
|
|
|
|
- (void)downloaderDidReceiveDataOfLength:(NSUInteger)length;
|
|
|
|
- (void)downloaderDidFinishDownloading;
|
|
|
|
- (void)downloaderDidFailWithError:(NSError *)error;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|