mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
Use properties instead of ivars (#2453)
This commit is contained in:
@@ -4,23 +4,13 @@
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@class Controller;
|
||||
|
||||
@interface URLSheetWindowController : NSWindowController
|
||||
{
|
||||
IBOutlet NSTextField* fLabelField;
|
||||
IBOutlet NSTextField* fTextField;
|
||||
IBOutlet NSButton* fOpenButton;
|
||||
IBOutlet NSButton* fCancelButton;
|
||||
|
||||
Controller* fController;
|
||||
}
|
||||
@property(nonatomic, readonly) NSString* urlString;
|
||||
|
||||
- (instancetype)initWithController:(Controller*)controller;
|
||||
- (instancetype)init;
|
||||
|
||||
- (void)openURLEndSheet:(id)sender;
|
||||
- (void)openURLCancelEndSheet:(id)sender;
|
||||
|
||||
@property(nonatomic, readonly) NSString* urlString;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user