From 97bb0560b9d2e2ef44e86bde2d52cf9093b0c0da Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Sat, 29 Mar 2014 02:50:35 +0000 Subject: OS X: Refactoring. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@89712 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/CheatController.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'macosx/CheatController.h') diff --git a/macosx/CheatController.h b/macosx/CheatController.h index fc53129c..c56f2a68 100644 --- a/macosx/CheatController.h +++ b/macosx/CheatController.h @@ -4,8 +4,25 @@ // #import +#import "PcsxrHexadecimalFormatter.h" +#include "psxcommon.h" +#include "cheat.h" -@class PcsxrHexadecimalFormatter; +@interface PcsxrCheatTempObject : NSObject +@property (readwrite) uint32_t cheatAddress; +@property (readwrite) uint16_t cheatValue; + +- (instancetype)initWithAddress:(uint32_t)add value:(uint16_t)val; +- (instancetype)initWithCheatCode:(CheatCode *)theCheat; +@end + +@interface PcsxrCheatTemp : NSObject +@property (readwrite, strong) NSMutableArray *cheatValues; +@property (readwrite, strong) NSString *cheatName; +@property (readwrite, getter = isEnabled) BOOL enabled; + +- (instancetype)initWithCheat:(Cheat *)theCheat; +@end @interface CheatController : NSWindowController -- cgit v1.2.3