From a96ba176322566d9d15b51c714984affcdfc6355 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Mon, 10 Nov 2014 20:22:50 +0000 Subject: OS X: make all ivars either be in the implementation block, or converted to Objective C 2.0 properties. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@92227 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/DFNet/macsrc/PluginConfigController.h | 9 ++++----- macosx/plugins/DFNet/macsrc/PluginConfigController.m | 3 +++ 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'macosx/plugins/DFNet') 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 @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 { -- cgit v1.2.3