1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 17:17:31 +00:00
transmission/macosx/BlocklistDownloaderViewController.h

32 lines
863 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 <Cocoa/Cocoa.h>
#include <libtransmission/transmission.h>
@class PrefsController;
@interface BlocklistDownloaderViewController : NSObject
{
PrefsController* fPrefsController;
IBOutlet NSWindow* fStatusWindow;
IBOutlet NSProgressIndicator* fProgressBar;
IBOutlet NSTextField* fTextField;
IBOutlet NSButton* fButton;
}
+ (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