diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-03-29 02:50:35 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-03-29 02:50:35 +0000 |
| commit | 97bb0560b9d2e2ef44e86bde2d52cf9093b0c0da (patch) | |
| tree | de8ecfba4234fb711f12064b1f4f6fa174345ec3 /macosx/CheatController.h | |
| parent | 4b451d014b0e8dbbe71c61eee19445b567a2e581 (diff) | |
| download | pcsxr-97bb0560b9d2e2ef44e86bde2d52cf9093b0c0da.tar.gz | |
OS X: Refactoring.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@89712 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/CheatController.h')
| -rw-r--r-- | macosx/CheatController.h | 19 |
1 files changed, 18 insertions, 1 deletions
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 <Cocoa/Cocoa.h> +#import "PcsxrHexadecimalFormatter.h" +#include "psxcommon.h" +#include "cheat.h" -@class PcsxrHexadecimalFormatter; +@interface PcsxrCheatTempObject : NSObject <NSCopying> +@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 <NSWindowDelegate, NSTableViewDelegate> |
