2002-07-29 18:36:35 -03:00
|
|
|
/* PreferencesWindowController */
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
|
|
#import "FileSettings.h"
|
|
|
|
|
|
|
|
@interface PreferencesWindowController : NSWindowController <FileSettingsSource>
|
|
|
|
{
|
|
|
|
IBOutlet NSPopUpButton *filetype;
|
2004-07-16 09:36:02 -03:00
|
|
|
IBOutlet NSComboBox *interpreter;
|
2003-02-17 11:40:00 -04:00
|
|
|
IBOutlet NSButton *honourhashbang;
|
2002-07-29 18:36:35 -03:00
|
|
|
IBOutlet NSButton *debug;
|
|
|
|
IBOutlet NSButton *verbose;
|
|
|
|
IBOutlet NSButton *inspect;
|
|
|
|
IBOutlet NSButton *optimize;
|
|
|
|
IBOutlet NSButton *nosite;
|
|
|
|
IBOutlet NSButton *tabs;
|
|
|
|
IBOutlet NSTextField *others;
|
|
|
|
IBOutlet NSButton *with_terminal;
|
|
|
|
IBOutlet NSTextField *commandline;
|
|
|
|
|
|
|
|
FileSettings *settings;
|
|
|
|
}
|
|
|
|
|
|
|
|
+ getPreferencesWindow;
|
|
|
|
|
|
|
|
- (IBAction)do_reset:(id)sender;
|
|
|
|
- (IBAction)do_apply:(id)sender;
|
|
|
|
- (IBAction)do_filetype:(id)sender;
|
|
|
|
|
|
|
|
- (void)controlTextDidChange:(NSNotification *)aNotification;
|
|
|
|
|
2002-12-26 18:10:53 -04:00
|
|
|
- (unsigned int)comboBox:(NSComboBox *)aComboBox indexOfItemWithStringValue:(NSString *)aString;
|
|
|
|
- (id)comboBox:(NSComboBox *)aComboBox objectValueForItemAtIndex:(int)index;
|
|
|
|
- (int)numberOfItemsInComboBox:(NSComboBox *)aComboBox;
|
|
|
|
|
|
|
|
|
2002-07-29 18:36:35 -03:00
|
|
|
@end
|