1 /* PreferencesWindowController */
2 
3 #import <Cocoa/Cocoa.h>
4 
5 #import "FileSettings.h"
6 
7 @interface PreferencesWindowController : NSWindowController <FileSettingsSource>
8 {
9     IBOutlet NSPopUpButton *filetype;
10     IBOutlet NSComboBox *interpreter;
11     IBOutlet NSButton *honourhashbang;
12     IBOutlet NSButton *debug;
13     IBOutlet NSButton *verbose;
14     IBOutlet NSButton *inspect;
15     IBOutlet NSButton *optimize;
16     IBOutlet NSButton *nosite;
17     IBOutlet NSButton *tabs;
18     IBOutlet NSTextField *others;
19     IBOutlet NSButton *with_terminal;
20     IBOutlet NSTextField *commandline;
21 
22     FileSettings *settings;
23 }
24 
25 + getPreferencesWindow;
26 
27 - (IBAction)do_reset:(id)sender;
28 - (IBAction)do_apply:(id)sender;
29 - (IBAction)do_filetype:(id)sender;
30 
31 - (void)controlTextDidChange:(NSNotification *)aNotification;
32 
33 - (unsigned int)comboBox:(NSComboBox *)aComboBox indexOfItemWithStringValue:(NSString *)aString;
34 - (id)comboBox:(NSComboBox *)aComboBox objectValueForItemAtIndex:(int)index;
35 - (int)numberOfItemsInComboBox:(NSComboBox *)aComboBox;
36 
37 
38 @end
39