summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--macosx/PcsxrMemoryObject.h22
-rw-r--r--macosx/PcsxrMemoryObject.m2
2 files changed, 14 insertions, 10 deletions
diff --git a/macosx/PcsxrMemoryObject.h b/macosx/PcsxrMemoryObject.h
index 358acf87..413500ab 100644
--- a/macosx/PcsxrMemoryObject.h
+++ b/macosx/PcsxrMemoryObject.h
@@ -6,10 +6,12 @@
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
-#import <Foundation/NSString.h>
-#import <AppKit/NSImage.h>
+#import <Foundation/NSObject.h>
#include "sio.h"
+@class NSImage;
+@class NSString;
+
@interface PcsxrMemoryObject : NSObject
{
NSString *englishName;
@@ -25,14 +27,14 @@
- (id)initWithMcdBlock:(McdBlock *)infoBlock;
-@property(copy, readwrite) NSString *englishName;
-@property(copy, readwrite) NSString *sjisName;
-@property(copy, readwrite) NSString *memName;
-@property(copy, readwrite) NSString *memID;
-@property(retain, readwrite) NSImage *memImage;
-@property(readwrite) int memIconCount;
-@property(readwrite, getter = isNotDeleted) BOOL notDeleted;
-@property(readwrite) unsigned char memFlags;
+@property(readonly) NSString *englishName;
+@property(readonly) NSString *sjisName;
+@property(readonly) NSString *memName;
+@property(readonly) NSString *memID;
+@property(readonly) NSImage *memImage;
+@property(readonly) int memIconCount;
+@property(readonly, getter = isNotDeleted) BOOL notDeleted;
+@property(readonly) unsigned char memFlags;
@end
diff --git a/macosx/PcsxrMemoryObject.m b/macosx/PcsxrMemoryObject.m
index fcaad514..3cbb04b4 100644
--- a/macosx/PcsxrMemoryObject.m
+++ b/macosx/PcsxrMemoryObject.m
@@ -7,7 +7,9 @@
//
#import "PcsxrMemoryObject.h"
+#import <Foundation/NSString.h>
#import <AppKit/NSColor.h>
+#import <AppKit/NSImage.h>
@implementation PcsxrMemoryObject