From e68904da2ee403030e454bad73cd8dcfe6d3715c Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Sun, 3 Mar 2013 00:39:53 +0000 Subject: Apply patch 13980, with fixes to get it working properly. This allows a cheat interface for OS X. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@83306 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/CheatController.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 macosx/CheatController.h (limited to 'macosx/CheatController.h') diff --git a/macosx/CheatController.h b/macosx/CheatController.h new file mode 100644 index 00000000..671f028d --- /dev/null +++ b/macosx/CheatController.h @@ -0,0 +1,21 @@ +// +// CheatController.h +// Pcsxr +// + +#import + +@interface CheatController : NSWindowController +{ + IBOutlet NSTableView *cheatView; +} + +-(IBAction)SaveCheats:(id)sender; +-(IBAction)LoadCheats:(id)sender; +-(IBAction)clear:(id)sender; +-(IBAction)close:(id)sender; + +-(NSInteger)numberOfRowsInTableView:(NSTableView *)view; +-(id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)col row:(NSInteger)idx; +-(void)tableView:(NSTableView *)tableView setObjectValue:(id)object forTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row; +@end -- cgit v1.2.3