1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 17:17:31 +00:00

add variables corresponding to properties in FileRenameSheetController

This commit is contained in:
Mitchell Livingston 2013-01-26 20:05:06 +00:00
parent 50d212bf88
commit 1185b618ff

View file

@ -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);