diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-03-03 00:39:53 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-03-03 00:39:53 +0000 |
| commit | e68904da2ee403030e454bad73cd8dcfe6d3715c (patch) | |
| tree | 048ba3bb5bdf0b6a956826caaa0c9e5dfb0681ba /macosx/CheatController.h | |
| parent | f9a250d60e621b63cc77d432f42ae700ff3e249b (diff) | |
| download | pcsxr-e68904da2ee403030e454bad73cd8dcfe6d3715c.tar.gz | |
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
Diffstat (limited to 'macosx/CheatController.h')
| -rw-r--r-- | macosx/CheatController.h | 21 |
1 files changed, 21 insertions, 0 deletions
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 <Cocoa/Cocoa.h> + +@interface CheatController : NSWindowController <NSWindowDelegate> +{ + 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 |
