summaryrefslogtreecommitdiff
path: root/macosx/ConfigurationController.h
blob: 87c68b2f8ef84754631037be37f957267a1ca522 (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
/* ConfigurationController */

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

extern NSString *memChangeNotifier;

@class PcsxrMemCardController;

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

	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 NSTextField *mcd1Label;
	IBOutlet NSTextField *mcd2Label;

	PcsxrMemCardController *memCardEdit;
	
	NSMutableDictionary *checkBoxDefaults;
}
- (IBAction)setCheckbox:(id)sender;
- (IBAction)setCheckboxInverse:(id)sender;
- (IBAction)setVideoType:(id)sender;
- (IBAction)mcdChangeClicked:(id)sender;
- (IBAction)mcdNewClicked:(id)sender;
- (IBAction)mcdEditClicked:(id)sender;
- (BOOL)memoryCardWindowIsVisible;

- (NSString *)keyForSender:(id)sender;
+ (void)setMemoryCard:(int)theCard toPath:(NSString *)theFile;

@end