ample/Ample/DownloadWindowController.h

35 lines
695 B
C
Raw Normal View History

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
@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;
+(instancetype)sharedInstance;
2020-09-03 04:15:50 +00:00
@end
@interface DownloadWindowController (URL) <NSURLSessionTaskDelegate, NSURLSessionDownloadDelegate>
@end
@interface DownloadWindowController (Menu) <NSMenuDelegate, NSMenuItemValidation>
@end
2020-09-03 04:15:50 +00:00
NS_ASSUME_NONNULL_END