Changeset 13877


Ignore:
Timestamp:
Jan 26, 2013, 8:11:49 PM (8 years ago)
Author:
livings124
Message:

more variables corresponding to properties in FileRenameSheetController?

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/FileRenameSheetController.h

    r13828 r13877  
    1313
    1414@interface FileRenameSheetController : NSWindowController
     15{
     16    Torrent * _torrent;
     17    FileListNode * _node;
     18    void (^_completionHandler)(BOOL);
     19   
     20    IBOutlet NSTextField * _labelField;
     21    IBOutlet NSTextField * _inputField;
     22    IBOutlet NSButton * _renameButton;
     23    IBOutlet NSButton * _cancelButton;
     24}
    1525
    1626+ (void) presentSheetForTorrent: (Torrent *) torrent modalForWindow: (NSWindow *) window completionHandler: (void (^)(BOOL didRename)) completionHandler;
  • trunk/macosx/FileRenameSheetController.m

    r13876 r13877  
    1313typedef void (^CompletionBlock)(BOOL);
    1414
    15 @interface FileRenameSheetController () {
    16     #warning remove when 64-it
    17     Torrent * _torrent;
    18     FileListNode * _node;
    19     CompletionBlock _completionHandler;
    20 }
     15@interface FileRenameSheetController ()
    2116
    2217@property (nonatomic, retain) Torrent * torrent;
     
    3227@synthesize node = _node;
    3328@synthesize completionHandler = _completionHandler;
     29@synthesize labelField = _labelField;
     30@synthesize inputField = _inputField;
     31@synthesize renameButton = _renameButton;
     32@synthesize cancelButton = _cancelButton;
    3433
    3534+ (void) presentSheetForTorrent: (Torrent *) torrent modalForWindow: (NSWindow *) window completionHandler: (void (^)(BOOL didRename)) completionHandler
Note: See TracChangeset for help on using the changeset viewer.