diff options
Diffstat (limited to 'macosx/plugins/DFNet/macsrc')
| -rwxr-xr-x | macosx/plugins/DFNet/macsrc/PluginConfigController.h | 9 | ||||
| -rwxr-xr-x | macosx/plugins/DFNet/macsrc/PluginConfigController.m | 3 |
2 files changed, 7 insertions, 5 deletions
diff --git a/macosx/plugins/DFNet/macsrc/PluginConfigController.h b/macosx/plugins/DFNet/macsrc/PluginConfigController.h index f0986e76..bb78b1a1 100755 --- a/macosx/plugins/DFNet/macsrc/PluginConfigController.h +++ b/macosx/plugins/DFNet/macsrc/PluginConfigController.h @@ -3,11 +3,10 @@ #import <Cocoa/Cocoa.h> @interface PluginConfigController : NSWindowController -{ - IBOutlet NSTextField *ipAddress; - IBOutlet NSTextField *portNum; - IBOutlet NSTextField *playerNum; -} +@property (weak) IBOutlet NSTextField *ipAddress; +@property (weak) IBOutlet NSTextField *portNum; +@property (weak) IBOutlet NSTextField *playerNum; + - (IBAction)cancel:(id)sender; - (IBAction)ok:(id)sender; diff --git a/macosx/plugins/DFNet/macsrc/PluginConfigController.m b/macosx/plugins/DFNet/macsrc/PluginConfigController.m index 34b9ca6d..68229741 100755 --- a/macosx/plugins/DFNet/macsrc/PluginConfigController.m +++ b/macosx/plugins/DFNet/macsrc/PluginConfigController.m @@ -109,6 +109,9 @@ void ReadConfig() } @implementation PluginConfigController +@synthesize ipAddress; +@synthesize portNum; +@synthesize playerNum; - (IBAction)cancel:(id)sender { |
