summaryrefslogtreecommitdiff
path: root/macosx/ConfigurationController.h
blob: dea18c1d2182bcbe79b130f3411ef100dd720555 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/* ConfigurationController */

#import <Cocoa/Cocoa.h>
#import "PluginController.h"
#import "HotkeyController.h"
#import "PluginList.h"

extern NSString *const memChangeNotifier;
extern NSString *const memCardChangeNumberKey;

@class PcsxrMemCardController;

@interface ConfigurationController : NSWindowController
{
	IBOutlet PluginController *cdromPlugin;
	IBOutlet PluginController *graphicsPlugin;
	IBOutlet PluginController *padPlugin;
	IBOutlet PluginController *soundPlugin;
	IBOutlet PluginController *netPlugin;
	IBOutlet PluginController *sio1Plugin;
	
	IBOutlet PcsxrMemCardController *memCardEdit;

	IBOutlet id noXaAudioCell;
	IBOutlet id sioIrqAlwaysCell;
	IBOutlet id bwMdecCell;
	IBOutlet id autoVTypeCell;
	IBOutlet id vTypePALCell;
	IBOutlet id noCDAudioCell;
	IBOutlet id usesHleCell;
	IBOutlet id usesDynarecCell;
	IBOutlet id consoleOutputCell;
	IBOutlet id spuIrqAlwaysCell;
	IBOutlet id rCountFixCell;
	IBOutlet id vSyncWAFixCell;
	IBOutlet id noFastBootCell;
	IBOutlet id enableNetPlayCell;
	IBOutlet id widescreen;
	
	// Hotkeys
	IBOutlet HotkeyController *hkController;
	IBOutlet NSTabViewItem *hkTab;	
	
	NSMutableDictionary *checkBoxDefaults;
}
- (IBAction)setCheckbox:(id)sender;
- (IBAction)setCheckboxInverse:(id)sender;
- (IBAction)setVideoType:(id)sender;

- (NSString *)keyForSender:(id)sender;
+ (void)setMemoryCard:(NSInteger)theCard toPath:(NSString *)theFile;
+ (void)setMemoryCard:(NSInteger)theCard toURL:(NSURL *)theURL;

+ (void)mcdNewClicked:(id)sender;
+ (void)mcdChangeClicked:(id)sender;

- (void)tabView:(NSTabView *)tabView didSelectTabViewItem:(NSTabViewItem *)tabViewItem;

@end