ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/MacOSX/PrefsEditor/PrefsEditor.h
Revision: 1.1
Committed: 2007-01-24T03:35:50Z (17 years, 8 months ago) by asvitkine
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Log Message:
OSX Cocoa PrefsEditor - code and Xcode project

File Contents

# User Rev Content
1 asvitkine 1.1 /*
2     * PrefsEditor.h - Preferences editing in Cocoa on Mac OS X
3     *
4     * Copyright (C) 2006-2007 Alexei Svitkine
5     *
6     * This program is free software; you can redistribute it and/or modify
7     * it under the terms of the GNU General Public License as published by
8     * the Free Software Foundation; either version 2 of the License, or
9     * (at your option) any later version.
10     *
11     * This program is distributed in the hope that it will be useful,
12     * but WITHOUT ANY WARRANTY; without even the implied warranty of
13     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14     * GNU General Public License for more details.
15     *
16     * You should have received a copy of the GNU General Public License
17     * along with this program; if not, write to the Free Software
18     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19     */
20    
21     #import <Cocoa/Cocoa.h>
22    
23     @interface PrefsEditor : NSObject
24     {
25     IBOutlet NSWindow *window;
26     IBOutlet NSView *diskSaveSize;
27     IBOutlet NSTextField *diskSaveSizeField;
28     NSMutableArray *diskArray;
29    
30     // Setup
31     IBOutlet NSTableView *disks;
32     IBOutlet NSComboBox *bootFrom;
33     IBOutlet NSButton *disableCdrom;
34     IBOutlet NSTextField *ramSize;
35     IBOutlet NSStepper *ramSizeStepper;
36     IBOutlet NSTextField *romFile;
37     IBOutlet NSTextField *unixRoot;
38     // Audio/Video
39     IBOutlet NSPopUpButton *videoType;
40     IBOutlet NSPopUpButton *refreshRate;
41     IBOutlet NSComboBox *width;
42     IBOutlet NSComboBox *height;
43     IBOutlet NSButton *qdAccel;
44     IBOutlet NSButton *disableSound;
45     IBOutlet NSTextField *outDevice;
46     IBOutlet NSTextField *mixDevice;
47     // Keyboard/Mouse
48     IBOutlet NSButton *useRawKeyCodes;
49     IBOutlet NSTextField *rawKeyCodes;
50     IBOutlet NSPopUpButton *mouseWheel;
51     IBOutlet NSTextField *scrollLines;
52     IBOutlet NSStepper *scrollLinesStepper;
53     // CPU/Misc
54     IBOutlet NSButton *ignoreIllegalMemoryAccesses;
55     IBOutlet NSButton *dontUseCPUWhenIdle;
56     IBOutlet NSButton *enableJIT;
57     IBOutlet NSButton *enable68kDREmulator;
58     IBOutlet NSTextField *modemPort;
59     IBOutlet NSTextField *printerPort;
60     IBOutlet NSTextField *ethernetInterface;
61     }
62     - (id) init;
63     - (IBAction) addDisk:(id)sender;
64     - (IBAction) removeDisk:(id)sender;
65     - (IBAction) createDisk:(id)sender;
66     - (IBAction) useRawKeyCodesClicked:(id)sender;
67     - (IBAction) browseForROMFileClicked:(id)sender;
68     - (void) windowWillClose: (NSNotification *) aNotification;
69     - (void) dealloc;
70     @end