transmission/macosx/CreatorWindowController.h

27 lines
790 B
C
Raw Normal View History

// This file Copyright © 2007-2022 Transmission authors and contributors.
// 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
#import <Cocoa/Cocoa.h>
#include <libtransmission/transmission.h>
2007-09-16 01:02:06 +00:00
@interface CreatorWindowController : NSWindowController
+ (CreatorWindowController*)createTorrentFile:(tr_session*)handle;
+ (CreatorWindowController*)createTorrentFile:(tr_session*)handle forFile:(NSURL*)file;
2007-09-16 01:02:06 +00:00
- (instancetype)initWithHandle:(tr_session*)handle path:(NSURL*)path;
2007-09-16 01:02:06 +00:00
- (IBAction)setLocation:(id)sender;
- (IBAction)create:(id)sender;
- (IBAction)cancelCreateWindow:(id)sender;
- (IBAction)cancelCreateProgress:(id)sender;
2007-09-16 01:02:06 +00:00
- (IBAction)addRemoveTracker:(id)sender;
- (void)copy:(id)sender;
- (void)paste:(id)sender;
2007-09-16 01:02:06 +00:00
@end