2022-01-20 18:27:56 +00:00
|
|
|
// This file Copyright © 2010-2022 Transmission authors and contributors.
|
|
|
|
// It may be used under the MIT (SPDX: MIT) license.
|
|
|
|
// License text can be found in the licenses/ folder.
|
2010-04-12 00:55:31 +00:00
|
|
|
|
2022-06-29 00:15:52 +00:00
|
|
|
#import <AppKit/AppKit.h>
|
2018-09-30 10:37:30 +00:00
|
|
|
|
2010-04-12 00:55:31 +00:00
|
|
|
@class Controller;
|
|
|
|
@class Torrent;
|
|
|
|
|
|
|
|
@interface AddMagnetWindowController : NSWindowController
|
|
|
|
|
2021-08-15 09:41:48 +00:00
|
|
|
@property(nonatomic, readonly) Torrent* torrent;
|
2010-04-12 00:55:31 +00:00
|
|
|
|
2022-02-22 16:04:20 +00:00
|
|
|
- (instancetype)initWithTorrent:(Torrent*)torrent destination:(NSString*)path controller:(Controller*)controller;
|
|
|
|
|
2022-11-15 16:50:16 +00:00
|
|
|
- (IBAction)setDestination:(id)sender;
|
2010-04-12 00:55:31 +00:00
|
|
|
|
2022-11-15 16:50:16 +00:00
|
|
|
- (IBAction)add:(id)sender;
|
|
|
|
- (IBAction)cancelAdd:(id)sender;
|
2010-04-12 00:55:31 +00:00
|
|
|
|
2022-11-15 16:50:16 +00:00
|
|
|
- (IBAction)changePriority:(id)sender;
|
2010-04-12 00:55:31 +00:00
|
|
|
|
2021-08-15 09:41:48 +00:00
|
|
|
- (void)updateGroupMenu:(NSNotification*)notification;
|
2010-04-12 00:55:31 +00:00
|
|
|
|
|
|
|
@end
|