2022-01-20 18:27:56 +00:00
|
|
|
// 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.
|
2008-08-31 19:47:11 +00:00
|
|
|
|
2022-06-29 00:15:52 +00:00
|
|
|
#import <Foundation/Foundation.h>
|
2018-09-30 10:37:30 +00:00
|
|
|
|
|
|
|
#include <libtransmission/transmission.h>
|
2008-08-31 19:47:11 +00:00
|
|
|
|
|
|
|
@class PrefsController;
|
|
|
|
|
|
|
|
@interface BlocklistDownloaderViewController : NSObject
|
|
|
|
|
2021-08-15 09:41:48 +00:00
|
|
|
+ (void)downloadWithPrefsController:(PrefsController*)prefsController;
|
2008-08-31 19:47:11 +00:00
|
|
|
|
2022-11-15 16:50:16 +00:00
|
|
|
- (IBAction)cancelDownload:(id)sender;
|
2008-08-31 19:47:11 +00:00
|
|
|
|
2021-08-15 09:41:48 +00:00
|
|
|
- (void)setStatusStarting;
|
|
|
|
- (void)setStatusProgressForCurrentSize:(NSUInteger)currentSize expectedSize:(long long)expectedSize;
|
|
|
|
- (void)setStatusProcessing;
|
2008-08-31 19:47:11 +00:00
|
|
|
|
2021-08-15 09:41:48 +00:00
|
|
|
- (void)setFinished;
|
|
|
|
- (void)setFailed:(NSString*)error;
|
2008-08-31 19:47:11 +00:00
|
|
|
|
|
|
|
@end
|