mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
Replaced deprecated NSURLDownload with NSURLSessionDownloadTask. (#4308)
This commit is contained in:
@@ -26,7 +26,7 @@ typedef NS_ENUM(unsigned int, addType) { //
|
||||
};
|
||||
|
||||
@interface Controller
|
||||
: NSObject<NSApplicationDelegate, NSURLDownloadDelegate, NSUserNotificationCenterDelegate, NSPopoverDelegate, NSSharingServiceDelegate, NSSharingServicePickerDelegate, NSSoundDelegate, NSToolbarDelegate, NSWindowDelegate, QLPreviewPanelDataSource, QLPreviewPanelDelegate, VDKQueueDelegate, SUUpdaterDelegate>
|
||||
: NSObject<NSApplicationDelegate, NSUserNotificationCenterDelegate, NSPopoverDelegate, NSSharingServiceDelegate, NSSharingServicePickerDelegate, NSSoundDelegate, NSToolbarDelegate, NSWindowDelegate, QLPreviewPanelDataSource, QLPreviewPanelDelegate, VDKQueueDelegate, SUUpdaterDelegate>
|
||||
|
||||
- (void)openFiles:(NSArray<NSString*>*)filenames addType:(addType)type forcePath:(NSString*)path;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user