diff options
Diffstat (limited to 'macosx/Source/ConfigurationController.h')
| -rw-r--r-- | macosx/Source/ConfigurationController.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/macosx/Source/ConfigurationController.h b/macosx/Source/ConfigurationController.h new file mode 100644 index 00000000..4406a7a2 --- /dev/null +++ b/macosx/Source/ConfigurationController.h @@ -0,0 +1,57 @@ +/* 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 <NSWindowDelegate, NSTabViewDelegate> +{ + IBOutlet PluginController *cdromPlugin; + IBOutlet PluginController *graphicsPlugin; + IBOutlet PluginController *padPlugin; + IBOutlet PluginController *soundPlugin; + IBOutlet PluginController *netPlugin; + IBOutlet PluginController *sio1Plugin; + + IBOutlet PcsxrMemCardController *memCardEdit; + + // Hotkeys + IBOutlet HotkeyController *hkController; + IBOutlet NSTabViewItem *hkTab; +} + +@property (weak) IBOutlet NSButtonCell *noXaAudioCell; +@property (weak) IBOutlet NSButtonCell *sioIrqAlwaysCell; +@property (weak) IBOutlet NSButtonCell *bwMdecCell; +@property (weak) IBOutlet NSButtonCell *autoVTypeCell; +@property (weak) IBOutlet NSPopUpButton *vTypePALCell; +@property (weak) IBOutlet NSButtonCell *noCDAudioCell; +@property (weak) IBOutlet NSButtonCell *usesHleCell; +@property (weak) IBOutlet NSButtonCell *usesDynarecCell; +@property (weak) IBOutlet NSButtonCell *consoleOutputCell; +@property (weak) IBOutlet NSButtonCell *spuIrqAlwaysCell; +@property (weak) IBOutlet NSButtonCell *rCountFixCell; +@property (weak) IBOutlet NSButtonCell *vSyncWAFixCell; +@property (weak) IBOutlet NSButtonCell *noFastBootCell; +@property (weak) IBOutlet NSButtonCell *enableNetPlayCell; +@property (weak) IBOutlet NSButtonCell *widescreen; + +- (IBAction)setCheckbox:(id)sender; +- (IBAction)setCheckboxInverse:(id)sender; +- (IBAction)setVideoType:(id)sender; + ++ (void)setMemoryCard:(NSInteger)theCard toPath:(NSString *)theFile; ++ (void)setMemoryCard:(NSInteger)theCard toURL:(NSURL *)theURL; + +- (IBAction)mcdNewClicked:(id)sender; +- (IBAction)mcdChangeClicked:(id)sender; + +- (void)tabView:(NSTabView *)tabView didSelectTabViewItem:(NSTabViewItem *)tabViewItem; + +@end |
