2023-02-11 20:49:42 +00:00
|
|
|
// This file Copyright © 2007-2023 Transmission authors and contributors.
|
2022-01-20 18:27:56 +00:00
|
|
|
// It may be used under the MIT (SPDX: MIT) license.
|
|
|
|
// License text can be found in the licenses/ folder.
|
2007-09-16 01:02:06 +00:00
|
|
|
|
2022-06-29 00:15:52 +00:00
|
|
|
#import <AppKit/AppKit.h>
|
2018-09-30 10:37:30 +00:00
|
|
|
|
|
|
|
#include <libtransmission/transmission.h>
|
2007-09-16 01:02:06 +00:00
|
|
|
|
|
|
|
@interface CreatorWindowController : NSWindowController
|
|
|
|
|
2021-08-15 09:41:48 +00:00
|
|
|
+ (CreatorWindowController*)createTorrentFile:(tr_session*)handle;
|
|
|
|
+ (CreatorWindowController*)createTorrentFile:(tr_session*)handle forFile:(NSURL*)file;
|
2007-09-16 01:02:06 +00:00
|
|
|
|
2021-08-15 09:41:48 +00:00
|
|
|
- (instancetype)initWithHandle:(tr_session*)handle path:(NSURL*)path;
|
2007-09-16 01:02:06 +00:00
|
|
|
|
2021-08-15 09:41:48 +00:00
|
|
|
- (IBAction)setLocation:(id)sender;
|
|
|
|
- (IBAction)create:(id)sender;
|
|
|
|
- (IBAction)cancelCreateWindow:(id)sender;
|
|
|
|
- (IBAction)cancelCreateProgress:(id)sender;
|
2022-03-25 03:26:21 +00:00
|
|
|
- (IBAction)incrementOrDecrementPieceSize:(id)sender;
|
2021-08-15 09:41:48 +00:00
|
|
|
- (IBAction)addRemoveTracker:(id)sender;
|
2008-06-04 20:55:38 +00:00
|
|
|
|
2021-08-15 09:41:48 +00:00
|
|
|
- (void)copy:(id)sender;
|
|
|
|
- (void)paste:(id)sender;
|
2010-04-23 02:05:34 +00:00
|
|
|
|
2007-09-16 01:02:06 +00:00
|
|
|
@end
|