Path: blob/master/yabause/src/cocoa/YabausePrefsController.h
2 views
/* Copyright 2010-2011 Lawrence Sebald12This file is part of Yabause.34Yabause is free software; you can redistribute it and/or modify5it under the terms of the GNU General Public License as published by6the Free Software Foundation; either version 2 of the License, or7(at your option) any later version.89Yabause is distributed in the hope that it will be useful,10but WITHOUT ANY WARRANTY; without even the implied warranty of11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the12GNU General Public License for more details.1314You should have received a copy of the GNU General Public License15along with Yabause; if not, write to the Free Software16Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA17*/1819#ifndef YabausePrefsController_h20#define YabausePrefsController_h2122#import <Cocoa/Cocoa.h>2324@interface YabausePrefsController : NSObject {25IBOutlet NSTextField *biosPath;26IBOutlet NSTextField *bramPath;27IBOutlet NSButton *cartBrowse;28IBOutlet NSTextField *cartPath;29IBOutlet NSPopUpButton *cartType;30IBOutlet NSButton *emulateBios;31IBOutlet NSTextField *mpegPath;32IBOutlet NSPopUpButton *region;33IBOutlet NSPopUpButton *soundCore;34IBOutlet NSPopUpButton *videoCore;35IBOutlet NSPanel *prefsPane;36IBOutlet NSPanel *buttonAssignment;37IBOutlet NSTextField *buttonBox;3839int _cartType;40int _region;41int _soundCore;42int _videoCore;4344NSUserDefaults *_prefs;45}4647- (void)awakeFromNib;48- (void)dealloc;4950/* NSTextField delegate methods */51- (void)controlTextDidEndEditing:(NSNotification *)notification;5253- (IBAction)cartSelected:(id)sender;54- (IBAction)regionSelected:(id)sender;55- (IBAction)soundCoreSelected:(id)sender;56- (IBAction)videoCoreSelected:(id)sender;57- (IBAction)biosBrowse:(id)sender;58- (IBAction)mpegBrowse:(id)sender;59- (IBAction)bramBrowse:(id)sender;60- (IBAction)cartBrowse:(id)sender;61- (IBAction)biosToggle:(id)sender;62- (IBAction)buttonSelect:(id)sender;6364- (IBAction)buttonSetOk:(id)sender;65- (IBAction)buttonSetCancel:(id)sender;6667- (int)cartType;68- (int)region;69- (int)soundCore;70- (int)videoCore;71- (NSString *)biosPath;72- (BOOL)emulateBios;73- (NSString *)mpegPath;74- (NSString *)bramPath;75- (NSString *)cartPath;7677@end7879#endif /* !YabausePrefsController_h */808182