2020-09-03 04:15:50 +00:00
|
|
|
//
|
|
|
|
// DownloadWindowController.h
|
|
|
|
// Ample
|
|
|
|
//
|
|
|
|
// Created by Kelvin Sherlock on 9/2/2020.
|
|
|
|
// Copyright © 2020 Kelvin Sherlock. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
2020-09-26 00:46:25 +00:00
|
|
|
@interface DownloadWindowController : NSWindowController <NSWindowRestoration>
|
2020-09-03 04:15:50 +00:00
|
|
|
|
|
|
|
@property NSString *currentROM;
|
|
|
|
@property NSInteger currentCount;
|
|
|
|
@property NSInteger totalCount;
|
|
|
|
@property NSInteger errorCount;
|
|
|
|
@property BOOL active;
|
|
|
|
|
2020-09-26 00:46:25 +00:00
|
|
|
+(instancetype)sharedInstance;
|
|
|
|
|
|
|
|
|
2020-09-03 04:15:50 +00:00
|
|
|
@end
|
|
|
|
|
2020-09-04 02:37:27 +00:00
|
|
|
@interface DownloadWindowController (URL) <NSURLSessionTaskDelegate, NSURLSessionDownloadDelegate>
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
|
|
@interface DownloadWindowController (Menu) <NSMenuDelegate, NSMenuItemValidation>
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
2020-09-03 04:15:50 +00:00
|
|
|
NS_ASSUME_NONNULL_END
|