summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFNet
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-11-10 20:22:50 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-11-10 20:22:50 +0000
commita96ba176322566d9d15b51c714984affcdfc6355 (patch)
treefe6496196975b981955a580d0a0442c235037749 /macosx/plugins/DFNet
parent0f8e66e194b903763b6c580599eb47c11f154bdd (diff)
downloadpcsxr-a96ba176322566d9d15b51c714984affcdfc6355.tar.gz
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
Diffstat (limited to 'macosx/plugins/DFNet')
-rwxr-xr-xmacosx/plugins/DFNet/macsrc/PluginConfigController.h9
-rwxr-xr-xmacosx/plugins/DFNet/macsrc/PluginConfigController.m3
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
{