25 lines
673 B
Objective-C
25 lines
673 B
Objective-C
// This file Copyright © 2008-2022 Transmission authors and contributors.
|
|
// It may be used under the MIT (SPDX: MIT) license.
|
|
// License text can be found in the licenses/ folder.
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#include <libtransmission/transmission.h>
|
|
|
|
@class PrefsController;
|
|
|
|
@interface BlocklistDownloaderViewController : NSObject
|
|
|
|
+ (void)downloadWithPrefsController:(PrefsController*)prefsController;
|
|
|
|
- (void)cancelDownload:(id)sender;
|
|
|
|
- (void)setStatusStarting;
|
|
- (void)setStatusProgressForCurrentSize:(NSUInteger)currentSize expectedSize:(long long)expectedSize;
|
|
- (void)setStatusProcessing;
|
|
|
|
- (void)setFinished;
|
|
- (void)setFailed:(NSString*)error;
|
|
|
|
@end
|