mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
add variables corresponding to properties in FileRenameSheetController
This commit is contained in:
parent
50d212bf88
commit
1185b618ff
1 changed files with 6 additions and 2 deletions
|
@ -12,7 +12,12 @@
|
||||||
|
|
||||||
typedef void (^CompletionBlock)(BOOL);
|
typedef void (^CompletionBlock)(BOOL);
|
||||||
|
|
||||||
@interface FileRenameSheetController ()
|
@interface FileRenameSheetController () {
|
||||||
|
#warning remove when 64-it
|
||||||
|
Torrent * _torrent;
|
||||||
|
FileListNode * _node;
|
||||||
|
CompletionBlock _completionHandler;
|
||||||
|
}
|
||||||
|
|
||||||
@property (nonatomic, retain) Torrent * torrent;
|
@property (nonatomic, retain) Torrent * torrent;
|
||||||
@property (nonatomic, retain) FileListNode * node;
|
@property (nonatomic, retain) FileListNode * node;
|
||||||
|
@ -42,7 +47,6 @@ typedef void (^CompletionBlock)(BOOL);
|
||||||
|
|
||||||
+ (void) presentSheetForFileListNode: (FileListNode *) node modalForWindow: (NSWindow *) window completionHandler: (void (^)(BOOL didRename)) completionHandler
|
+ (void) presentSheetForFileListNode: (FileListNode *) node modalForWindow: (NSWindow *) window completionHandler: (void (^)(BOOL didRename)) completionHandler
|
||||||
{
|
{
|
||||||
|
|
||||||
NSParameterAssert(node != nil);
|
NSParameterAssert(node != nil);
|
||||||
NSParameterAssert(window != nil);
|
NSParameterAssert(window != nil);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue