summaryrefslogtreecommitdiff
path: root/macosx/CheatController.h
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-08-24 19:44:48 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-08-24 19:44:48 +0000
commit2a2790470d2ab7e0e22021e9b1774536546b1b4e (patch)
tree02de3f051dca12a63637f56ec0c60a83819b5ad6 /macosx/CheatController.h
parent8b64ca8414e1dcf56b1d3d3a481090e551499445 (diff)
downloadpcsxr-2a2790470d2ab7e0e22021e9b1774536546b1b4e.tar.gz
OS X:
Replace CFStringCreateByCombiningStrings with NSArray's componentsJoinedByString:. Moving some class interfaces out of CheatController.h to CheatController.m git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86897 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/CheatController.h')
-rw-r--r--macosx/CheatController.h33
1 files changed, 2 insertions, 31 deletions
diff --git a/macosx/CheatController.h b/macosx/CheatController.h
index 5ac56e93..e581886a 100644
--- a/macosx/CheatController.h
+++ b/macosx/CheatController.h
@@ -5,38 +5,9 @@
#import <Cocoa/Cocoa.h>
#import "ARCBridge.h"
-#include "psxcommon.h"
-#include "cheat.h"
@class PcsxrHexadecimalFormatter;
-@interface PcsxrCheatTempObject : NSObject <NSCopying>
-{
- uint32_t address;
- uint16_t value;
-}
-@property (readwrite) uint32_t address;
-@property (readwrite, arcweak) NSNumber* addressNS;
-@property (readwrite) uint16_t value;
-@property (readwrite, arcweak) NSNumber* valueNS;
-
-- (id)initWithAddress:(uint32_t)add value:(uint16_t)val;
-- (id)initWithCheatCode:(CheatCode *)theCheat;
-@end
-
-@interface PcsxrCheatTemp : NSObject
-{
- NSMutableArray *cheatValues;
- NSString *cheatName;
- BOOL enabled;
-}
-@property (readwrite, retain) NSMutableArray *cheatValues;
-@property (readwrite, retain, nonatomic) NSString *cheatName;
-@property (readwrite, getter = isEnabled) BOOL enabled;
-
-- (id)initWithCheat:(Cheat *)theCheat;
-@end
-
@interface CheatController : NSWindowController <NSWindowDelegate, NSTableViewDelegate>
{
IBOutlet NSTableView *cheatView;
@@ -48,8 +19,8 @@
NSMutableArray *tempCheatCodes;
NSMutableArray *cheats;
}
-@property (readwrite, retain) NSMutableArray *tempCheatCodes;
-@property (readwrite, retain) NSMutableArray *cheats;
+@property (readwrite, arcretain) NSMutableArray *tempCheatCodes;
+@property (readwrite, arcretain) NSMutableArray *cheats;
- (void)refresh;